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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

Getting SilverStripe up and running on your computer and on your web server.

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

PHP error after installing Silverstripe


Go to End


9 Posts   5763 Views

Avatar
noursicain

Community Member, 4 Posts

20 August 2009 at 12:28pm

Hello, i have installed Silverstripe on windows XP and IIS by following the instructions on page : http://doc.silverstripe.org/doku.php?id=installation-on-windows-pi (web platform installer). When i try to access index.php in silverstripe i have the message: PHP Fatal error: Class 'Debug' not found in C:\Inetpub\wwwroot\silverstripe\sapphire\core\Core.php on line 166 . Anyone have an idea to fix it? Thanks

Avatar
baba-papa

Community Member, 279 Posts

23 August 2009 at 8:27am

Silverstripe has no index.php, it´s called main.php

Avatar
ajshort

Community Member, 244 Posts

23 August 2009 at 11:28am

Just to correct the last poster, SilverStripe does actually have an index.php file to support operation without rewrite rules. However, I'm not sure of a fix for this issue - have you tried adding ?flush to your URL?

Avatar
noursicain

Community Member, 4 Posts

23 August 2009 at 2:01pm

Hello, i try the url : http://192.168.0.7/silverstripe/INDEX.PHP?flush and the result is now : PHP Warning: $project isn't set in C:\Inetpub\wwwroot\silverstripe\sapphire\core\ManifestBuilder.php on line 216 PHP Notice: Undefined index: require_once in C:\Inetpub\wwwroot\silverstripe\sapphire\core\ManifestBuilder.php on line 118 PHP Warning: Invalid argument supplied for foreach() in C:\Inetpub\wwwroot\silverstripe\sapphire\core\ManifestBuilder.php on line 118 PHP Fatal error: Class 'Debug' not found in C:\Inetpub\wwwroot\silverstripe\sapphire\core\Core.php on line 166

Avatar
WorkingSolution

Community Member, 18 Posts

23 August 2009 at 5:02pm

what happen when you try this:

http://192.168.0.7/silverstripe/?flush=1

Avatar
noursicain

Community Member, 4 Posts

24 August 2009 at 11:28am

Hello, it worked. Thanks.

Avatar
asifskazi

Community Member, 3 Posts

26 August 2009 at 3:04am

I have the same problem. It did not work me though. What could possibly be wrong. Please advice

Avatar
noursicain

Community Member, 4 Posts

29 August 2009 at 12:34am

Hello,

just to make a complete story, the fix worked for the index.php but when i try a link in this page (Index.php), the problem returned. I tried to flush the entire content of the cache folder but it didn't help.

Go to Top