Ansicht:   

#440067 MQTT Mosquitto für PHP (web.net)

verfaßt von MagicBird, Berlin, 10.07.2020, 05:13:41

> > aber es kommt nur ein Error 500
>
> Was steht im Webserver Logfile?

Ich fand in der /var/log/error.log
[Fri Jul 10 05:07:16.338448 2020] [php7:error] [pid 719] [client 192.168.5.213:51175] PHP Fatal error: Uncaught Error: Class 'MQTTClient' not found in /var/www/html/smarthome/mqtt_pub.php:9\nStack trace:\n#0 {main}\n thrown in /var/www/html/smarthome/mqtt_pub.php on line 9
[Fri Jul 10 05:09:53.117464 2020] [php7:error] [pid 715] [client 192.168.5.213:51217] PHP Fatal error: Uncaught Error: Class 'MQTTClient' not found in /var/www/html/smarthome/mqtt_pub.php:9\nStack trace:\n#0 {main}\n thrown in /var/www/html/smarthome/mqtt_pub.php on line 9

diese Zeilen.

Lars

 

gesamter Thread:

Ansicht:   
Auf unserer Web-Seite werden Cookies eingesetzt, um diverse Funktionalitäten zu gewährleisten. Hier erfährst du alles zum Datenschutz