Fatal error: Class 'JHtmlSidebar'

Phoca Gallery - image gallery extension
Gecco
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Jan 2013, 12:15

Fatal error: Class 'JHtmlSidebar'

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Class 'JHtmlSidebar'

Post 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
If you find Phoca extensions useful, please support the project
Gecco
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Jan 2013, 12:15

Re: Fatal error: Class 'JHtmlSidebar'

Post by Gecco »

Hi
Yes, I have installed the v4 :x
With the 3.3 it works perfectly. :twisted:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Class 'JHtmlSidebar'

Post by Jan »

:-) Ok, great to hear it (not that you have installed the wrong version but that it is working now).

Jan
If you find Phoca extensions useful, please support the project
fricandelle
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 09 Feb 2014, 00:18

Re: Fatal error: Class 'JHtmlSidebar'

Post 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:
yahhr857
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Sep 2014, 00:46

Re: Fatal error: Class 'JHtmlSidebar'

Post 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?
yahhr857
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Sep 2014, 00:46

Re: Fatal error: Class 'JHtmlSidebar'

Post 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!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9966
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Fatal error: Class 'JHtmlSidebar'

Post 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
yahhr857
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 28 Sep 2014, 00:46

Re: Fatal error: Class 'JHtmlSidebar'

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Class 'JHtmlSidebar'

Post 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
If you find Phoca extensions useful, please support the project
Post Reply