Jump to:

5450 Posts in 1672 Topics by 1197 members

Customising the CMS

SilverStripe Forums » Customising the CMS » "$project is n't set" then blank site :(

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

Page: 1
Go to End
Author Topic: 325 Views
  • nekranox
    Avatar
    Community Member
    31 Posts

    "$project is n't set" then blank site :( Link to this post

    Hey guys,

    I accidentally removed:

    global $project;
    $project = 'mysite';

    from my _config.php and did a dev/build.

    it gave me the "$project isn't set" error and when I added back in I accidentally set it to something else.

    when i realise and set it back to "mysite" the dev build now works again but isn't detecting any of my custom classes such as blog or custom page types. both front-end and admin are blank. database seems to be untouched.

    please help!

  • nekranox
    Avatar
    Community Member
    31 Posts

    Re: "$project is n't set" then blank site :( Link to this post

    never mind! the problem was the dev build wasnt completing because i had a PHP error. please ignore.

    325 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.