(SOLVED) - ExponentCMS - Fatal error: Class editorcontrol

Support/Development for PHP
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

(SOLVED) - ExponentCMS - Fatal error: Class editorcontrol

Unread post by biggles »

I am having trouble with a customers CMS installation after installing ASL. Some modules, especially the editor module, doesn't show up anymore. When I turn on the debugging I get the following error Fatal error: Class editorcontrol: Cannot inherit from undefined class formcontrol in /var/www/vhosts/domain.com/httpdocs/subsystems/forms/controls/EditorControl.php on line 34 I realize this is moreof a ExponentCMS question but as it started when I installed ASL I thought I should ask you as well.

Anyone got any suggestions?
Last edited by biggles on Wed Aug 20, 2008 3:51 am, edited 1 time in total.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Do you see related block events in the ASL web interface?
Lemonbit Internet Dedicated Server Management
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Unread post by biggles »

Nope...
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

It doesn't sound like an ASL-related problem so far.
Lemonbit Internet Dedicated Server Management
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Unread post by biggles »

OK, thanks for your effort!

I cannot see how it could have started any other way though. PHP gets locked down quite a bit when you install ASL as far as I can tell. I cannot really find what all the PHP options means so I am having a hard time finding what is causing the problem...
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

They are all documented on the PHP site. Have you checked the file and line number mentioned in the error message? You could also try enabling any disabled PHP functions and see if that gets it back to life.
Lemonbit Internet Dedicated Server Management
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Unread post by biggles »

Yeah, but there are quite a lot of functions and the names doesn't give much clues. "allow_exec"? Which php site did you mean? php.net?
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Yes, php.net. Have you checked the domain's error_log? Does that tell you the code is trying to use a disabled function? Or maybe there really is a problem with the code (class formcontrol not being defined).
Lemonbit Internet Dedicated Server Management
biggles
Forum Regular
Forum Regular
Posts: 806
Joined: Tue Jul 15, 2008 2:38 pm
Location: Sweden
Contact:

Unread post by biggles »

OK, fixed the problem! It seemed like the attack that made me install ASL had manipulated some files installed by Exponent. When I re-installed Exponent over the old installation everything got fixed!

Thanks for your help and suggestions!
Post Reply