Adding new category/images not working

Phoca Gallery - image gallery extension
cgoedha
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Dec 2011, 01:03

Adding new category/images not working

Post by cgoedha »

On the admin site, when pressing the New button in Categories or Images, I get a simple html form without any formatting and with no controls. The standard Joomla interface with buttons, menu, etc.is missing.

So, no way to create anything. The only option is to press the browsers backbutton, which get me back to the PG control panel.

I'm using Joomla 1.7.3 and PG 3.1.1. (tried 3.0.2 also with the same result). Looks like a .css/.php is not loading or missing. I already compared the content of the .zip with the files on my site but could not find any missing ones yet. Any ideas?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adding new category/images not working

Post by Jan »

Hi, try to enable php error reporting and debug mode, maybe you will get some error message which e.g. stops the script, etc.:

https://www.phoca.cz/documents/16-joomla ... ent-errors

Jan
If you find Phoca extensions useful, please support the project
cgoedha
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Dec 2011, 01:03

Re: Adding new category/images not working

Post by cgoedha »

Hello, that helped a bit. I get an error message now, so something must be wrong, but I can't figure out yet how to fix it. Is it my Joomla or Phoca installation, can you tell? It is the function that gets the editor buttons that goes wrong in editor.php. The error messages are:

Fatal error: Call to undefined method stdClass::onDisplay() in /volume1/web/libraries/joomla/html/editor.php on line 295 Fatal error: Access to undeclared static property: JLoader::$_classes in /volume1/web/libraries/loader.php on line 200

Cor.
cgoedha
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 01 Dec 2011, 01:03

Re: Adding new category/images not working

Post by cgoedha »

Finally I found the problem! It wasn't Phoca Gallery. The mentioned function in editor.php (one of the many called when you press New category or image) loops through all Joomla plug-ins, and there were 2 of which the files didn't exist anymore on the website. So the 2 plug-ins where still listed in the jos_extensions table in the Joomla database, but pointing to a non-existing directory. I just deleted those two records from the table and now everything works fine. They must have been left over from an unsuccessful uninstall.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Adding new category/images not working

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
erikspeckmann
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 02 Oct 2012, 09:59

Re: Adding new category/images not working

Post by erikspeckmann »

cgoedha, do you know the solution, I have put in Phocapdf after that the editor artikel got lost, the was just some html code, please how can I repair?

Fatal error: Call to undefined method stdClass::onDisplay()

Fatal error: Access to undeclared static property: JLoader::$classes in
Post Reply