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
phoca gallery installazion problem
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery installazion problem
If you find Phoca extensions useful, please support the project
- myrtus
- Phoca Enthusiast

- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
Re: phoca gallery installazion problem
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.
Myrtus
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery installazion problem
Hi, I have updated the file, please try it again with this new file.
Jan
Jan
If you find Phoca extensions useful, please support the project
- myrtus
- Phoca Enthusiast

- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery installazion problem
Ok
If you find Phoca extensions useful, please support the project
- myrtus
- Phoca Enthusiast

- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
Re: phoca gallery installazion problem
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?
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?
Myrtus
- myrtus
- Phoca Enthusiast

- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
Re: phoca gallery installazion problem
I have checked the folder creation:
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.
- creation of category-folder works correctly
- creation of thumbs-folder don't works correctly.
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.
Myrtus
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery installazion problem
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

$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
If you find Phoca extensions useful, please support the project
- myrtus
- Phoca Enthusiast

- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
Re: phoca gallery installazion problem
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.
For this time I have fixed it with the changes I wrote. And I hope for the future.
For this time I have fixed it with the changes I wrote. And I hope for the future.
Myrtus
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: phoca gallery installazion problem
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
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
If you find Phoca extensions useful, please support the project