Error in components

Phoca Gallery - image gallery extension
Martin1990
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 19 Dec 2010, 10:49

Error in components

Post by Martin1990 »

Hi!

After i've installed phoca gallery i get the following error in the components menu:
Fatal error: Cannot make static method JLoader::import() non static in class PhocaGalleryLoader in /htdocs/administrator/components/com_phocagallery/libraries/loader.php on line 75

Idk why.

Joomla 1.5.22
Php 5.2.14

Thx 4 help :=)
Martin1990
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 19 Dec 2010, 10:49

Re: Error in components

Post by Martin1990 »

No one has any idea how it comes to the error?
Martin1990
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 19 Dec 2010, 10:49

Re: Error in components

Post by Martin1990 »

Under 2.7.6 we get the same error... :(

Plc help?
---

Ooops, sorry, problem found. It is on a different component, which has changed the libraries/loader.php.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in components

Post by Jan »

ok
If you find Phoca extensions useful, please support the project
jack33
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2011, 19:25

Re: Error in components

Post by jack33 »

Hello
I have got the same problem but i dont understand the reply (above).
Please, can you explain?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in components

Post by Jan »

Some other component has changed core file of Joomla! which then started the error.

Jan
If you find Phoca extensions useful, please support the project
jack33
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Feb 2011, 19:25

Re: Error in components

Post by jack33 »

Ok , but how resolve the problem? reload Joomla? or how find the other component?

Jack
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in components

Post by Jan »

The other component which made the error must be found and corrected or uninstalled
If you find Phoca extensions useful, please support the project
Minnetonka
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jul 2011, 20:36

Re: Error in components

Post by Minnetonka »

First, when I try to install Phoca Gallery I get this message: "Error building Admin Menus" and "Installing component was successful." :

http://imtp.me/1uls006q4.p

Then I click the "Install" button below, and I get this message:
Fatal error: Cannot make static method JLoader::import() non static in class PhocaGalleryLoader in /home2/*/public_html/*/administrator/components/com_phocagallery/libraries/loader.php on line 75

This is a fresh Joomla 1.7 installation, there is no other plugin or component installed except for those that belong to the template. I do not want to uninstall the template.

Please help.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in components

Post by Jan »

Hi, check the php and mysql settings on your server, see this too:
viewtopic.php?f=1&t=12837

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