[Solved]: BUG in PhocaGallery since ver 2.52

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
ChrisGer
Phoca Member
Phoca Member
Posts: 10
Joined: 26 Jul 2009, 19:35

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

Post 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.
pxforti
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jul 2009, 17:53

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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 :(
If you find Phoca extensions useful, please support the project
pxforti
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jul 2009, 17:53

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

Post 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.
webstarrr
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 28 Jul 2009, 19:08

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

Post 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)
ChrisGer
Phoca Member
Phoca Member
Posts: 10
Joined: 26 Jul 2009, 19:35

Joomla 1.5.14 is out - any changes to our issue?

Post by ChrisGer »

well, anybody who tested on an upgraded joomla?
nasart
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Aug 2009, 12:02

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

Post 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
ChrisGer
Phoca Member
Phoca Member
Posts: 10
Joined: 26 Jul 2009, 19:35

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

Post 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 ;)
nasart
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 02 Aug 2009, 12:02

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

Post by nasart »

yeah 1363 but what are the implications for the site?
Post Reply