Hello everyone, while coding a program that allows people to be notified through SMS using MessageBird API, I have encountered a problem when I’m using it in a domain namely, acadcalendar.42web.io.
To expound further, the code works fine when I’m on a localhost, my guess is that I have the autoload.php directly linked like “E:\xampp\htdocs\program\vendor\autoload.php” but when I’m doing the same process on a domain, I’m getting errors such as “chrome-error://chromewebdata/:1 Failed to load resource: the server responded with a status of 500 ()” and “VM508:6745 crbug/1173575, non-JS module files deprecated.”
After some time trying to solve this problem through reading debug logs and constantly seeing HTTP ERROR 500, I can say that the page can’t find the required php file even if its linked correctly to my knowledge, thus resulting in the errors stated above. I would also like to know if it actually a problem on my end since I’ve been debugging for three days straight and its still a recurring problem. I would greatly appreciate some feedback and advice on how to solve this problem.
This is the source code that gives the HTTP Error, if needed.