21308 Posts in 5737 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1518 Views |
-
Can't open the login screen

27 February 2009 at 10:29am
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?
-
Re: Can't open the login screen

27 February 2009 at 10:38am
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.
-
Re: Can't open the login screen

27 February 2009 at 10:47am
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
-
Re: Can't open the login screen

27 February 2009 at 10:54am
You might need to add 'localhost:3000' as an entry.
-
Re: Can't open the login screen

27 February 2009 at 11:02am
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
-
Re: Can't open the login screen

27 February 2009 at 11:07am
No, I mean, update set_dev_servers as follows:
Director::set_dev_servers(array(
'localhost:3000',
'localhost',
'127.0.0.1',
)); -
Re: Can't open the login screen

27 February 2009 at 11:16am
Forgive my ignorance Sam
Did that and bingo
Everything has now magically appeared
Thanks - was beginning to think a complete do over was next.
| 1518 Views | ||
|
Page:
1
|
Go to Top |

