Jump to:

23483 Posts in 18965 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » v2.3.3 blank page suddenly after ?flush=1 HELP!

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1 2 3
Go to End
Author Topic: 3626 Views
  • kudesign
    Avatar
    Community Member
    64 Posts

    v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    I have built my site, and all works fine until i did a ?flush=1, suddenly all my pages are blank!!

    I am not sure what happens here, have tried look a solution, but with no luck! Has anyone got a similar problem before, and know why the pages would suddenly go blank? this gave me such a surprise as i need the site to go live today.

    Please help!!!!! Thank you!!!

  • Bruce B
    Avatar
    Community Member
    145 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    almost certainly you have a php syntax error somewhere in your new code. Are you running this locally where you can see the Apache error log? that will tell you where the error is.

  • kudesign
    Avatar
    Community Member
    64 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    hi thanks for your reply, how can i check my apache log? the site is hosted in a live server, and live at the moment, still seeing blank pages... i wonder why it would go blank after ?flush=1... pretty scary...

    much appreciate your further support!!!

  • arnott
    Avatar
    Community Member
    16 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    If you remember the last change in the php code, you can undo it and see if it fixes the problem.

    If you are running SS on a linux machine, the log file should be at /var/log/httpd and called error_log, depending on the linux distro.

  • kudesign
    Avatar
    Community Member
    64 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    I can't seem to find the var folder when i log in using FTP... is there a way to reinstall a new copy of SS on top of the faulty one? It is strange as I have not changed any php code at all... the site is still in blank page, here it is what it looks like: http://nisglass.co.nz/nz/

    Still require urgent help and possible steps to resolve this problem! thanks in advance.

  • arnott
    Avatar
    Community Member
    16 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    can you log in using ssh ? Am not a SS expert. This may help regarding apache log : http://httpd.apache.org/docs/1.3/logs.html.

  • Juanitou
    Avatar
    Community Member
    323 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    Hi!

    Doing a dev/build in your site still redirects to Security/Login, so SS is running… before outputting any data. You should have a way to come back to the previous working version (backups, a simple Ctrl+Z on your last edited code). If it’s not the case, activate the developer mode in your _config.php and you’ll certainly receive errors in your inbox.

    if(!Director::isDev()) Debug::send_errors_to('name@domain.nz', true);

    Hope it helps,
    Juan

  • kudesign
    Avatar
    Community Member
    64 Posts

    Re: v2.3.3 blank page suddenly after ?flush=1 HELP! Link to this post

    hi, after running in dev mode, now this error page shows up: http://nisglass.co.nz/nz/

    I have not written any new codes for SS, it was like it worked perfectly before a ?flush=1, I wish I could do a simple ctrl-z but I couldn't...

    I even tried to switch to the default blackcandy template, and still it does not seem to want to work, still just get a blank page. So frustrated, I stayed up all night trying to fix it. Could it be my server host's problem? that they have changed a setting on their server causing SS to malfunction?

    3626 Views
Page: 1 2 3
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.