Hi,
I cannot upload image from frontend ,I get following error :
* Warning! - Failed to change file permissions
Message
* Unable to upload file
In fact the file is on remote FAI server but the galley does'nt seem to see it !
The strangest thing is that it works fine on my labtop with xampp / winXp
help !
Front end upload not working
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
maybe there is probl
maybe there is problem while copying the file from tmp folder to phocagallery folder (if the file has e.g. permissions to 600, some script in Joomla! cannot change the permissions and it returns the error )
Jan
Jan
If you find Phoca extensions useful, please support the project
-
boby
- Phoca Newbie

- Posts: 4
- Joined: 22 May 2008, 02:07
Not really because t
Not really because the file is finally located at the right place on my ISP remote directory (images/phocagallery). Perhaps since permissions cannot be changed (Free.fr ISP is known to be very restrictive), the code stop immediately and return this incorrect error message ?
Upload works fine from backend so it is possible to do it no ?
Thaks for your help
Upload works fine from backend so it is possible to do it no ?
Thaks for your help
-
boby
- Phoca Newbie

- Posts: 4
- Joined: 22 May 2008, 02:07
oups, I forgot to ch
oups, I forgot to check the email notification in my previous post ... sorry
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
...
the frontend upload should work the same way as backend (in frontend there is disabled the multiple upload because of security, but should work as in backend ... ... do you have enabled the ftp layer?
If you find Phoca extensions useful, please support the project
-
boby
- Phoca Newbie

- Posts: 4
- Joined: 22 May 2008, 02:07
Yes but joomla compl
Yes but joomla complains when I activate ftp layer in configuration panel and finally do not activate it
here are error msg when I try to activate ftp layer :
* JFTP::connect: Could not connect to host "ftpperso.free.fr" on port 21
* JFTP::_putCmd: Not connected to the control port
* JFTP::_mode: Bad response
* JFTP::_passive: Not connected to the control port
* JFTP::write: Unable to use passive mode
Can you tell me the php file to debug to find the exact problem ?
Thanks
here are error msg when I try to activate ftp layer :
* JFTP::connect: Could not connect to host "ftpperso.free.fr" on port 21
* JFTP::_putCmd: Not connected to the control port
* JFTP::_mode: Bad response
* JFTP::_passive: Not connected to the control port
* JFTP::write: Unable to use passive mode
Can you tell me the php file to debug to find the exact problem ?
Thanks
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
you should look at c
you should look at com_media which is used for uploading (media manager) or controller.php (in Phoca Gallery frontend folder)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
elfa17
- Phoca Newbie

- Posts: 4
- Joined: 09 Aug 2008, 19:02
Re: Front end upload not working
I have the same problem and don't see the way to solve it
Gallery installed perfectly, backend works without any problem, uloading through backend works well. But I need one user to be able to upload photos through frontend and cannot do that. All was done correct - permissions, user folder etc. But after I or user (who have permission) try to upload file through frontend - we have the same error every time:
Error:
* Warning! - Failed to change file permissions
Message:
* Unable to upload file
The strange thing is that file was upload and I can see it through FTP in the right folder, but it has CMOD 600 and the file has "apache" as the file owner, not my account.
Could anybody help me to fix the problem? I use this server for Joomla for a long time and used many galleries on it without troubles with users upload file systems. This is the first one, only on frontend
Gallery installed perfectly, backend works without any problem, uloading through backend works well. But I need one user to be able to upload photos through frontend and cannot do that. All was done correct - permissions, user folder etc. But after I or user (who have permission) try to upload file through frontend - we have the same error every time:
Error:
* Warning! - Failed to change file permissions
Message:
* Unable to upload file
The strange thing is that file was upload and I can see it through FTP in the right folder, but it has CMOD 600 and the file has "apache" as the file owner, not my account.
Could anybody help me to fix the problem? I use this server for Joomla for a long time and used many galleries on it without troubles with users upload file systems. This is the first one, only on frontend
-
elfa17
- Phoca Newbie

- Posts: 4
- Joined: 09 Aug 2008, 19:02
Re: Front end upload not working
Well, I looked through another forum and found the way to solve my problem - I entered FTP setup data in global configuration and all troubles with changing file permissions were gone.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Front end upload not working
great to hear it, Jan 
If you find Phoca extensions useful, please support the project