Hi,
I am new to phocagallery and joomla so ..........
I have created phocagallery categories and menu links as a SuperAdministrator and I can see that the menu works ok and the upload form is available for the registered user - in this case my user login - at the front end. Also I have created a test category for all registered members and some have also tried to upload.
We have all failed. The upload seems to start and then halfway through it jumps to 'Done' but no image has uploaded (checked in the back gallery). I can only upload through Media Manager. I also cannot upload in the back end through the gallery.
Any idea what may be wrong?
klem
Front Page Upload form will not work
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front Page Upload form will not work
??? do you have enabled the FTP layer in your globla settings...
see which permissions do you have for phocagallery folder...
Jan
see which permissions do you have for phocagallery folder...
Jan
If you find Phoca extensions useful, please support the project
-
klem
- Phoca Newbie

- Posts: 9
- Joined: 30 Oct 2008, 23:38
Re: Front Page Upload form will not work
Hi Jan
Hope we're on to something here
I have Superadministrator permissions.
I go to global configuration... Server... and try to enable FTP under FTP Settings. It fails, I get this message in Red with No Entry sign
* JFTP::write: Bad response
* JFTP::delete: Bad response
* JFTP::write: Bad response
and this message in blue with ! sign
An Error has occurred! Unable to open configuration.php file to write!
and I get this with Error reporting set to "maximum"
Notice: Only variable references should be returned by reference in /hsphere/local/home/[our host name]/[our website URL]/libraries/joomla/factory.php on line 535
Note! The last message above also appears now at the top of the Main Page, the top of the Main Menu and the top of the User Menu
I tested other settings like SMTP authorisation and that saved ok.
klem
Hope we're on to something here
I have Superadministrator permissions.
I go to global configuration... Server... and try to enable FTP under FTP Settings. It fails, I get this message in Red with No Entry sign
* JFTP::write: Bad response
* JFTP::delete: Bad response
* JFTP::write: Bad response
and this message in blue with ! sign
An Error has occurred! Unable to open configuration.php file to write!
and I get this with Error reporting set to "maximum"
Notice: Only variable references should be returned by reference in /hsphere/local/home/[our host name]/[our website URL]/libraries/joomla/factory.php on line 535
Note! The last message above also appears now at the top of the Main Page, the top of the Main Menu and the top of the User Menu
I tested other settings like SMTP authorisation and that saved ok.
klem
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front Page Upload form will not work
hi, if you cannot use edit configuration file, try to download it and upload via FTP into the server (the ownership should be ok and you can change the settings then)... you need to enable ftp layer or change the folder permissions e.g. to 777 so you can write data into these folders...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
klem
- Phoca Newbie

