I've been building a site on localhost and have had some sort of error occur and now can't even get to the admin screen to login to the CMS.
See an image of the screen I get below
Any suggestions?
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
I've been building a site on localhost and have had some sort of error occur and now can't even get to the admin screen to login to the CMS.
See an image of the screen I get below
Any suggestions?
1) Put your site into dev mode so you can see the error: http://doc.silverstripe.com/doku.php?id=debugging#dev_mode
2) Try visiting dev/build; your error might be due to a stale database.
When I view the _config.php file I see the following
Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));
which I think means it's in dev mode by default??
I've been to dev/build?flush=1 and get the same result
You might need to add 'localhost:3000' as an entry.
The address I've been using is as follows.
http://localhost:3000/SilverStripe-v2.3.0/dev/build?flush=1
It takes me directly to the place as shown in the screenshot in the first post
No, I mean, update set_dev_servers as follows:
Director::set_dev_servers(array(
'localhost:3000',
'localhost',
'127.0.0.1',
));
Forgive my ignorance Sam
Did that and bingo
Everything has now magically appeared
Thanks - was beginning to think a complete do over was next.