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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Publish button in cms gives blank page suddenly

Go to End

2 Posts   1462 Views


3 Posts

25 October 2007 at 4:33am

Hello All,

Somewhere deep in tutorial 2, notably at the point of adding news items to the front page, suddenly the publish button opens up a new blank browser window (IE7). The draft button works as expected giving the home page with added news content, but the publish button, that worked quite well before this seems to have gone to tea...;-)

Checking the source of this blank page all there is are the standard html tags with empty head and body. However if I refresh that blank window the wanted page shows allright just as in the draft version.

Anybody any idea where this is coming from ?

[Running the CMS on XAMPP localhost Win XP Pro SP2]


3 Posts

25 October 2007 at 5:20am

Well, strange to answer myself, but I found a workaround, I think.

After obviously flushing anything in sight I got no results. Still a blank published page.
However, after a long hard look in common problems here on the devmode site I added the line: Director::set_environment_type("dev"); to the tutorial/_config.php, flushed the cms and suddenly the published page shows as expected, with a red block stating published site. To see if my luck would hold, I commented the above line out again and refreshed all again. And behold, the publish button keeps working.

Allthough this is a quick fix, I'm wondering still why this happened in the first place...?