Ergebnis 1 bis 8 von 8

Thema: Probleme mit Contao-Installation

  1. #1
    Contao-Nutzer
    Registriert seit
    12.02.2014.
    Beiträge
    2

    Standard Probleme mit Contao-Installation

    Hallo Community,

    ich habe mich für eine Website mit Contao-CMS entschlossen, werde aber bereits bei der Installation auf eine harte Probe gestellt. Leider komme ich mit den Beiträgen in diesem Forum nicht wirklich weiter. Auch der Beitrag zur Installation bei 1und1 im Contao-Wiki (Stand 04/2013) hilft mir nicht.
    Folgende Fehlermeldungen sind zu sehen:
    Code:
    Deprecated notice: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in system/modules/core/library/Contao/Database/Mysql.php on line 58
    
    #0 [internal function]: __error(8192, 'mysql_connect()...', '/homepages/15/d...', 58, Array)
    #1 system/modules/core/library/Contao/Database/Mysql.php(58): mysql_connect('db5149xxxxx.db....', 'dbo5149xxxxx', 'xxxxxx')
    #2 system/modules/core/library/Contao/Database.php(77): Contao\Database\Mysql->connect()
    #3 system/modules/core/library/Contao/Database.php(160): Contao\Database->__construct(Array)
    #4 [internal function]: Contao\Database::getInstance()
    #5 system/modules/core/library/Contao/System.php(110): call_user_func(Array)
    #6 system/modules/core/library/Contao/User.php(89): Contao\System->import('Database')
    #7 system/modules/core/classes/BackendUser.php(67): Contao\User->__construct()
    #8 system/modules/core/library/Contao/User.php(151): Contao\BackendUser->__construct()
    #9 [internal function]: Contao\User::getInstance()
    #10 system/modules/core/library/Contao/System.php(110): call_user_func(Array)
    #11 contao/index.php(43): Contao\System->import('BackendUser', 'User')
    #12 contao/index.php(123): Index->__construct()
    #13 {main}
    
    
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/15/d75756871/htdocs/core/system/helper/functions.php:70) in system/modules/core/library/Contao/Template.php on line 298
    
    #0 [internal function]: __error(2, 'Cannot modify h...', '/homepages/15/d...', 298, Array)
    #1 system/modules/core/library/Contao/Template.php(298): header('Vary: User-Agen...', false)
    #2 system/modules/core/classes/BackendTemplate.php(162): Contao\Template->output()
    #3 contao/index.php(115): Contao\BackendTemplate->output()
    #4 contao/index.php(124): Index->run()
    #5 {main}
    
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/15/d75756871/htdocs/core/system/helper/functions.php:70) in system/modules/core/library/Contao/Template.php on line 299
    
    #0 [internal function]: __error(2, 'Cannot modify h...', '/homepages/15/d...', 299, Array)
    #1 system/modules/core/library/Contao/Template.php(299): header('Content-Type: t...')
    #2 system/modules/core/classes/BackendTemplate.php(162): Contao\Template->output()
    #3 contao/index.php(115): Contao\BackendTemplate->output()
    #4 contao/index.php(124): Index->run()
    #5 {main}
    Nimmt mich bitte jemand an die Hand?

    Vielen Dank

    Samsi

  2. #2
    Contao-Urgestein
    Registriert seit
    10.07.2010.
    Beiträge
    4.403
    User beschenken
    Wunschliste

    Standard

    Willkommen im Forum.

    Zitat Zitat von Samsi
    Deprecated notice: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in system/modules/core/library/Contao/Database/Mysql.php on line 58
    Das ist nur eine Mitteilung, dass die Mysql-Extention in der Zukunft nicht mehr geben wird. Desshalb stell bei den DB Einstellungen auf Mysqli als Treiber um.

  3. #3
    Contao-Urgestein
    Registriert seit
    10.07.2010.
    Beiträge
    4.403
    User beschenken
    Wunschliste

    Standard

    Und für den Rest guckst Du bitte da:

    https://community.contao.org/de/show...er-information

  4. #4
    Contao-Nutzer
    Registriert seit
    12.02.2014.
    Beiträge
    2

    Standard

    Hallo ciaobello,

    vielen Dank für die schnelle Hilfe. Diese Meldungen waren im FE und BE zu sehen - und sind nun weg, alles bestens also!

    LG Samsi

  5. #5
    Contao-Nutzer Avatar von maipe
    Registriert seit
    10.07.2012.
    Ort
    München
    Beiträge
    201

    Standard

    HTML-Code:
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d392019666/htdocs/CMS/system/config/langconfig.php:12) in system/modules/core/library/Contao/System.php on line 487
    
    #0 [internal function]: __error(2, 'Cannot modify h...', '/homepages/45/d...', 487, Array)
    #1 system/modules/core/library/Contao/System.php(487): setcookie('TL_INSTALL_AUTH', '3a0ee8e2bfabd8d...', 1447427568, '/', '', false, true)
    #2 contao/install.php(783): Contao\System::setCookie('TL_INSTALL_AUTH', '3a0ee8e2bfabd8d...', 1447427568, NULL, NULL, false, true)
    #3 contao/install.php(382): InstallTool->setAuthCookie()
    #4 contao/install.php(118): InstallTool->loginUser()
    #5 contao/install.php(998): InstallTool->run()
    #6 {main}
    [ EDIT: Sorry, Tags nachgetragen ]

    MsQli ist schon über localconfig nachgetragen. Seite ist präsent, nur Backend und Install.php bei beiden nach login kein Zugriff. Hat einer spontan eine Idee?
    Geändert von maipe (13.11.2015 um 16:20 Uhr)

  6. #6
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Du musst die eigentliche Fehlermeldung posten (und bitte in code tags). Das was du gepostet hast, ist nur ein Folgefehler.

  7. #7
    Contao-Nutzer Avatar von maipe
    Registriert seit
    10.07.2012.
    Ort
    München
    Beiträge
    201

    Standard [ gelöst ]

    Zitat Zitat von Spooky Beitrag anzeigen
    Du musst die eigentliche Fehlermeldung posten (und bitte in code tags). Das was du gepostet hast, ist nur ein Folgefehler.
    HTML-Code:
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d392019666/htdocs/CMS/system/config/langconfig.php:12) in system/modules/core/library/Contao/Template.php on line 277
    
    #0 [internal function]: __error(2, 'Cannot modify h...', '/homepages/45/d...', 277, Array)
    #1 system/modules/core/library/Contao/Template.php(277): header('Vary: User-Agen...', false)
    #2 system/modules/core/classes/BackendTemplate.php(163): Contao\Template->output()
    #3 contao/index.php(115): Contao\BackendTemplate->output()
    #4 contao/index.php(124): Index->run()
    #5 {main}
    
    
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d392019666/htdocs/CMS/system/config/langconfig.php:12) in system/modules/core/library/Contao/Template.php on line 278
    
    #0 [internal function]: __error(2, 'Cannot modify h...', '/homepages/45/d...', 278, Array)
    #1 system/modules/core/library/Contao/Template.php(278): header('Content-Type: t...')
    #2 system/modules/core/classes/BackendTemplate.php(163): Contao\Template->output()
    #3 contao/index.php(115): Contao\BackendTemplate->output()
    #4 contao/index.php(124): Index->run()
    #5 {main}

    Nachdem Login:

    HTML-Code:
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d392019666/htdocs/CMS/system/config/langconfig.php:12) in system/modules/core/library/Contao/System.php on line 487
    
    #0 [internal function]: __error(2, 'Cannot modify h...', '/homepages/45/d...', 487, Array)
    #1 system/modules/core/library/Contao/System.php(487): setcookie('BE_USER_AUTH', '5d4f6bb6c4cb891...', 1447440345, '/', '', false, true)
    #2 system/modules/core/library/Contao/User.php(472): Contao\System::setCookie('BE_USER_AUTH', '5d4f6bb6c4cb891...', 1447440345, NULL, NULL, false, true)
    #3 system/modules/core/library/Contao/User.php(347): Contao\User->generateSession()
    #4 contao/index.php(47): Contao\User->login()
    #5 contao/index.php(123): Index->__construct()
    #6 {main}
    Login nicht möglich. Contao Check ist ok. 1u1, kein SMH, Add Handler entfernt und auf PHP 5.6 im Controlcenter aktualisiert, MSQLi in der Localconfig gesetzt.

    Es war die langconfig - keine Ahnung warum, war alles ok, utf-8 ohne bom, keine Leerzeichen, neu abgespeichert Problem weg. Vielleicht hat auch 1u1 nur so lang mit der neuen PHP-Version gebraucht.
    Geändert von maipe (13.11.2015 um 18:03 Uhr)

  8. #8
    Community-Moderator
    Wandelndes Contao-Lexikon
    Avatar von Spooky
    Registriert seit
    12.04.2012.
    Ort
    Scotland
    Beiträge
    34.114
    Partner-ID
    10107

    Standard

    Ah ich hatte das "output started" übersehen. Du musst deine langconfig.php als UTF-8 ohne BOM abspeichern.

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
  •