Results 1 to 3 of 3

Thread: Website just stopped working

  1. #1
    New user
    Join Date
    10-14-10.
    Posts
    3

    Default Website just stopped working

    Hi all!

    When I checked the website http://www.tursar.net this morning it just was not there and it looked fine yesterday.
    I didn't do any changes to the site yesterday either. I just worked on newsletters.

    I got this error message:
    __________________________________________
    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.
    To customize this notice, create a custom template file named templates/be_error.tpl.
    ____________________________________________

    I went to system/logs/ and tried to find error.log but it wasn't there.
    I opened system/config/localconfig.php and copy-pasted the "$GLOBALS..."-line to it. At least I think I did it right....
    I then tried to reload.. use IE... etc etc... nothing happens.

    I can still log in to contao and all the files are there.
    The index.php-file has not ben changed since the 18th this month.

    I sent an email to the web hotel. They just replied that I must have changed something......
    Well... maybe I was sleepwalking last night but I find it hard to believe.

    Before I delete everything and try to rebuild the site again... or however you do it.... I need to check with you experts.
    Is there ANYTHING I can do or do I have to start over somehow?

    Hoping to get help!

    ************************************************** ****************
    Hehehe...
    Just as I had posted this message a friend helped me out..... so I thougth I'd paste the solution in case some other newbie like me has problems. I don't understand more than that the database had crashed somehow and that he corrected it.... wow..... How was I supposed to know that a database had crashed?

    This is what he wrote:

    in public_html folder there is a file error_log, and in that file there are
    lots of lines like this:

    [24-Nov-2010 12:47:57] PHP Fatal error: Uncaught exception 'Exception' with
    message 'Query error: Table './tursarn_db/tl_search' is marked as crashed
    and should be repaired (SELECT id, checksum FROM tl_search WHERE
    url='index.php/home.html' AND pid='13' LIMIT

    So it says that in the database tursarn_db there is one table that is
    crashed.

    I went to cPanel-> Databases-> MySQL Databases,
    there is a section "Modify Databases", I selected tursarn_db and clicked
    "Check DB",
    and it checked the database, found the crashed table and corrected it.

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Website just stopped working

    Glad to hear you got it fixed, Marianne!

  3. #3
    User
    Join Date
    06-27-09.
    Location
    Ljusne, Sweden
    Posts
    59

    Default Re: Website just stopped working

    Well, "nice" to hear that someone else experienced this...
    It has happened two times in a short period of time for me on two separate customer websites. The tl_search table crashed and needed repair. I can't say that I really know what has caused it but the first time it happened I was working on a custom module. The second time it crashed when working on a newsletter, just as for Marianne.

    Lets keep an eye on this and try figuring out exactly what triggers it.

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
  •