I have a problem with the Phoca gallery image module 2.7.1
I'm running Joomla 1.5.20 and have following versions installed:
Phoca gallery component 2.7.5
Phoca gallery image module 2.7.1
Phoca gallery plugin 2.7.2
Phoca slideshow plugin 2.7.1
Phoca gallery button 2.7.1
Everything works great on most pages of my website but when I open a page with a form on it that's created with the Breezing Forms component, then I get the following error:
Fatal error: Class 'PhocaGalleryLibrary' not found in /httpdocs/modules/mod_phocagallery_image/mod_phocagallery_image.php on line 38
This happens on all pages that have one of these forms.
When I disable the phoca gallery image module, then the forms load without any problems.
Is there something I could add to the code to make it load the class anyway?
I like the component and module, you did a great job, so I would like to keep them running.
Gallery image module 2.7 class PhocaGalleryLibrary not found
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Oct 2010, 17:35
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Gallery image module 2.7 class PhocaGalleryLibrary not f
Hi, check your module version again, the 2.7.1 includes this:
which loads the library class ???
Then this should be OK, as the class file is loaded
Code: Select all
if (! class_exists('PhocaGalleryLoader')) {
require_once( JPATH_ADMINISTRATOR.DS.'components'.DS.'com_phocagallery'.DS.'libraries'.DS.'loader.php');
}
Code: Select all
$library = &PhocaGalleryLibrary::getLibrary();
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Oct 2010, 17:35
Re: Gallery image module 2.7 class PhocaGalleryLibrary not f
Hello Jan,
That code is included in the module code. It is the correct version.
I solved this by throwing out the old Breezing Forms component and replacing it with JForms which doesn't have any problem with the Phoca Gallery module.
Thanks for your help. Keep up the good work
That code is included in the module code. It is the correct version.
I solved this by throwing out the old Breezing Forms component and replacing it with JForms which doesn't have any problem with the Phoca Gallery module.
Thanks for your help. Keep up the good work
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Gallery image module 2.7 class PhocaGalleryLibrary not f
Ok
If you find Phoca extensions useful, please support the project