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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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

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


Go to End


21 Posts   7442 Views

Avatar
kudesign

Community Member, 64 Posts

14 October 2009 at 4:55pm

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

Avatar
Bruce B

Community Member, 164 Posts

14 October 2009 at 4:57pm

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.

Avatar
kudesign

Community Member, 64 Posts

14 October 2009 at 10:41pm

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

Avatar
arnott

Community Member, 16 Posts

15 October 2009 at 2:15am

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.

Avatar
kudesign

Community Member, 64 Posts

15 October 2009 at 3:12am

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.

Avatar
arnott

Community Member, 16 Posts

15 October 2009 at 4:28am

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.

Avatar
Juanitou

Community Member, 323 Posts

15 October 2009 at 8:38am

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

Avatar
kudesign

Community Member, 64 Posts

15 October 2009 at 9:05am

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?

Go to Top