Page 1 of 1

Re: phoca gallery installazion problem

Posted: 23 Jul 2009, 18:22
by Jan
Hi, first try to test your permissions and ownership of files and folders on your server.

Then see this (for manual installation of Phoca Gallery):
https://www.phoca.cz/documents/2-phoca-g ... em-solving

Jan

Re: phoca gallery installazion problem

Posted: 29 Jul 2009, 18:24
by myrtus
I have also a problem with installation of version 2.5.4. Today I install like the manual (https://www.phoca.cz/documents/2-phoca-g ... em-solving). After copying all file with FTP I see in frontend version 2.5.3 and after install com_phocagallery_ftp_install.zip I see in frontend version 2.5.0Beta.

Re: phoca gallery installazion problem

Posted: 29 Jul 2009, 18:44
by Jan
Hi, I have updated the file, please try it again with this new file.

Jan

Re: phoca gallery installazion problem

Posted: 29 Jul 2009, 19:27
by myrtus
Now it's o.k.
Thank you very much.

Re: phoca gallery installazion problem

Posted: 29 Jul 2009, 19:33
by Jan
Ok

Re: phoca gallery installazion problem

Posted: 05 Aug 2009, 10:04
by myrtus
I have the same problem with installation of version 2.5.5 as some times ago with 2.5.4. Today I install like the manual (https://www.phoca.cz/documents/2-phoca-g ... em-solving). After installation I see in frontend always version 2.5.4.
Also the bug of 2.5.4 (CHMOD 1363 of thumbs-folder) is always present. So I don't know, is the bug also in 2.5.5 or have I always version 2.5.4?

Re: phoca gallery installazion problem

Posted: 05 Aug 2009, 13:21
by myrtus
I have checked the folder creation:
  • creation of category-folder works correctly
  • creation of thumbs-folder don't works correctly.
My solution:
changing line 311 in file /administrator/components/com_phocagallery/libraries/phocagallery/file/filethumbnail.php
from @JFolder::create($folderThumbnail, $folder_permissions );
to @JFolder::create($folderThumbnail, 0755 );

About the version-number, I think the old number 2.5.4 was only in the package com_phocagallery_ftp_install.zip.

Re: phoca gallery installazion problem

Posted: 05 Aug 2009, 22:53
by Jan
Hi, this was not changed in 2.5.5 as the

$folder_permissions variable contain 0755 and 0755 will added into the JFile method, no idea where can be the problem. I have tested it everywhere I can but I don't get such problem anywhere :idea: :(

Re: phoca gallery installazion problem

Posted: 05 Aug 2009, 23:01
by myrtus
Thank you for your answer. It's very mysterious. In file filefolder.php is the same code to create the folder like in filethumbnail.php. But the fist works correctly and the second don't works correctly. :idea:
For this time I have fixed it with the changes I wrote. And I hope for the future. :)

Re: phoca gallery installazion problem

Posted: 06 Aug 2009, 00:36
by Jan
The problem can be related to fact that the number saved in variable is not an octal type.

I need to do some test to see how to solve.


Try to add (test):
$folder_permissions = octdec((int)$folder_permissions);
before:
JFolder::create($folderThumbnail, $folder_permissions );

in administrator\components\com_phocagallery\libraries\phocagallery\file\filefolder.php
Jan