Database and pages uploaded but error


I created database, updated dbconnect with database name and username, I deleted public_html and tmp , then I uploaded my files (index.php, css folder, home.php, register.php, logout.php) but I got error when I tested the page. Please help.

Error message is:

You don’t have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.


Don’t delete public_html and tmp.

Now create new public_html file and upload your files there. Create a tmp file also in the main directory as earlier it was. (tmp file will store session data)


Thanks it worked!
I tried to hide all errors like Error: SELECT userEmail FROM users WHERE userEmail='’
but errors still show.
I want only my script-written errors to show. Please help me again.