Small path issue with v3.0.0_beta1 [fixed]

Phoca Gallery - image gallery extension
KingJackaL
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 12 Jan 2011, 03:29

Small path issue with v3.0.0_beta1 [fixed]

Post by KingJackaL »

When users browse a category they get an error such as:

Code: Select all

Warning: getimagesize(/PATH/components/com_phocagallery/assets/Images/shadow1.gif) [function.getimagesize]: failed to open stream: No such file or directory in /PATH/components/com_phocagallery/views/category/view.html.php on line 198
In ADMIN/libraries/phocagallery/path/path.php, line 30, you have:

Code: Select all

$instance->image_abs_front              = JPATH_ROOT . DS . 'components' . DS . 'com_phocagallery' . DS . 'assets' . DS . 'Images'.DS ;
This should be 'images' not 'Images' - will cause some errors on the front-end when used from case-sensitive OS's (possibly you've just missed a rename here?).

Workaround: patch the above file :).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Small path issue with v3.0.0_beta1 [fixed]

Post by Jan »

Thank you very much for this info, will be fixed in RC.

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