Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Zend/Log.php ReflectionClass not found


Go to End


1991 Views

Avatar
pst

Community Member, 9 Posts

10 May 2010 at 7:40pm

Edited: 10/05/2010 7:41pm

Hey,

I'm getting a strange error I somehow can't really get my head around. Maybe someone here has some idea what might be wrong. I upgraded to silverstripe 2.4.0. On a register page I now get an error after sending the form that says:

[Sun May 09 17:41:26 2010] [warn] [client 10.228.***.***] mod_fcgid: stderr: PHP Fatal error: Class 'ReflectionClass' not found in /****/sapphire/thirdparty/Zend/Log.php on line 68, referer: http://dev.www.****.com/register/

The PHP Version is 5.3.2-1ubuntu4 and according to phpinfo Reflection is enabled and the version is $Revision: 293036 $. According to http://packages.ubuntu.com/lucid/php5-cgi the Ubuntu php5-cgi package has Reflection included. Additionally I can easily call $something = new ReflectionClass() myself and don't get an error whatsoever on the exact same servers. For some reason the silverstripe code can't though.

Any ideas?