Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Publish button in cms gives blank page suddenly

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

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

Page: 1
Go to End
Author Topic: 1211 Views
  • jananton
    Avatar
    3 Posts

    Publish button in cms gives blank page suddenly Link to this post

    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]

  • jananton
    Avatar
    3 Posts

    Re: Publish button in cms gives blank page suddenly Link to this post

    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...?

    1211 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.