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.

Archive /

Our old forums are still available as a read-only archive.

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

Error on db/build while trying to load sub templates


Go to End


2 Posts   1998 Views

Avatar
sjbmaine

Community Member, 17 Posts

26 November 2008 at 2:55am

Edited: 26/11/2008 2:56am

After uploading a new sub template ss to my templates folder and the corresponding file to the tutorial/code folder, I received this message when I ran db/build/?flush=1 and I don't know how to recover from it. Help! I'm in over my head.

Warning: Cannot modify header information - headers already sent by 
(output started at /home/content/s/j/b/sjbmaine/html/elmers/sapphire/core/model/DatabaseAdmin.php:137) in /home/content/s/j/b/sjbmaine/html/elmers/sapphire/core/Debug.php on line 151
Error

The website server has not been able to respond to your request.

Avatar
Willr

Forum Moderator, 5523 Posts

26 November 2008 at 6:58pm

That is the generic error. More useful is the full error which you can get if you put the site into Dev mode by adding 'Director::set_environment_type("dev");' to your mysite/_config.php file