PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [S] Unterstützung



umweltpolizeisb
18.02.2020, 19:17
Hallo zusammen,

meine Seite ist plötzlich nicht mehr erreichbar, ich kann den Fehler nicht feststellen.
Suche jemanden, dir mir dabei unter die Arme greifen kann.

Über eine Entlohnung können wir gerne sprechen.

LG
Tobias

Sam2004
20.02.2020, 18:48
Noch aktuell?

Ich würde zuerst bei deinem Hoster anfangen. Er wird wohl was an der Server Konfig geändert haben.

LG

umweltpolizeisb
21.02.2020, 08:29
Hey,

ja ist noch aktuell.

Was ist denn zurzeit bekannt, weswegen der Hoster plötzlich was an den Einstellungen geändert haben sollte?

Es geht um www.netziwelt.de ;)

Danke schonmal im Voraus für deine Hilfe.

LG
Tobias

Sam2004
21.02.2020, 09:03
Moin,
es geht hier nicht um eine allgemeine Feststellung oder mögliche Ursache, sondern eigens in deinem Fall.

Wenn der Hoster ohne Ankündigung was spezifisches ändert was auch seine Sicht zur Sicherheit etc. beiträgt, dann macht er das auch^^ Abstimmung mit seinen Kunden hin oder her.

Dein 2. Weg wäre ein Blick in die Error Logs. Irgendwas sollte da auftauchen wenn die Seite bzw. die Index.php aufgerufen wird.

Alternativ - und sofern erforderlich - die Error Logs aktivieren und auch die Display Errors mal aktivieren. Wenn auf der Hauptseite nix auftaucht, dann auf jedenfall in den Error Logs.
Wenn du was gefunden hast, kannst du sicherlich auch was im Netz zur Lösung finden. Falls nicht, dann hier posten ;)

LG
Sam

umweltpolizeisb
21.02.2020, 18:11
[17-Feb-2020 16:05:33 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function ereg() in /home/netziwel/public_html/lib/functions.lib.php:391
Stack trace:
#0 /home/netziwel/public_html/lib/header.php(2): require()
#1 /home/netziwel/public_html/index.php(7): require('/home/netziwel/...')
#2 {main}
thrown in /home/netziwel/public_html/lib/functions.lib.php on line 391

Aktuelle Fehlermeldung aus der error_log der Index-Datei.
Ich konnte darüber auch einen Forenbeitrag finden, allerdings führte die Lösung bei mir nicht zum Erfolg.

Lokutos
21.02.2020, 21:59
Hi,

als erstes würde ich 1/2 einfache Sachen probieren.

Grundsätzlich ist deine Webseite ja erreichbar, liefert aber lediglich sehr wenig Inhalt.
Lösche mal den Inhalt der index.php oder erstelle eine neue Datei (z.b. test.php)

mit dem Inhalt:

<?php phpinfo();

Ist die PHPVersion noch 5.X ? oder 7.X
ev. hat dein Hoster final die PHP Version umgestellt...

umweltpolizeisb
22.02.2020, 07:40
PHP Version 7.3.14.

Ist das alte VMS mit dieser Version nicht mehr kompatibel?

LG
Tobias

EDIT: Ja, das scheint das Problem zu sein.
Wie aufwendig wäre die Übertragung auf das VMS-SUEE?

Sam2004
22.02.2020, 09:03
Moin,
zu deiner Frage: Nein^^ Genau das sagt auch deine Fehlermeldung, dass du noch eine Asbach Version vom VMS nutzt und nicht auf PHP 7 angepasst hast ;)

Ich bezweifel mal, dass sich die Daten 1 zu 1 übertragen lassen. Ich kenn zwar nicht die Gegebenheiten der Datenbank, dennoch sollte das so nicht funktionieren (tut es in der Regel nie^^).

Andere Sache und vielleicht als Option:
Hast du nicht die Möglichkeit beim Hoster selbst die PHP Version auswählen zu können?
Es gibt diverse Hoster die auch weiterhin PHP 5.6.X anbieten und wohl auch nicht deaktivieren werden - solange es keine Sicherheitslücken oder etwaigen gibt.

Wenn das bei dir nicht der Fall ist, dann bleibt nur dein Script anpassen oder Umziehen auf das SUEE.

Viel Glück.

