[SOLVED] Error JForm::getInstance could not load file

Phoca Guestbook - creating guestbooks in Joomla! CMS
rdwilson
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 09 Jul 2014, 23:35

[SOLVED] Error JForm::getInstance could not load file

Post by rdwilson »

Joomla 3.2.2 with guestbook version 3.02, K2 is installed. Server info, CENTOS 5.10, Apache 2.2.7, mySQL 5.5.37-cll, PHP 5.4.3

Simply clicking on the "Guestbook" link in the Joomla backend throws the error in the subject of this post. Detailed info:

JForm::getInstance could not load file
Call stack
# Function Location
1 JApplicationCms->execute() JROOT/administrator/index.php:42
2 JApplicationAdministrator->doExecute() JROOT/libraries/cms/application/cms.php:255
3 JApplicationAdministrator->dispatch() JROOT/libraries/cms/application/administrator.php:143
4 JComponentHelper::renderComponent() JROOT/libraries/cms/application/administrator.php:98
5 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:332
6 require_once() JROOT/libraries/cms/component/helper.php:352
7 JControllerLegacy->execute() JROOT/administrator/components/com_categories/categories.php:25
8 CategoriesController->display() JROOT/libraries/legacy/controller/legacy.php:722
9 CategoriesViewCategories->display() JROOT/administrator/components/com_categories/controller.php:95
10 JError::raiseError() JROOT/administrator/components/com_categories/views/categories/view.html.php:48
11 JError::raise() JROOT/libraries/legacy/error/error.php:253

I have checked the permissions, removed the component and reinstalled, all to no avail. Any help would be greatly appreciated.
Last edited by rdwilson on 13 Jul 2014, 01:23, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error JForm::getInstance could not load file

Post by Jan »

Hi, if I see the error log, I don't see any part in the list which is related to guestbook, hmmm, really no idea what can be wrong there. If you enable php error reporting (https://www.phoca.cz/documents/16-joomla ... rs-on-site), do you get any php error there?

Jan
If you find Phoca extensions useful, please support the project
rdwilson
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 09 Jul 2014, 23:35

Re: Error JForm::getInstance could not load file

Post by rdwilson »

Thank you for the reply. I couldn't see anything directly related to Guestbook either but it is the only component exhibiting this error. I will double check permission once more.

No change in the Joomla backend screen when PHP error reporting is enabled as described in the link provided.

The php-error log file has these last two entries:

Code: Select all

[10-Jul-2014 23:58:18 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
[10-Jul-2014 23:58:18 America/New_York] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdf.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/pdf.so: cannot open shared object file: No such file or directory in Unknown on line 0
I am no expert by any means but I don't think the error log relates to this problem. Thanks again for any help or tips that may resolve this issue.
rdwilson
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 09 Jul 2014, 23:35

Re: [SOLVED] Error JForm::getInstance could not load file

Post by rdwilson »

There must have been an unknown problem in my installation of Joomla core. Steps taken to fix:

On the same server created a new user account and installed a clean copy of Joomla.
Added Guestbook as the first component.
Added each additional component and then checking GB for errors or conflicts - NONE.
Used rsync to copy file content and chown to set ownership.
Used a PHP script to set permissions on folders and files.
Exported / Imported database.
Edited configuration.php to reflect new settings, reset perms.

This was a "brute force" fix but was less time consuming that trying to debug the real issue.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [SOLVED] Error JForm::getInstance could not load file

Post by Jan »

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