### Website URL
(please specify the URL of the site on which you are experiencing the problem)
none
(please share the FULL error message you see, if applicable)
Other Information
so ive made a website. ive added the files to file manager, and added a mysql database. ive changed the config code in php with mysql db name (if0_xxxxxxxx), username, password and hostname. and i can the the index.html but when i tried to login the form isnt showing. i can see the background colour but thats it. can someone help?
(other information and details relevant to your question)
Hi and welcome to the forum! I checked with Inspect Element and the page stopped rendering because of a HTTP ERROR 500:
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…
2 Likes
so this is the error i got
Fatal error : Uncaught mysqli_sql_exception: Access denied for user ’ if0_36946361’@‘192.168.0.189’ (using password: YES) in /home/vol14_2/infinityfree.com/if0_36946361/htdocs/php/db/conection.php:3 Stack trace: #0 /home/vol14_2/infinityfree.com/if0_36946361/htdocs/php/db/conection.php(3): mysqli_connect(‘sql305.infinity…’, ‘\tif0_36946361’, Object(SensitiveParameterValue)) #1 /home/vol14_2/infinityfree.com/if0_36946361/htdocs/php/index.php(79): include(‘/home/vol14_2/i…’) #2 {main} thrown in /home/vol14_2/infinityfree.com/if0_36946361/htdocs/php/db/conection.php on line 3
Can you try one of these two solutions?
Access denied for user
You can see an error message which looks like Access denied for user 'epiz_12345678'@'192.168.0.*' (using password: YES)
. This message means that the user was able to connect, but does not have access to the provided database name.
This could mean one of two things.
This generally means that the database name is not correct. If you entered the database name my_database
when creating the database, the full database name looks like epiz_12345678_my_database
. The easiest way to make sure you have the right database name is to go to the MySQL Databases section in your control panel. If you haven’t created your database yet, you can also do it through this menu.
It could also mean that your database password is incorrect. The database password is the same as your hosting account password (which is different from your client area password!). You can find your hosting account password by logging in to your client area , click Manage next the account, scroll down to MySQL Details and click Show next to the Password field.
5 Likes
maybe i mustve put the wrong database or something but i did the config file again and now i can see the form.
thank you so much!
2 Likes
system
Closed
July 30, 2024, 1:04pm
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.