bluerhinos / phpMQTT

a simple php class to connect/publish/subscribe to a MQTT broker
Other
773 stars 460 forks source link

Fatal Error #59

Closed rajeshafor closed 4 years ago

rajeshafor commented 6 years ago

Hi, I'm trying to open the Publish and scriber page but i'm getting Error: Fatal error: Class 'phpMQTT' not found in C:\xampp\htdocs\websockets\examples\subscribe.php on line 12 .

Links:

Publish : http://localhost/websockets/examples/publish.php

Subscribe : http://localhost/websockets/examples/subscribe.php

tomioka89 commented 6 years ago

@rajeshafor you have to remove namespace Bluerhinos; from phpMQTT.php file.

bluerhinos commented 4 years ago

I am restarting this project so having a clear out of old issues (If you believe this is still valid please reopen)