Jump to:

4952 Posts in 14338 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Unable to Restore SS Site after Windows 7 Upgrade

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

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

Page: 1
Go to End
Author Topic: 950 Views
  • Garrett
    Avatar
    Community Member
    245 Posts

    Unable to Restore SS Site after Windows 7 Upgrade Link to this post

    Hi,

    I'm going absolutely CRAZY trying to get a SilverStripe instance back up using the same code and database as I was before. (Indeed ALL OF my SS instances are dead). I've spent way too much time on this and am now asking for help from the pros.

    I just upgraded from Win XP to Windows 7 and as you may or may not know this causes you to have to reinstall most of your programs, Apache (2.2.16) and PHP (5.3.3) among them, which I have done. PHP is running. MySQL is running. Both verified using <? phpinfo(); ?>. And I have the DocumenRoot set to my SilverStripe root and mod_rewrite is enabled and AllowOverride All is set blah blah blah. And the database I'm referring to in _config.php is literally the same database as it was right before the upgrade. Nothing has changed. And the SYSTEM account as well as MY Windows account has full control of the root folder and subfolders.

    But guess what -- EVERY request is a BLANK PAGE (not even an <html> tag) and there is NOTHING in the error log.

    When I try to run the install script, it gives the Status message "Creating C:\Workspace\...\...\.htaccess" and then stops. For good. It does in fact create the .htaccess file but then nothing happens after that and any request to the site results again in blank pages, including the CMS. What am I doing wrong here?

    I can run a normal non-SS PHP site without any issues. It seems clear that this is a configuration problem, but I'm at my wit's end. I'm going to attach my php.ini and httpd.conf and hopefully someone out there can help me out with this. I've developed probably a dozen SS sites but had never touched my Apache/PHP/MySQL installs until now and voila.

    Thanks in advance,
    Garrett

    Attached Files
  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Unable to Restore SS Site after Windows 7 Upgrade Link to this post

    Never had this error personality but how I would debug it is put a die('123'); at the top of sapphire/main.php. This file is the first file after the .htaccess which is called. If you don't see a 123 then the issue is with htaccess. Debugging that is a bit trickier. You can take that out of the equation by using the index.php file - eg try domain.com/index.php/admin and if you still get a blank screen then put that die('123'); statement in index.php. Once you start seeing 123 then move the die statement futher down the execution pipeline till it blank screen. That should isolate a function / line.

  • Garrett
    Avatar
    Community Member
    245 Posts

    Re: Unable to Restore SS Site after Windows 7 Upgrade Link to this post

    Hi @Willr. Thanks for replying. I did as you instructed.

    I followed the code from main.php to Core.php and then it seems to be dying in the function include_manifest() on line 70 (require_once(MANIFEST_FILE);) in ManifestBuilder.php. The die() prints out before this line and then not after. And i don't know what MANIFEST_FILE refers to so I'm not sure where to go from here. Help!

    Thanks,
    Garrett

    950 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.