Where can I see my error log? I get the following error message when attempting to submit information through the script I'm using:
'Error: Could not run query on the database. Please check your database details and try again.'
It worked for a number of years and then suddenly didn't, but in order for the script creator to help fix the problem, I need to provide the information from the error log.
It isn't possible to view the error log (if your CMS / script creates a log, you can check that).
Make sure you are not using the old mysql_ functions that are now obsolete: you should be using mysqli_ or pdo.
The script had been updated with mysqli_ prior to me coming here. I created an error_log.txt file and added code to .htaccess from instructions I found online, but that didn't work, the file remained blank. Why aren't we given access to error logs for our sites?
Ok, so che problem seems to be in the PHP script. Did you try to change the PHP version? I don't know anything about the script, so i can't help you about it.