WebSite X5Help Center

 
Karl B.
Karl B.
User

Kontaktformular kann nicht versandt werden  de

Автор: Karl B.
Просмотрено 69, Подписчики 1, Размещенный 0  

Hallo,

seit heute kann das Kontakformular nicht versandt werden und es wird die Fehlermeldung "HTTP Error 500" angezeigt. Laut Info von Strato ist Ursache hierfür ein Fehler im PHP-Mailer und damit ein internes Problem. Wo und wie kann ich das im Programm prüfen und korrigieren?

Размещено
12 Ответы - 1 Корректно
Incomedia
Eric C.
Incomedia

Hello Karl,
error 500 is an unspecified server error, so first of all you should discuss the matter with Strato further, and have them provide additional information on the specific error, which they should be able to gather from the server error logs.

What version of PHP are you currently using for your hosting space?

Online translation:

Hallo Karl,
Fehler 500 ist ein nicht näher spezifizierter Serverfehler. Daher sollten Sie die Angelegenheit zunächst weiter mit Strato besprechen und sich von ihnen zusätzliche Informationen zum konkreten Fehler geben lassen. Diese sollten sie aus den Server-Fehlerprotokollen erhalten können.

Welche PHP-Version verwenden Sie derzeit für Ihren Hosting-Speicherplatz?

Читать больше
Размещено От Eric C.
Karl B.
Karl B.
User
Автор

Hallo Eric,

Strato habe ich die Fehlermeldung genannt, woraufhin mit sinngemäß erklärt wurde, dass es mehrere PHP-Fehler gibt und Ursache hierfür der PHP-Mailer ist. Die PHP-Version ist 8.2 und kann laut Strato auch verwendet werden. Es besteht aber die Möglichkeit auf 8.3 oder 8.4 zu wechseln.

Читать больше
Размещено От Karl B.
Andreas S.
Andreas S.
Moderator

Deine offizielle WSX5 Version ist die PRO 2022.3 und hier könnte es sein, dass noch der PHP Mailer ein altes Skript hat. Mit welcher Version arbeitets du derzeit? 

Читать больше
Размещено От Andreas S.
Incomedia
Eric C.
Incomedia

Hello Karl,
unfortunately this description is a bit vague, so please let me know if you can provide the logs themselves, or the error messages found within.
From what I can see, your latest licence for the software is for version 2022.3, which did not yet support PHP 8.2, could you please check the situation with 8.1?

Online translation:

Hallo Karl,
leider ist diese Beschreibung etwas vage. Bitte teilen Sie mir daher mit, ob Sie die Protokolle selbst oder die darin enthaltenen Fehlermeldungen zur Verfügung stellen können.
Soweit ich sehen kann, ist Ihre neueste Lizenz für die Software für Version 2022.3, die PHP 8.2 noch nicht unterstützt hat. Könnten Sie bitte prüfen, ob das Problem mit PHP 8.1 ebenfalls auftritt?

Читать больше
Размещено От Eric C.
Karl B.
Karl B.
User
Автор

Hallo Eric,

das sind die Fehlermeldungen von heute. PHP 8.1 wird von Strato nicht mehr bereitgestellt.

AH02811: stderr from /home/strato/http/premium/rid/77/45/5557745/htdocs/cgi-bin: script not found or unable to stat
AH01225: Error reading request entity data
PHP Warning: require_once(class.phpmailer.php): Failed to open stream: No such file or directory in /mnt/web403/b3/45/5557745/htdocs/res/PHPMailerAutoload.php on line 2
PHP Fatal error: Uncaught Error: Failed opening required 'class.phpmailer.php' (include_path='.:/opt/RZphp82/includes') in /mnt/web403/b3/45/5557745/htdocs/res/PHPMailerAutoload.php:2
Stack trace:
#0 /mnt/web403/b3/45/5557745/htdocs/res/x5engine.php(9860): require_once()
#1 /mnt/web403/b3/45/5557745/htdocs/x5feed.php(1): include('...')
#2 {main}
thrown in /mnt/web403/b3/45/5557745/htdocs/res/PHPMailerAutoload.php on line 2

Читать больше
Размещено От Karl B.
Karl B.
Karl B.
User
Автор
Andreas S.
Deine offizielle WSX5 Version ist die PRO 2022.3 und hier könnte es sein, dass noch der PHP Mailer ein altes Skript hat. Mit welcher Version arbeitets du derzeit? 

Ich arbeit noch mit der WSX5 Version PRO 2022.37

Читать больше
Размещено От Karl B.
Incomedia
Eric C.
Incomedia

Hello Karl,
if you check the contents of your hosting space, inside of the subfolder res can you find the file class.phpmailer.php referenced by the error?

Online translation:

Hallo Karl,
wenn Sie den Inhalt Ihres Hosting-Speicherplatzes überprüfen: Können Sie im Unterordner „res“ die Datei class.phpmailer.php finden, auf die sich die Fehlermeldung bezieht?

Читать больше
Размещено От Eric C.
Karl B.
Karl B.
User
Автор

Hallo Eric,

in dem Unterordner "res" finde ich die Datei class.smtp.php (1451 Zeilen) und die Datei class.exception.php (38 Zeilen) die heruntergeladen werden können. Welche Datei ist relevant?

Читать больше
Размещено От Karl B.
Incomedia
Eric C.
Incomedia

Hello Karl,
please contact Strato and check if the file class.phpmailer.php was somehow deleted by a security system, or blocked somehow, as it should also be present with those other files.
Considering that the issue occurred suddenly today, but you do not have an active licence, we can exclude an issue linked to an update, so the cause may lie in some changed made by Strato that led to the disappearance of this file.

Online translation:

Hallo Karl,
bitte wenden Sie sich an Strato und prüfen Sie, ob die Datei class.phpmailer.php möglicherweise von einem Sicherheitssystem gelöscht oder auf irgendeine Weise blockiert wurde, da sie zusammen mit den anderen Dateien ebenfalls vorhanden sein sollte.
Da das Problem heute plötzlich aufgetreten ist, Sie jedoch keine aktive Lizenz haben, können wir ein Problem im Zusammenhang mit einem Update ausschließen. Die Ursache könnte daher in einer Änderung seitens Strato liegen, die zum Verschwinden dieser Datei geführt hat.

Читать больше
Размещено От Eric C.
Karl B.
Karl B.
User
Автор

Hallo,

nachdem ich die Website neu hochgeladen habe wurde die Datei class.phpmailer.php erstellt und das Kontaktformular kann versandt werden.

Читать больше
Размещено От Karl B.
Incomedia
Eric C.
Incomedia

Hello Karl,
keep the situation monitored, in case the same error occurs again it would mean that something is deleting that file.
Hopefully this does not actually occur.

Online translation:

Hallo Karl,
beobachten Sie die Situation weiterhin. Falls derselbe Fehler erneut auftritt, würde dies bedeuten, dass etwas diese Datei löscht.
Hoffentlich tritt dies tatsächlich nicht auf.

Читать больше
Размещено От Eric C.
Karl B.
Karl B.
User
Автор
Eric C.
Hello Karl, keep the situation monitored, in case the same error occurs again it would mean that something is deleting that file. Hopefully this does not actually occur. Online translation: Hallo Karl, beobachten Sie die Situation weiterhin. Falls derselbe Fehler erneut auftritt, würde dies bedeuten, dass etwas diese Datei löscht. Hoffentlich tritt dies tatsächlich nicht auf.

Hallo Eric,

vielen Dank für den Hinweis!

Читать больше
Размещено От Karl B.