22855 Posts in 9971 Topics by 2805 members
Page: 1 2
|Go to End||Next >|
3 August 2011 at 5:50am Last edited: 3 August 2011 5:50am
I've uploaded on my website a new template. At the beginning, everything looked perfect but apparently without any reason, the next day the site showed a blank page.
I've tried the following without any luck:
- Reverting to the previous template
I'd like to get at least an error message to better understand the problem but even adding Director::set_environment_type('dev'); and Debug::send_errors_to('myemail.com'); I didn't get any clues.
Here follows my _config.php: any help would be very appreciated,
$project = 'mysite';
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "*****",
"username" => "*****",
"password" => "*****",
"database" => "*****",
// Sites running on the following servers will be
// run in development mode. See
// for a description of what dev mode does.
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/cms-themes-and-skin
3 August 2011 at 6:22am
You can also add ?isDev=1 or &isDev=1 to the end of your URL and get a little more details. Also ?debug=1 may help
3 August 2011 at 6:58am
Thank you for the follow up!
I've tried all of the suggested urls but no luck: always the same meaningless blank page.
Do I have to log on as admin before? Obviously I can't since neither the admin pages work.
3 August 2011 at 7:10pm
You may also get a blank page if your server is set to display_errors = Off (or 0). You want to check your PHP error log for the error or set display_errors to '1' to see the error message. Likely an PHP error with your syntax
4 August 2011 at 12:06am
I'm on a shared hosting: is it something I can check by myself or do I have to ask something to the hoster?
4 August 2011 at 2:12am Last edited: 4 August 2011 2:15am
Often, if you have access to a console like plesk, you can take a look at the logfiles from there.
Did you try to remove the offending template and do a ?flush=1 ?
4 August 2011 at 2:15am
There used to be a way you force login from the URL, what happened to that?
4 August 2011 at 5:04am
Finally I'm shedding some light...
Seems like that my girlfriend has ignored some mails from the hosting provider which stated that on 1st of august the PHP version would have been upgraded to 5.3!
So what have broken everything wasn't the template (which in turn have worked fine for a day) but the new PHP version.
The question now is: how can I upgrade silverstripe to a versione 5.3-compatible?
Is it possible to procede with a normal upgrade even if the site at the moment is down?
Thank you very much for you support.
Page: 1 2
|Go to Top||Next >|