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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Changed from PHP 5.2x to PHP 5.4x and got error: PHP Fatal error: Class 'Debug' not found in D:\www\sapphire\core\Core.php on line 252


Reply


3 Posts   1086 Views

Avatar
ChubChub

Community Member, 16 Posts

20 November 2012 at 5:01am

Changed from PHP 5.2x to PHP 5.4x and got error: PHP Fatal error:

Class 'Debug' not found in D:\www\sapphire\core\Core.php on line 252

I've "flushed", but can't even get to the /dev/build?flush=all as I get the dreaded error 500 with that in the error_log file. I manually deleted out my silverstripe-cache directory to no avail.

Any ideas ??? Thanks in advance.
-john

Avatar
ChubChub

Community Member, 16 Posts

20 November 2012 at 10:23am

Oh boy... I found this article searching other frameworks... In particular, CakePHP. They said that PHP 5.4x requires public and private keywords with function and attributes!!! If this is the case, what is next for version 2.4.8?

Here is the reference article: http://cakephp.1045679.n5.nabble.com/Debugger-Class-not-found-CakePHP-2-1-PHP-5-4-td5582296.html

Avatar
MooreDynasty

Community Member, 3 Posts

8 January 2013 at 4:35am

I've inherited this problem from Chubs above, but am no closer to a resolution. Anyone else having the problem? It's probably worth mentioning that we're running on IIS here.