(please specify the URL of the site on which you are experiencing the problem)
Forbidden
You don’t have permission to access this resource.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Other Information
um i will be honest here i have no prior experience of coding a website before and am more into py and stuff… currently needed this web for my python bot…
and 90% of current website’s code is from ai and from past few days was trying to fix it on my own but couldnt…
thanks
(other information and details relevant to your question)
hello ty for the timely reply…
i somehow fixed the error thorugh tons of error hunting which without logs was hard…
and smhw through making the php display error directly and running some series of test im stuck on this even after trying to fix for nearly 5 hours of troubleshooting…
Connection Test with .env Parameters
Attempting to connect with DSN: mysql:host=sql304.infinityfree.com;dbname=if0_38711725_bishop;charset=utf8mb4;port=3306
Connection failed: SQLSTATE[HY000] [1044] Access denied for user ‘if0_38711725’@‘192.168.%’ to database ‘if0_38711725_bishop’
Connection to MySQL server failed: SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of) the SHOW DATABASES privilege(s) for this operation
and im now getting http 500 error on other webpages which ig is caused by this sql error…
## Connection to MySQL Server (without database)
Attempting to connect to MySQL server without specifying database
DSN: mysql:host=sql304.infinityfree.com;charset=utf8mb4;port=3306
Successfully connected to the MySQL server!
Connection to MySQL server failed: SQLSTATE[42000]: Syntax error or access violation: 1227 Access denied; you need (at least one of) the SHOW DATABASES privilege(s) for this operation
currently am trying to use external db and to make the php not to verify the sql instead try without it or …
I’m not sure what you were trying to do with that last attempt. It looks like you’re not trying to authenticate at all, which means you can’t do anything. And with how we setup database users, you can’t do SHOW DATABASES even with the right credentials.