Simple Machines Community Forum

Archived Boards and Threads... => Archived Boards => Install and Upgrade Help => Aiheen aloitti: SLB - toukokuu 30, 2006, 10:29:02 AP

Otsikko: Installation
Kirjoitti: SLB - toukokuu 30, 2006, 10:29:02 AP
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.
Otsikko: Re: Installation
Kirjoitti: Oldiesmann - toukokuu 30, 2006, 11:12:23 AP
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.
Otsikko: Re: Installation
Kirjoitti: kegobeer - toukokuu 30, 2006, 11:22:35 AP
I did not direct you to post your question in the forums.  Please review your open ticket.