Page 1 of 1

(SOLVED) - ExponentCMS - Fatal error: Class editorcontrol

Posted: Thu Aug 14, 2008 2:06 am
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?

Posted: Thu Aug 14, 2008 5:01 am
by breun
Do you see related block events in the ASL web interface?

Posted: Thu Aug 14, 2008 5:04 am
by biggles
Nope...

Posted: Thu Aug 14, 2008 5:27 am
by breun
It doesn't sound like an ASL-related problem so far.

Posted: Thu Aug 14, 2008 7:17 am
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...

Posted: Thu Aug 14, 2008 7:27 am
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.

Posted: Thu Aug 14, 2008 3:44 pm
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?

Posted: Thu Aug 14, 2008 4:13 pm
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).

Posted: Wed Aug 20, 2008 3:51 am
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!