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.

We've moved the forum!

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.

General Questions /

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

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

Cant do a db/build


Go to End


5 Posts   1131 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
bummzack

Community Member, 904 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.