Ergebnis 1 bis 1 von 1

Thema: Webcam mit Portangabe 89

  1. #1
    Contao-Fan Avatar von Grossvater
    Registriert seit
    20.02.2013.
    Beiträge
    509

    Frage Webcam mit Portangabe 89

    Hallo,
    ich habe einen Kunden, welcher eine Webcam einsetzen möchte. Diese Webcam speichert Bilder über eine URL mit Port 89.
    Siehe hier:
    Code:
    http://user:passxxxx@xxxxxx.dynxs.net:89/cgi-bin/snapshot.cgi?
    Nun hatte ich mir mit Rocksolid Custom Elements ein Webcam Modul erstellt, welches zyklisch aller x Sekunden ein String Reload macht, um das neue Standbild zu laden.

    Mein Problem ist, dass es mit so einer URL nicht funktioniert, sobald ich diese URL in die dafür vorgesehene Eingabe packe, schmiert das Contao ab:

    HTML-Code:
    [04-Sep-2017 17:08:03 Europe/Berlin] 
    PHP Warning: mysqli::query(): MySQL server has gone away in online/system/modules/core/library/Contao/Database/Mysqli/Statement.php on line 81
    #0 [internal function]: __error(2, 'mysqli::query()...', '/homepages/27/d...', 81, Array)
    #1 online/system/modules/core/library/Contao/Database/Mysqli/Statement.php(81): mysqli->query('SELECT uh.*, u....')
    #2 online/system/modules/core/library/Contao/Database/Statement.php(293): Contao\Database\Mysqli\Statement->execute_query()
    #3 online/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #4 online/system/modules/backendUserHistory/BackendUserHistory.php(304): Contao\Database\Statement->execute(Array)
    #5 online/system/modules/backendUserHistory/BackendUserHistory.php(238): BackendUserHistory->searchUser(Array)
    #6 online/system/modules/core/classes/DataContainer.php(672): BackendUserHistory->editElement(Array, 'act=edit', 'Element bearbei...', 'Inhaltselement ...', 'edit.gif', ' class="edit"', 'tl_content', NULL, NULL, false, '2185', '2187', Object(Contao\DC_Table))
    #7 online/system/modules/core/drivers/DC_Table.php(4278): Contao\DataContainer->generateButtons(Array, 'tl_content', NULL, false, NULL, '2185', '2187')
    #8 online/system/modules/core/drivers/DC_Table.php(378): Contao\DC_Table->parentView()
    #9 online/system/modules/core/classes/Backend.php(650): Contao\DC_Table->showAll()
    #10 online/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
    #11 online/contao/main.php(20): Contao\BackendMain->run()
    #12 {main}
    
    [04-Sep-2017 17:08:03 Europe/Berlin] 
    PHP Warning: mysqli::query(): Error reading result set's header in online/system/modules/core/library/Contao/Database/Mysqli/Statement.php on line 81
    #0 [internal function]: __error(2, 'mysqli::query()...', '/homepages/27/d...', 81, Array)
    #1 online/system/modules/core/library/Contao/Database/Mysqli/Statement.php(81): mysqli->query('SELECT uh.*, u....')
    #2 online/system/modules/core/library/Contao/Database/Statement.php(293): Contao\Database\Mysqli\Statement->execute_query()
    #3 online/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #4 online/system/modules/backendUserHistory/BackendUserHistory.php(304): Contao\Database\Statement->execute(Array)
    #5 online/system/modules/backendUserHistory/BackendUserHistory.php(238): BackendUserHistory->searchUser(Array)
    #6 online/system/modules/core/classes/DataContainer.php(672): BackendUserHistory->editElement(Array, 'act=edit', 'Element bearbei...', 'Inhaltselement ...', 'edit.gif', ' class="edit"', 'tl_content', NULL, NULL, false, '2185', '2187', Object(Contao\DC_Table))
    #7 online/system/modules/core/drivers/DC_Table.php(4278): Contao\DataContainer->generateButtons(Array, 'tl_content', NULL, false, NULL, '2185', '2187')
    #8 online/system/modules/core/drivers/DC_Table.php(378): Contao\DC_Table->parentView()
    #9 online/system/modules/core/classes/Backend.php(650): Contao\DC_Table->showAll()
    #10 online/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
    #11 online/contao/main.php(20): Contao\BackendMain->run()
    #12 {main}
    
    [04-Sep-2017 17:08:03 Europe/Berlin] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: MySQL server has gone away (SELECT uh.*, u.username FROM tl_user_history as uh JOIN tl_user as u ON (uh.userId = u.id) WHERE url LIKE '%tl_content%' AND url LIKE '%edit%' AND url LIKE '%2188%' AND userId != '1' AND uh.tstamp > 1504501683)' thrown in online/system/modules/core/library/Contao/Database/Statement.php on line 295
    #0 online/system/modules/core/library/Contao/Database/Statement.php(264): Contao\Database\Statement->query()
    #1 online/system/modules/backendUserHistory/BackendUserHistory.php(304): Contao\Database\Statement->execute(Array)
    #2 online/system/modules/backendUserHistory/BackendUserHistory.php(238): BackendUserHistory->searchUser(Array)
    #3 online/system/modules/core/classes/DataContainer.php(672): BackendUserHistory->editElement(Array, 'act=edit', 'Element bearbei...', 'Inhaltselement ...', 'edit.gif', ' class="edit"', 'tl_content', NULL, NULL, false, '2185', '2187', Object(Contao\DC_Table))
    #4 online/system/modules/core/drivers/DC_Table.php(4278): Contao\DataContainer->generateButtons(Array, 'tl_content', NULL, false, NULL, '2185', '2187')
    #5 online/system/modules/core/drivers/DC_Table.php(378): Contao\DC_Table->parentView()
    #6 online/system/modules/core/classes/Backend.php(650): Contao\DC_Table->showAll()
    #7 online/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('article')
    #8 online/contao/main.php(20): Contao\BackendMain->run()
    #9 {main}
    Liegt das eventuell am Port 89?
    Sobald ich diesen aus der URL herrausnehme, kann ich das Inhaltselement abspeichern.

    Seltsameweise verlangt Firefox beim Aufruf dieser url eine Passwortabfrage, obwohl diese doch in der URL steht.
    Geändert von Grossvater (04.09.2017 um 16:23 Uhr)

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
  •