Page 2 of 4

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 29 Jul 2009, 01:22
by Jan
Hi, I am testing it on my linux suse and freebsd and get no such problems, so maybe we need some server experts to test it on the servers where this problem occurs :-(

Adding the 0755 permissions and permissions as parameters was necessary because of possible attacks :-(

Jan

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 29 Jul 2009, 11:26
by ChrisGer
So, here's my confession ;-)
My site http://www.exil-web.de is running on a shared STRATO server.

I am not really an expert in server stuff :-(

But at this point, everything ist running fine here.

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 30 Jul 2009, 18:09
by pxforti
this is still a bug in 2.5.3. I created folder from backend and permission were 1363 for gallery folder and thumbs folder. Only way to fix is changing folder permission via cpanel file manager.

I am using Joomla 1.5.12 on linux with standard cpanel

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 30 Jul 2009, 18:59
by Jan
Hi, I have tested version 2.5.4 on the server where this problem occurs and

this function get e.g. 0755 in the $folder_permissions variable
@JFolder::create($folderThumbnail, $folder_permissions );

so it gets the following

@JFolder::create($folderThumbnail, 0755 );

but it doesn't add the 0755 ??? I have tested to check it for the integer

@JFolder::create($folderThumbnail, (int)$folder_permissions );

but then I got problems on servers where there were no problems, so the integer checking is no solution :-(

maybe there is something in JFolder::create method what changed it, maybe there is something on the server ??? :idea: :( , maybe the type of the value (0777) is somehow wrong :(

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 30 Jul 2009, 21:29
by pxforti
The only way I could fix this is to unstill 2.5.4 and install 2.5.0. That fixes the folder permission problem.

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 31 Jul 2009, 08:12
by webstarrr
pxforti wrote:Only way to fix is changing folder permission via cpanel file manager.
Cpanel file manager works on linux? What can I do on an windows server?
I still have the problem with the "old" folders. With 2.5.3. it seems to work now (on my server from www.world4you.com)

Joomla 1.5.14 is out - any changes to our issue?

Posted: 01 Aug 2009, 14:01
by ChrisGer
well, anybody who tested on an upgraded joomla?

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 02 Aug 2009, 12:13
by nasart
I get this
Warning: opendir(/home4/newcast7/public_html/images/phocagallery/nas-testing-693b) [function.opendir]: failed to open dir: Permission denied in /home4/newcast7/public_html/libraries/joomla/filesystem/folder.php on line 423

Warning: readdir(): supplied argument is not a valid Directory resource in /home4/newcast7/public_html/libraries/joomla/filesystem/folder.php on line 424

Warning: closedir(): supplied argument is not a valid Directory resource in /home4/newcast7/public_html/libraries/joomla/filesystem/folder.php on line 450


in the back end when I look at the images page..... It isn't however causing any problems in the front end so far, is this part of the same issue you are talking about or something else entirely?

http://www.newcastleartistssociety.com

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 02 Aug 2009, 21:52
by ChrisGer
just take a look at the file attributes of the folder(s) in the images/phocagallery/ subfolder and tell us what you see ;)

Re: [Solved by now]: BUG in PhocaGallery since ver 2.52

Posted: 02 Aug 2009, 22:54
by nasart
yeah 1363 but what are the implications for the site?