hallo,
ich habe eine suche auf einer webseite eingebaut. bei mir lokal funktioniert alles einwandfrei, aber leider nicht auf dem server. ich kann noch nicht einmal die seite mit der suche aufrufen. es kommt dann die meldung.
Code:
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.
hier ist die error.log:
[20-May-2011 19:50:51] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(name, nachricht, tstamp, ip, pid) VALUES ('fasdfasdf', 'fasdfasdfasdf', 1305913' at line 1 (INSERT INTO (name, nachricht, tstamp, ip, pid) VALUES ('fasdfasdf', 'fasdfasdfasdf', 1305913851, '::1', '2'))' thrown in /Applications/MAMP/htdocs/Contao_Standard/system/libraries/Database.php on line 642
anscheinend nimmt er immer noch pfade aus meiner lokalen installation obwohl sich die seite schon auf dem online server befindet.
jemand eine idee?
EDIT:
ich habe mir mal die fehler ausgeben lassen. folgendes kam raus:
Fatal error: Uncaught exception Exception with message Cannot create file "system/tmp/3414552e87dd1def2688ad485063f3e6" thrown in /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/libraries/File.php on line 109
#0 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/ModuleSearch.php(187): File->__construct('system/tmp/3414...')
#1 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/Module.php(140): ModuleSearch->compile()
#2 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/ModuleSearch.php(69): Module->generate()
#3 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/ContentModule.php(72): ModuleSearch->generate()
#4 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/libraries/Controller.php(415): ContentModule->generate()
#5 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/ModuleArticle.php(173): Controller->getContentElement('24')
#6 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/Module.php(140): ModuleArticle->compile()
#7 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/ModuleArticle.php(71): Module->generate()
#8 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/libraries/Controller.php(348): ModuleArticle->generate(false)
#9 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/libraries/Controller.php(221): Controller->getArticle('8', false, false, 'main')
#10 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/system/modules/frontend/PageRegular.php(71): Controller->getFrontendModule('0', 'main')
#11 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/index.php(198): PageRegular->generate(Object(DB_Mysql_Result))
#12 /srv/www/vhosts/ilf-unique.com/httpdocs/restaurante/index.php(333): Index->run()
#13 {main}
Lesezeichen