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, Ed, biapar, Willr, Ingo, swaiba

"Error Saving Content" after moving website to new server

Go to End

2 Posts   1105 Views


Community Member, 1 Post

11 December 2009 at 6:32am

This seems to be a strange problem, but maybe there is a simple fix. We moved our website Version 2.3.0 from a staging area to a new dedicated server. After the move a handful of pages are saying "Error Saving Content" when we try to edit the page. Although if I remove certain pieces of content it saves fine. Here is a step by step of how was able to recreate it:

1. Try to save the content that was ported over and it gives the error.
2. Remove the word "Updates" and the content saves without erroring.
3. Put a different word in with the same amount of characters and it saves fine.

It's going to be very time consuming going though each page to find the actual problems in the content. Has anyone seen this before?



Forum Moderator, 5523 Posts

11 December 2009 at 8:45am

Put the site into devmode by adding Director::set_environment_type("dev"); in your _config file and then install firebug for firefox.

Then open up firebug, go to the console tab and enable it (You'll probably have to reload the browser) then next time you save you should see the error in the console window. If devmode has been configured - which is has if you did step 1 then you should see the full blown error message which will help track the underlying issue down.