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.

Installing SilverStripe

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

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

PHP error after installing Silverstripe


Go to End
Reply

9 Posts   3750 Views

Avatar
noursicain

20 August 2009 at 12:28pm Community Member, 4 Posts

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

23 August 2009 at 8:27am Community Member, 279 Posts

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

Avatar
ajshort

23 August 2009 at 11:28am Community Member, 244 Posts

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

23 August 2009 at 2:01pm Community Member, 4 Posts

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

23 August 2009 at 5:02pm Community Member, 18 Posts

what happen when you try this:

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

Avatar
noursicain

24 August 2009 at 11:28am Community Member, 4 Posts

Hello, it worked. Thanks.

Avatar
asifskazi

26 August 2009 at 3:04am Community Member, 3 Posts

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

Avatar
noursicain

29 August 2009 at 12:34am Community Member, 4 Posts

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