Heute wollte ich auf mein BAckend zugreifen und bekam die Fehlermeldung
An error occurred while executing this script!
If you are a Contao user, contact the administrator of your website.
Open file system/logs/error.log and search for a corresponding entry.
Open file system/config/localconfig.php and add the following line:
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
Read the Contao FAQs or visit the Contao support page.
Bis dahin konnte ich zumindest die Webseite selber öffnen.
Hab dann in meinem Dreamweaver die lokale "localconfig.php" um den Satz
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
ergänzt und hochgeladen, woraufhin nicht mal mehr die Webseite angezeigt wurde,
sondern eine andere Fehlermeldung:
Fatal error: Uncaught exception Exception with message Could not connect to database (Access denied for user 'www-data'@'localhost' (using password: NO)) thrown in /var/www/vhosts/***.de/httpdocs/system/libraries/Database.php on line 78
#0 /var/www/vhosts/***.de/httpdocs/system/libraries/Database.php(136): Database->__construct()
#1 [internal function]: Database::getInstance()
#2 /var/www/vhosts/***.de/httpdocs/system/libraries/System.php(147): call_user_func(Array)
#3 /var/www/vhosts/***.de/httpdocs/system/libraries/Model.php(86): System->import('Database')
#4 /var/www/vhosts/***.de/httpdocs/system/modules/frontend/FrontendUser.php(91): Model->__construct()
#5 /var/www/vhosts/***.de/httpdocs/system/modules/frontend/FrontendUser.php(173): FrontendUser->__construct()
#6 [internal function]: FrontendUser::getInstance()
#7 /var/www/vhosts/***.de/httpdocs/system/libraries/System.php(147): call_user_func(Array)
#8 /var/www/vhosts/***.de/httpdocs/index.php(59): System->import('FrontendUser', 'User')
#9 /var/www/vhosts/***.de/httpdocs/index.php(318): Index->__construct()
#10 {main}
Ich hab die Änderung rückgängig gemacht und wie ursprüngliche localconfig.php wieder hochgeladen und nun erscheint
unter meiner URL die Fehlermeldung:
An error occurred while executing this script!
If you are a Contao user, contact the administrator of your website.
Open file system/logs/error.log and search for a corresponding entry.
Open file system/config/localconfig.php and add the following line:
$GLOBALS['TL_CONFIG']['displayErrors'] = true;
Read the Contao FAQs or visit the Contao support page.
Was mach ich denn jetzt?! Kann mir jemand helfen?
lg,
Susanne
Lesezeichen