PDA

View Full Version : Addition


petesmc
Wed 30th May '01, 4:19pm
Directly after line 234 in db_mysql.php you should add:

echo "<br><br>" . mysql_error();

Greatly helps, if you get an error message and you've got no idea why.

-Peter

Mike Sullivan
Wed 30th May '01, 4:25pm
It's already there:
$message.="mysql error: $this->errdesc\n"

petesmc
Wed 30th May '01, 4:30pm
Although, I was missing a field in a database and while changing the profile i got that error page, with no warning, so i added it and now it shows the error telling me to add a field.

-peter

Wayne Luke
Wed 30th May '01, 4:40pm
If you view the source code of the page it shows it. It is also included in the email sent to the technical email address every time there is an error.

It wasn't included on the page that visitors see because it could be a potential security issue depending on the error.

petesmc
Wed 30th May '01, 5:07pm
Thanks