Ergebnis 1 bis 4 von 4

Thema: Suchseite funktioniert lokal aber auf dem server nicht mehr.

  1. #1
    Contao-Fan
    Registriert seit
    08.03.2010.
    Beiträge
    451

    Frage Suchseite funktioniert lokal aber auf dem server nicht mehr.

    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}
    Geändert von atomfried (13.07.2011 um 18:26 Uhr)

  2. #2
    Contao-Fan
    Registriert seit
    08.03.2010.
    Beiträge
    451

    Standard

    habe einfach mal system/tmp auf "777" gesetzt und nun gehts. komisch das mir das die contao-check.php nicht angezeigt hat.

  3. #3
    Alter Contao-Hase
    Registriert seit
    10.05.2010.
    Ort
    Andernach / Rlp
    Beiträge
    1.158
    User beschenken
    Wunschliste

    Standard

    Hallo atomfried,

    der Contao-Check wird sicherlich jetzt die Rechte-Vergabe deines Temp-Ordners beanstanden.
    Gibt es evtl. eine .htaccess Datei in deinem Temp-Ordner die nicht dahin gehört?


    Viele Grüße
    MiTsch
    Wer nichts weiss muss alles Glauben !

  4. #4
    Contao-Fan
    Registriert seit
    08.03.2010.
    Beiträge
    451

    Standard

    ja es gab eine .htaccess darin. ich habe sie nun gelöscht und jetzt beschwert sich der contao-check wie folgt:

    system/tmp/.htaccess • - 664, 644, 660, 640 - 0 • File Missing

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
  •