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.
Bookmarks