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

v2.3.3 blank page suddenly after ?flush=1 HELP!

Go to End

21 Posts   3685 Views


14 October 2009 at 4:55pm Community Member, 64 Posts

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

14 October 2009 at 4:57pm Community Member, 145 Posts

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.


14 October 2009 at 10:41pm Community Member, 64 Posts

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!!!


15 October 2009 at 2:15am Community Member, 16 Posts

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.


15 October 2009 at 3:12am Community Member, 64 Posts

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:

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


15 October 2009 at 4:28am Community Member, 16 Posts

can you log in using ssh ? Am not a SS expert. This may help regarding apache log :


15 October 2009 at 8:38am Community Member, 323 Posts


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('', true);

Hope it helps,


15 October 2009 at 9:05am Community Member, 64 Posts

hi, after running in dev mode, now this error page shows up:

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?

Go to Top