Page 1 of 1

Fatal error: Class 'JHtmlSidebar'

Posted: 03 Jan 2013, 12:19
by Gecco
Hello

I have updatet my Joomla from 1.7 to 2.5. Now i have this Error Message:

Code: Select all

Fatal error: Class 'JHtmlSidebar' not found in /home/sifach/www/sifa.ch/administrator/components/com_phocagallery/controller.php on line 46
In Line 46

Code: Select all

	if ($view == $v[1]) {
			JHtmlSidebar::addEntry(JText::_($v[0]), $link.$v[1], true );
		} else {
			JHtmlSidebar::addEntry(JText::_($v[0]), $link.$v[1]);
		}
Thx for help

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 03 Jan 2013, 17:18
by Jan
Hi, did you install Phoca Gallery made for Joomla! 2.5, this seems like you have installed the Phoca Gallery 4 which is designed for Joomla! 3 :idea:

Jan

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 03 Jan 2013, 20:58
by Gecco
Hi
Yes, I have installed the v4 :x
With the 3.3 it works perfectly. :twisted:

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 04 Jan 2013, 16:39
by Jan
:-) Ok, great to hear it (not that you have installed the wrong version but that it is working now).

Jan

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 09 Feb 2014, 01:03
by fricandelle
Jan wrote:Hi, did you install Phoca Gallery made for Joomla! 2.5, this seems like you have installed the Phoca Gallery 4 which is designed for Joomla! 3 :idea:

Jan
THanks a lot... to you and to this forum... I had the same issue...hum... Thank you ! :twisted:

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 28 Sep 2014, 00:55
by yahhr857
Ok, I have Joomla 2.5.25 and and tried to install Phoca Gallery 3.2.8 and got this same error message.
A little background: I am upgrading this particular site to Joomla 3 and had uninstalled Phoca to upgrade and reinstall. When I did that, I got the following error message on the Joomla UPDATE page:

Code: Select all

Warning: require_once([...]/html/administrator/components/com_phocagallery/libraries/loader.php) [function.require-once]: failed to open stream: No such file or directory in [...]/html/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 19

Fatal error: require_once() [function.require]: Failed opening required '[...]/administrator/components/com_phocagallery/libraries/loader.php' (include_path='.:/usr/local/php5_3/lib/php') in [...]/html/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 19
(where [...] is my local path)

I had uninstalled all phoca 2.5 compatible extensions fully expecting to reinstall them once I got Joomla 3 loaded, but this error will not let me go any further. I tried reinstalling phoca and now get the JHtmlSidebar error

Ideas?

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 28 Sep 2014, 04:36
by yahhr857
Posting here as well as another about a similar topic.
I had this happen to me as well using the latest Phoca Gallery for Joomla 2.5
Although this last Joomla update (2.5.25) might be breaking Phoca.
I can upload images and set the categories, but cannot go to the Phoca Control Panel without this Fatal error

Any help would be appreciated!

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 28 Sep 2014, 11:33
by Benno
Hi,
Warning: require_once([...]/html/administrator/components/com_phocagallery/libraries/loader.php) [function.require-once]: failed to open stream: No such file or directory in [...]/html/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 19

Fatal error: require_once() [function.require]: Failed opening required '[...]/administrator/components/com_phocagallery/libraries/loader.php' (include_path='.:/usr/local/php5_3/lib/php') in [...]/html/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 19
This means, you should disable or better uninstall Phoca Gallery Slideshow Plugin, before you uninstall Phoca Gallery Component.

Kind regards,
Benno

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 28 Sep 2014, 16:07
by yahhr857
I did uninstall the slideshow.
In fact, I uninstalled everything, then tried to reinstall gallery and get the JHtmlSidebar error.
I can't see the Phoca Control Panel at all (JHtmlSidebar error also).
When I try to go to the options menu for Joomla update, I get the phocagalleryslideshow error

Re: Fatal error: Class 'JHtmlSidebar'

Posted: 28 Sep 2014, 23:22
by Jan
Hi, the JHtmlSidebar error is mostly presented when e.g. Phoca Gallery 4 (Joomla! 3) component is installed in Joomla! 2.5 (or the opposite) :idea:

Jan