- Posts: 9
- Joined: 30 Oct 2008, 23:38
Re: Front Page Upload form will not work
Thanks for the reply Jan,
I am trying to get our website ftp login for the website where I can get to the files in the back. Can you give me a link to where I can find the instructions for setting permissions in the back-files? (you said "change folder permissions e.g. to 777....", I assume I must do that in a configuration file right back on the website and not through the Phocagallery configuration menu?))
Also, how do I get rid of that message :
"Notice: Only variable references should be returned by reference in /hsphere/local/home/[our host name]/[our website URL]/libraries/joomla/factory.php on line 535"
which is now all over our site
see....
http://firebirds.2ndtaf.org.uk/newsite/
by the way here's my global configuration ion case I haven't set it up correctly:-
=====================================
Global Configuration
Font color ........ (don't think you need these)
Background color ..............
Background color (mouseover) ...........
Image background color ..............
Image Background Shadow ...........
Border color ..........
Border color (mouseover) ..............
Display Name Show
Display Detail Icon Show
Display Download Icon Show
Display Folder Icon Hide
Display random image as folder icon Yes
Display Back Button Yes
Display Categories Back Button Yes
Font Size of Name 10
Number of Characters in Name 15
Category Box Space 0
Detail Window Modal
Detail Window Background Color .......
Modal Box Overlay Color .........
Modal Box Overlay Opacity .............
Modal Box Border Color ...........
Modal Box Border Width ..........
Display Description Show
Font Size of Description 10
Font Color of Description .........
Description Height 16
Number of Columns 1
Display image beside the category name Show
Image size beside the category name Small + Shadow
Display Subcategories No
Display empty categories Yes
Display Subcategories on each page No
Hide Categories
Display Unaccessible Categories No
Slideshow Delay 3 sec
Slideshow Pause No
Slideshow Random No
Display Buttons Yes
Enable PicLens Yes
Start PicLens Button Yes
Phoca Gallery Width
Display VirtueMart Link No
Display Phoca Information Yes
Switch Image No
Switch Image Width 640
Switch Image Height 480
Display Title Input form (front upload) Yes
Display Description Input form (front upload) Yes
Maximum Upload Size (in bytes - front,admin upload) 3000000
Maximum Category Disk Space (in bytes - front upload) 20000000
Enable Flash Uploader (admin upload) Yes
Create Watermark No
X-Position of Watermark center
Y-Position of Watermark middle
Pagination Thumbnail Creation No
Clean Thumbnails Yes
Enable Thumbnails Creation Yes
Large Image Width 640
Large Image Height 480
Medium Image Width 100
Medium Image Height 100
Small Image Width 50
Small Image Height 50
Admin Modal Box Width 680
Admin Modal Box Height 520
Front Modal Box Width 1024
Front Modal Box Height 844
Front Popup Window Width 1024
Front Popup Window Height 844
Icon Format gif
=========================================
thanks
klem
I am trying to get our website ftp login for the website where I can get to the files in the back. Can you give me a link to where I can find the instructions for setting permissions in the back-files? (you said "change folder permissions e.g. to 777....", I assume I must do that in a configuration file right back on the website and not through the Phocagallery configuration menu?))
Also, how do I get rid of that message :
"Notice: Only variable references should be returned by reference in /hsphere/local/home/[our host name]/[our website URL]/libraries/joomla/factory.php on line 535"
which is now all over our site
see....
http://firebirds.2ndtaf.org.uk/newsite/
by the way here's my global configuration ion case I haven't set it up correctly:-
=====================================
Global Configuration
Font color ........ (don't think you need these)
Background color ..............
Background color (mouseover) ...........
Image background color ..............
Image Background Shadow ...........
Border color ..........
Border color (mouseover) ..............
Display Name Show
Display Detail Icon Show
Display Download Icon Show
Display Folder Icon Hide
Display random image as folder icon Yes
Display Back Button Yes
Display Categories Back Button Yes
Font Size of Name 10
Number of Characters in Name 15
Category Box Space 0
Detail Window Modal
Detail Window Background Color .......
Modal Box Overlay Color .........
Modal Box Overlay Opacity .............
Modal Box Border Color ...........
Modal Box Border Width ..........
Display Description Show
Font Size of Description 10
Font Color of Description .........
Description Height 16
Number of Columns 1
Display image beside the category name Show
Image size beside the category name Small + Shadow
Display Subcategories No
Display empty categories Yes
Display Subcategories on each page No
Hide Categories
Display Unaccessible Categories No
Slideshow Delay 3 sec
Slideshow Pause No
Slideshow Random No
Display Buttons Yes
Enable PicLens Yes
Start PicLens Button Yes
Phoca Gallery Width
Display VirtueMart Link No
Display Phoca Information Yes
Switch Image No
Switch Image Width 640
Switch Image Height 480
Display Title Input form (front upload) Yes
Display Description Input form (front upload) Yes
Maximum Upload Size (in bytes - front,admin upload) 3000000
Maximum Category Disk Space (in bytes - front upload) 20000000
Enable Flash Uploader (admin upload) Yes
Create Watermark No
X-Position of Watermark center
Y-Position of Watermark middle
Pagination Thumbnail Creation No
Clean Thumbnails Yes
Enable Thumbnails Creation Yes
Large Image Width 640
Large Image Height 480
Medium Image Width 100
Medium Image Height 100
Small Image Width 50
Small Image Height 50
Admin Modal Box Width 680
Admin Modal Box Height 520
Front Modal Box Width 1024
Front Modal Box Height 844
Front Popup Window Width 1024
Front Popup Window Height 844
Icon Format gif
=========================================
thanks
klem
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front Page Upload form will not work
I think, it is a php problem (Only variable references should), maybe php upgrade will help...
Permissions should be changed e.g. via FTP manager, see:
https://www.phoca.cz/articles/web/how-to ... d-folders/
https://www.phoca.cz/articles/web/how-to ... r-via-ftp/
Jan
Permissions should be changed e.g. via FTP manager, see:
https://www.phoca.cz/articles/web/how-to ... d-folders/
https://www.phoca.cz/articles/web/how-to ... r-via-ftp/
Jan
If you find Phoca extensions useful, please support the project
-
klem
- Phoca Newbie

- Posts: 9
- Joined: 30 Oct 2008, 23:38
Re: Front Page Upload form will not work
Thanks Jan,
I have an ftp client and managed our old simple HTML website with it. Unfortunately my HDD crashed about two months ago and I lost all my login details but I am trying to get that back now.
The link about file permissions looks useful....... fingers crossed.
I feel a bit of an idiot over the error messages, I had left the error reporting on Maximum. I set it to Default now and they have gone away. "Every day in every way I learn a little more......"
Thanks again,
klem
I have an ftp client and managed our old simple HTML website with it. Unfortunately my HDD crashed about two months ago and I lost all my login details but I am trying to get that back now.
The link about file permissions looks useful....... fingers crossed.
I feel a bit of an idiot over the error messages, I had left the error reporting on Maximum. I set it to Default now and they have gone away. "Every day in every way I learn a little more......"
Thanks again,
klem
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front Page Upload form will not work
If you find Phoca extensions useful, please support the project
-
klem
- Phoca Newbie

- Posts: 9
- Joined: 30 Oct 2008, 23:38
Re: Front Page Upload form will not work
Hmmm I've downloaded the configuration.php and changed $ftp_enable = '0' to $ftp_enable = '1' then uploaded it back where it came from.
In global configuration I can see that ftp enable = Yes now but front upload will still not work?
Next step?
klem
In global configuration I can see that ftp enable = Yes now but front upload will still not work?
Next step?
klem
- Jan
- Phoca Hero

- Posts: 49279
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front Page Upload form will not work
If you find Phoca extensions useful, please support the project