Page 1 of 1
Adding new category/images not working
Posted: 01 Dec 2011, 01:30
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?
Re: Adding new category/images not working
Posted: 04 Dec 2011, 19:40
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
Re: Adding new category/images not working
Posted: 05 Dec 2011, 00:27
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.
Re: Adding new category/images not working
Posted: 07 Dec 2011, 23:51
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.
Re: Adding new category/images not working
Posted: 08 Dec 2011, 18:11
by Jan
Ok
Re: Adding new category/images not working
Posted: 02 Oct 2012, 15:39
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