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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Cant do a db/build


Reply


5 Posts   748 Views

Avatar
b0bro

Community Member, 38 Posts

1 September 2009 at 12:18pm

Hi, ive copied an old clients site down to my local machine. Trying to do a db/build?flush=1 (Older version of SS) and i get the following error.

user_error(Disallowed action: 'db' on controller 'ErrorPage_Controller',256)
line 121 of Controller.php

Controller->run(Array)
line 22 of ModelAsController.php

ModelAsController->run(Array)
line 104 of Director.php

Director::direct(/latinRetreatsRio/db/build/)
line 159 of main.php

Any Ideas?? I can copy the database and the site seems to run. But ill be buggered if i can do a db/build??

Avatar
Hamish

Community Member, 712 Posts

1 September 2009 at 4:05pm

try dev/build?flush=1 - this is the new URL.

Avatar
b0bro

Community Member, 38 Posts

2 September 2009 at 4:43pm

Thanks hamish, I was only using db/build because its a early version 2.2.3

NOW TRYING TO UPDATE..

new development. Running dev/build?flush=1 i just get "Creating Database Tables" and nothing else!!!

I dont even get an error!

Try to look at my site and i only get the white screen of death!
The site has multi languages and wondering if this has something to do with it??

Please help. I require the latest SS version so must figure this out.

Avatar
banal

Community Member, 901 Posts

2 September 2009 at 6:58pm

A white screen usually means you got errors in your PHP code. Have a look at the PHP Error log. You should find the cause of your problem there. If you don't have access to the PHP Error log, maybe this helps: http://doc.silverstripe.com/doku.php?id=debugging

Avatar
b0bro

Community Member, 38 Posts

3 September 2009 at 11:55am

thank you, i had no idea about debugging and have been annoyed all this time that i couldnt see what was going on.