phocaflow issue with permissions since 2.5

Phoca modules - support for all Phoca modules except Phoca Gallery modules
Brujo
Phoca Member
Phoca Member
Posts: 49
Joined: 26 Apr 2009, 13:17

phocaflow issue with permissions since 2.5

Post by Brujo »

pokaflow dosent create the Coverflow thumbs anymore on new created Categories, since i upgraded to the latest phocagallery. As i figgured out phocaflow use different way as the gallery itself to create the needed thumb in the thumb folder. As i understand phocaflow creates it as the apache user and thats dose not work together since phocagallery use the ftp layer with default permissions of 755 for the thumb folder

Will be phocaflow updated to use the same function as phocagallery? However it is not realy critical, I changed once the permission of the thumb folders and called phocaflow, then the coverthumbs are created and I changed back the permissions to 755.


Brujo
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phocaflow issue with permissions since 2.5

Post by Jan »

Hi, I think you need to ask Phoca Flow Developer :-(
http://extensions.joomla.org/extensions ... sions/6509

Jan
If you find Phoca extensions useful, please support the project
emagus
Phoca Member
Phoca Member
Posts: 15
Joined: 30 Sep 2008, 23:27
Location: Germany
Contact:

Re: phocaflow issue with permissions since 2.5

Post by emagus »

Jan, do you have an idea, what could be the problem here? Do you even have that problem, cause i cannot reproduce it at all!

Brujo tracked it down to have sth to do with the permissions of the folder. Somehow the creation-method that i use doesn't seem to be appropriate for the new ftp-folder-permissions you set. What do i have to change?
emagus - web. design. communication.
www.emagus.eu
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48536
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: phocaflow issue with permissions since 2.5

Post by Jan »

emagus

Hi, no idea, maybe this is a permissions (ownership problem), see what I have changed:
https://www.phoca.cz/documents/50-phoca/ ... y-settings

In short. I have changed the creating of folders from creating folders with permissions 777 to creating folders with permissions 755.

So for now some not correct set web hosting can have problems with writing images into folders 755

And because there can be problems with creating thumbnails by php script I have added the option (JFile Creaing - last parameter in Parameters) that thumbnails can be created by JFile (standard Joomla!) method.

So it means, if php script has permissions and ownership it can create thumbnails on the server. If it doesn't have, there is one chance more. You can enable FTP layer and JFile parameter in Phoca Gallery, then the thumbnail will be not created by php script but by fpt account so it will have the same ownership as other folders and files and can be written.

So maybe the problem is, the php script cannot write thumbnails into 755 folder on the server ?

Jan
If you find Phoca extensions useful, please support the project
Post Reply