SMF Version: SMF 1.0.7
I installed SMF 1.0.7
I've contacted the helpdesk and I've been sent here. I can't log in and keep getting an error
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
Anyone know how to fix this? I'm losing my mind here.
Sources/Load.php
Find
if (allowedTo('admin_forum'))
$context['error_message'] = nl2br($query_error) . '<br />' . $txt[1003] . ': ' . $file . '<br />' . $txt[1004] . ': ' . $line;
else
$context['error_message'] = $txt[1002];
Replace
$context['error_message'] = nl2br($query_error) . '<br />' . $txt[1003] . ': ' . $file . '<br />' . $txt[1004] . ': ' . $line;
This will give you the actual error message instead of the generic database error screen, which will then help us fix the issue. Once the issue is fixed, you can undo those changes.
I did not direct you to post your question in the forums. Please review your open ticket.