Website URL
https://dragonstoneeduv36336.infinityfreeapp.com/
Error Message
The only visible error message I can see in the Browser console is Fetch error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Other Information
I believe this is related to MySQL because it seems like it is reading or not reading the information in the database properly, I have triple checked and made sure that everything to establish a connection is correct but I still can’t seem to access the database.
Hi, thank you so much for your response. The error made me realize that the table names were capitalized when they should not have been!
Can I just ask what you did to find that error? So that if something like that happens again I am better equipped to handle it.
1 Like
Nothing fancy. Just follow your code, the same way you check the console, it will give you hints.
In case errors are suppressed, always enable PHP debug mode while still in development.
These might help you too:
When trying to access your website, you may see a page which returns the status code “500”. In Google Chrome, you’ll see a page with the error code HTTP ERROR 500.
There are typically two reasons which can cause this error:
The PHP code has crashed.
The .htaccess file contains invalid rules.
Here are some things you can try to debug and fix this.
Fixing crashing PHP code
A HTTP ERROR 500 simply tells you that the PHP code has crashed, but gives no information as to why it has crashed.
Gett…
Many websites use MySQL databases to store information and settings. However, there are some reasons why the connection to the database may fail. This article describes some commonly seen error messages when connecting to a database, as well as some general tips to keep in mind when setting up a database connection.
Common Error Messages
Using MySQL is great, but the error message returned if there is an issue logging in to your database can be quite confusing. Here are some commonly seen error…
Also, you can always search this forum! Surprisingly, I found just now the same problem and SAME solution:
6 Likes
system
Closed
February 1, 2026, 9:53am
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.