umweltpolizeisb
22.02.2020, 11:18
Danke für den Hinweis mit dem Umstellen auf PHP 5.x - damit konnte ich die Seite wieder online stellen! :)

LG
Tobias

isaack
22.02.2020, 23:32
PHP Version 7.3.14.

Ist das alte VMS mit dieser Version nicht mehr kompatibel?

LG
Tobias

EDIT: Ja, das scheint das Problem zu sein.
Wie aufwendig wäre die Übertragung auf das VMS-SUEE?

im grunde kannst du die userdaten deiner datenbank 1:1 auf das vms-suee übertragen. die datenbankstruktur ist gleich geblieben. es sind nur tabellen dazu gekommen. und alte sachen raus geflogen.

Lokutos
24.02.2020, 08:55
Das Übertragen der Basisversion sollte kein Problem sein,
egal ob
VMSone 2.5 -> VMSone3 beta
oder in das SUEE.

Das Problem wird sein das alles was angepasst wurde und alle Addons etc. manuell angepasst werden müssen da diese nicht php7 kompatibel sind (meist).

Die alternative dazu sind Hoster die noch weiterhin eine php 5.x Version Pflegen.
(Biete ich nebenbei auch an...)

umweltpolizeisb
10.03.2020, 09:08
Ich muss den Thread nochmal rausholen.

Ich habe jetzt das Problem, das nach dem Login eine Weiterleitung nicht stattfindet und die Seite weiß bleibt.
Beim letzten Mal konnte ich durch Neuaufrufen der Seite dann meine Seite im eingeloggten Zustand benutzen, aber dies führt jetzt nicht mehr zum Erfolg.

Jemand eine Idee, wie ich das lösen kann? :(

LG
Tobias

Sam2004
10.03.2020, 09:29
Moin,
auch hier ist deiner erster Weg wieder ein Blick in die Error logs ;)

Wurde was an der PHP Version verändert?

Neue Sachen eingebaut und dann nicht richtig getestet?

LG

umweltpolizeisb
10.03.2020, 16:08
[10-Mar-2020 15:05:46 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_query(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 15:05:46 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:46 Europe/Berlin] PHP Warning: mysql_query(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 15:05:48 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:48 Europe/Berlin] PHP Warning: mysql_query(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 15:05:51 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 61
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 62
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 68
[10-Mar-2020 15:05:51 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_query(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 15:05:51 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_real_escape_string(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 63
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Deprecated: mysql_query(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 16:05:51 Europe/Berlin] PHP Warning: mysql_query(): A link to the server could not be established in /home/netziwel/public_html/lib/functions.lib.php on line 68
[10-Mar-2020 15:05:55 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:55 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390
[10-Mar-2020 16:05:55 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 61
[10-Mar-2020 16:05:55 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 62
[10-Mar-2020 16:05:55 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 63
[10-Mar-2020 16:05:55 Europe/Berlin] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/session.lib.php on line 68
[10-Mar-2020 15:05:55 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/netziwel/public_html/lib/functions.lib.php:1) in /home/netziwel/public_html/lib/functions.lib.php on line 5
[10-Mar-2020 16:05:55 Europe/Berlin] PHP Deprecated: Function ereg() is deprecated in /home/netziwel/public_html/lib/functions.lib.php on line 390


Seit der Umstellung auf PHP 5.6 (ea-php56) hatte ich eigentlich nichts neues gemacht.

LG
Tobias

Sam2004
10.03.2020, 16:36
Das sieht ja fürchterlich aus :D Solltest mal abhilfe schaffen ;)

Kurze Rede, gar kein Sinn:
Ich würde darauf Tippen, dass neben der functions.lib.php zusätzlich die SESSION gestartet wird, was auch die Meldung sagt...Cannot modify header information - header already bla bla usw.
Ich bin mir gerade nicht sicher ob auch ein Leerzeichen an der falschen Stelle die Ursache sein kann, da haben andere Experten sicherlich einen besseren Tipp.

Bei den meisten Hostern gibts die Auswahl was die Error Logs betrifft. Wenn du sowas hast, schau mal das du den Teil für "Deprecated" abschaltest, sonst blickst du dann irgendwann nicht mehr durch.

Alternativ lad mal das letzte Backup von der functions.lib.php hoch. Dann kannst ja sehen wo die mögliche Ursache ist.

LG