Results 1 to 4 of 4

Thread: need help urgently

  1. #1
    New user
    Join Date
    09-17-09.
    Posts
    4

    Default need help urgently

    hi there,
    until a couple of days ago (last time i checked) our webpage ran smoothly without any hickups, now today a client calls me up and says he cannot display the page at all. when i type in the url (http://www.k18.at) i now get:

    An error occurred while executing this script!
    If you are a TYPOlight 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;
    Visit the TYPOlight FAQ page or search the TYPOlight forum.

    what is going on here? I did get the error log as advised, but that doesn't get me any further when trying to pinpoint the problem. it says:
    [2010-10-18 08:54:36] Cannot read local configuration file system/config/localconfig.php!
    [18-Oct-2010 08:54:36] PHP Fatal error: Uncaught exception 'Exception' with message 'Could not connect to database (Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2))' thrown in /homepages/36/blahblahblah/system/libraries/Database.php on line 76

    any help?

  2. #2
    New user
    Join Date
    09-17-09.
    Posts
    4

    Default Re: need help urgently

    ok, so i copied an old version of the localconfig.php, which we had stored locally for backup purposes to the server and now everything seems to run fine again.
    question remains: why on earth did that file get deleted on the server in the first place? i did not change anything at all during the last couple of months really... :?:

  3. #3
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: need help urgently

    Chances are your mysql server was down.
    EDIT: sorry, didn't see this....
    [2010-10-18 08:54:36] Cannot read local configuration file system/config/localconfig.php!
    so no idea sorry.

  4. #4
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,287

    Default Re: need help urgently

    Quote Originally Posted by wizzackr
    question remains: why on earth did that file get deleted on the server in the first place? i did not change anything at all during the last couple of months really... :?:
    Are you using the "Safe Mode Hack (SMH)"? As I have already seen in the German forum, there are some people with similar problems regarding an empty or incomplete local configuration file.

    A possible cause for the problem could be the so-called "poor man's cron" (page template), which under certain circumstances can run into some "race conditions"...

    The problem could also be caused by an rather full web space with not enough memory left to save the time-stamps in the configuration file.
    Contao Community Moderator
    → Support options

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •