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:

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   4785 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