21303 Posts in 5736 Topics by 2603 members
|Go to End||Next >|
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!!!
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.
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!!!
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.
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.
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.
15 October 2009 at 8:38am
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('firstname.lastname@example.org', true);
Hope it helps,
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||Next >|