Hello Jan,
whenever i try to enable the Phoca Gallery Image Module i get the following error :
Fatal error: Class 'PhocaGalleryRoute' not found in /var/www/public_html/bnv/modules/mod_phocagallery_image/mod_phocagallery_image.php on line 581
What might be the problem here ?
PhocaGellryRoute error in Gallery Image module
- gerpol
- Phoca Member

- Posts: 14
- Joined: 30 Apr 2010, 14:44
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaGellryRoute error in Gallery Image module
Hi,
the class is loaded on line 18:
phocagalleryimport('phocagallery.path.route');
Did you successfully installed the latest version of Phoca Gallery (2.7.0) and Phoca Gallery Image Module (2.7.0)?
the class is loaded on line 18:
phocagalleryimport('phocagallery.path.route');
Did you successfully installed the latest version of Phoca Gallery (2.7.0) and Phoca Gallery Image Module (2.7.0)?
If you find Phoca extensions useful, please support the project
-
destinshines
- Phoca Newbie

- Posts: 2
- Joined: 05 May 2010, 18:12
Re: PhocaGellryRoute error in Gallery Image module
I am getting this error as well.
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaGellryRoute error in Gallery Image module
Hi, can you add here the code from the module:
modules/mod_phocagallery_image.php
line: 10
to line: 28
Jan
modules/mod_phocagallery_image.php
line: 10
to line: 28
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaGellryRoute error in Gallery Image module
Hi, it is not the latest file, if I download the latest file:
https://www.phoca.cz/download/category/8 ... age-module
version 2.7.0
the code is:
phocagalleryimport('phocagallery.path.path');
phocagalleryimport('phocagallery.path.route');
phocagalleryimport('phocagallery.library.library');
your code is:
phocagalleryimport('phocagallery.path.path');
phocagalleryimport('phocagallery.library.library');
So try to download and install the latest file.
Jan
https://www.phoca.cz/download/category/8 ... age-module
version 2.7.0
the code is:
phocagalleryimport('phocagallery.path.path');
phocagalleryimport('phocagallery.path.route');
phocagalleryimport('phocagallery.library.library');
your code is:
phocagalleryimport('phocagallery.path.path');
phocagalleryimport('phocagallery.library.library');
So try to download and install the latest file.
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: PhocaGellryRoute error in Gallery Image module
Hi, but for successfully running you need to have the same versions of component, module and plugin. If not, then you get allways error.
If you find Phoca extensions useful, please support the project
-
jmccuneprPF
- Phoca Newbie

- Posts: 7
- Joined: 20 Apr 2010, 00:52
Re: PhocaGellryRoute error in Gallery Image module
Maybe I should publish this in a different sub-forum but it's a similar module error:
I'm getting more or less the same error, from the Menu Module. I have very recent versions (within last month or two at most) of Phoca Gallery Component (v 2.6.2), Phoca Image Module (v 2.6.0) and just today Phoca Menu Module (v 2.7.1).
Today I installed Menu Module without problems. When I published the module though, to a position with no other currently active modules, I get the following crash "Fatal error: Class 'PhocaGalleryRoute' not found in /home/twinoak3/public_html/modules/mod_phocagallery_menu/mod_phocagallery_menu.php on line 128".
If I disable the module, the problem vanishes.
The position I'm using does have another (custom HTML) module, on other pages of my site, but that module was disabled to test this problem.
I have a few Phoca categories and images published through the Phoca Gallery component.
The Phoca Image Module is not enabled.
Thanks
http://www.twinoakscommunity.org/
I'm getting more or less the same error, from the Menu Module. I have very recent versions (within last month or two at most) of Phoca Gallery Component (v 2.6.2), Phoca Image Module (v 2.6.0) and just today Phoca Menu Module (v 2.7.1).
Today I installed Menu Module without problems. When I published the module though, to a position with no other currently active modules, I get the following crash "Fatal error: Class 'PhocaGalleryRoute' not found in /home/twinoak3/public_html/modules/mod_phocagallery_menu/mod_phocagallery_menu.php on line 128".
If I disable the module, the problem vanishes.
The position I'm using does have another (custom HTML) module, on other pages of my site, but that module was disabled to test this problem.
I have a few Phoca categories and images published through the Phoca Gallery component.
The Phoca Image Module is not enabled.
Thanks
http://www.twinoakscommunity.org/
Last edited by jmccuneprPF on 20 May 2010, 23:28, edited 1 time in total.
-
jmccuneprPF
- Phoca Newbie

- Posts: 7
- Joined: 20 Apr 2010, 00:52
Re: PhocaGellryRoute error in Gallery Image module
Now, after installing the Menu Module, I find that my site's Joomla 1.5.15 back end menu links are all broken. And I failed to backup the site before installing this module, sadly.
I see in the Joomla forums a reference to a quite similar occurrence, the suggestion being a problem with permissions. I didn't change any permissions of any resource in the process of installing this module, however.
Admin / Back End Menu Broken
http://forum.joomla.org/viewtopic.php?f=431&t=393583
Could the module have caused this error somehow?
There's no problem with the front end of the site.
http://www.twinoakscommunity.org/
I see in the Joomla forums a reference to a quite similar occurrence, the suggestion being a problem with permissions. I didn't change any permissions of any resource in the process of installing this module, however.
Admin / Back End Menu Broken
http://forum.joomla.org/viewtopic.php?f=431&t=393583
Could the module have caused this error somehow?
There's no problem with the front end of the site.
http://www.twinoakscommunity.org/
-
jmccuneprPF
- Phoca Newbie

- Posts: 7
- Joined: 20 Apr 2010, 00:52
Re: PhocaGellryRoute error in Gallery Image module
Sorry, I found the solution to the Backend Menus failure by reading further in Joomla forums. In my case, the problem was apparently fully resolved by emptying the Firefox (3.6.3) cache.
http://forum.joomla.org/viewtopic.php?p ... 1#p1362991
My question remains about getting the Phoca Gallery Menu Module to function properly.
http://forum.joomla.org/viewtopic.php?p ... 1#p1362991
My question remains about getting the Phoca Gallery Menu Module to function properly.