Hi,
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:
- /dev/build?flush=all
- 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,
Mauro.
<?php
global $project;
$project = 'mysite';
global $databaseConfig;
$databaseConfig = array(
"type" => "MySQLDatabase",
"server" => "*****",
"username" => "*****",
"password" => "*****",
"database" => "*****",
);
// Sites running on the following servers will be
// run in development mode. See
// http://doc.silverstripe.com/doku.php?id=devmode
// for a description of what dev mode does.
Director::set_dev_servers(array(
'localhost',
'127.0.0.1',
));
// This line set's the current theme. More themes can be
// downloaded from http://www.silverstripe.com/cms-themes-and-skin
SSViewer::set_theme('pinksheep');
BlogEntry::allow_wysiwyg_editing();
Director::set_environment_type('dev');
Debug::send_errors_to('myemail.com');
MollomServer::setPublicKey("*****************");
MollomServer::setPrivateKey("****************");
SpamProtectorManager::set_spam_protector('MollomSpamProtector');
Form::disable_all_security_tokens();
?>