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.

Customising the CMS /

"$project is n't set" then blank site :(


Reply


2 Posts   429 Views

Avatar
nekranox

Community Member, 31 Posts

9 November 2011 at 11:46am

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!

Avatar
nekranox

Community Member, 31 Posts

9 November 2011 at 11:53am

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