21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 628 Views |
-
Cant do a db/build

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.phpController->run(Array)
line 22 of ModelAsController.phpModelAsController->run(Array)
line 104 of Director.phpDirector::direct(/latinRetreatsRio/db/build/)
line 159 of main.phpAny Ideas?? I can copy the database and the site seems to run. But ill be buggered if i can do a db/build??
-
Re: Cant do a db/build

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.
-
Re: Cant do a db/build

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
-
Re: Cant do a db/build

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.
| 628 Views | ||
|
Page:
1
|
Go to Top |



