Contao-Camp 2024
Ergebnis 1 bis 9 von 9

Thema: Site stopped working

  1. #1
    Contao-Nutzer
    Registriert seit
    25.06.2016.
    Beiträge
    3

    Standard Site stopped working

    Hi all,

    my site run on 2.9.x stopped working a few days ago. Probably something was updated on the server end, e.g. MySQL version, PHP version, whatsoever.
    Any hint what I should look for or what I could manually update to help?

    I receive following error:




    An error occurred while executing this script!
    1.If you are a Contao user, contact the administrator of your website.
    2.Open file system/logs/error.log and search for a corresponding entry.
    3.Open file system/config/localconfig.php and add the following line:$GLOBALS['TL_CONFIG']['displayErrors'] = true;

    4.Read the Contao FAQs or visit the Contao support page.

    To customize this notice, create a custom template file named templates/be_error.tpl.




    Thank you,
    Alan

  2. #2
    Contao-Urgestein Avatar von do_while
    Registriert seit
    15.06.2009.
    Ort
    Berlin | Deutschland
    Beiträge
    3.612
    Partner-ID
    1081
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    And do you have done these 4 points in the errror screen?
    What are the results for point 2 and 3?

  3. #3
    Gesperrt
    Registriert seit
    07.05.2011.
    Beiträge
    1.199

    Standard

    1. Open file system/logs/error.log and search for a corresponding entry.
    2. Run the Contao Check tool for Cto. 2.9.

  4. #4
    Contao-Nutzer
    Registriert seit
    25.06.2016.
    Beiträge
    3

    Standard

    It doesn't seem to connect to the database...

  5. #5
    Gesperrt
    Registriert seit
    07.05.2011.
    Beiträge
    1.199

    Standard

    Run Contao Check for 2.9.

    On example, maybe the localconfig.php is corrupt.

  6. #6
    Contao-Nutzer
    Registriert seit
    25.06.2016.
    Beiträge
    3

    Standard

    This is strange. Localconfig is a very small file either on my install or in version 2.9. version 3.x file is much bigger. there is a config.php file though on 2.9.5. all the db-information-lines were blank. i've manually added the information. and now it seems to work. i haven't thouched this file in years. its latest change data was from back in 2011. the page ran perfectly since then. now it seems to run again....

  7. #7
    Contao-Urgestein
    Registriert seit
    10.07.2010.
    Beiträge
    4.403
    User beschenken
    Wunschliste

    Standard

    You might missing space on your webspace.

    Contao cant write data back and so it keeps the File blank.

    Check with your provider. If you use a shared hosting it not even has to bee your hosting plan who run out of space.

    If it is running again, someone made order on the Server.


  8. #8
    Administratorin Avatar von lucina
    Registriert seit
    19.06.2009.
    Ort
    Kiel (DE)
    Beiträge
    7.332
    Partner-ID
    152
    User beschenken
    Wunschliste
    Contao-Projekt unterstützen

    Support Contao

    Standard

    Zitat Zitat von mammagamma Beitrag anzeigen
    This is strange. Localconfig is a very small file either on my install or in version 2.9. version 3.x file is much bigger. there is a config.php file though on 2.9.5. all the db-information-lines were blank. i've manually added the information. and now it seems to work. i haven't thouched this file in years. its latest change data was from back in 2011. the page ran perfectly since then. now it seems to run again....
    You definitely have done wrong since config.php is a system file you should never touch. All the settings have to be done at localconfig.php, which overrules the presets intentionally left blank in config.php.

    So, put your settings into the appropriate file, please. You may do so by calling http://{yourdomain}/contao/install.php, or simply take an editor (which should be able to write UTF-8 coded text files).

    After that, I suggest that you check a) the avialable web space and b) your installation by uploading and calling the Contao check tool. So, if there are some files rotten you will be able to replace tehm.
    Geändert von lucina (25.06.2016 um 15:54 Uhr) Grund: Typo

  9. #9
    Gesperrt
    Registriert seit
    07.05.2011.
    Beiträge
    1.199

    Standard

    now it seems to run again....
    Ok. In this case that'll make your day.

    Otherwise it´s strongly recommmended to run the Contao Check for Contao 2.9.x. For example sometimes (seldom) it happens that the Contao Cron overwrites the /system/config/localconfig.php. This file stores also the entries for database access. If the Contao Check shows this error, download the same Contao Version 2.9.x, copy the origin localconfig.php, restore the database access entries and move it to your webspace path /system/config/.

    The Contao check displays "Your Installation is up to date" if no errors was found.

    Nachtrag: Ups, hat sich überschnitten.
    Geändert von soweit_ok (25.06.2016 um 15:00 Uhr)

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Lesezeichen

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •