Дебаггерский лог...
mysql_query(): Access denied for user 'apache'@'localhost' (using password: NO)
Страница: ucp.php?mode=login
Файл: [ROOT]/includes/functions.php
Строка: 3050
functions.php строка 3050 помечена +
Код: Выделить всё
// The result parameter is always an array, holding the relevant information...
if ($result['status'] == LOGIN_SUCCESS)
{
$redirect = request_var('redirect', "{$phpbb_root_path}index.$phpEx");
// Start Antibot
$i = 0;
$sql = 'SELECT * FROM '. ANSWER_TABLE .'';
+ $result = mysql_query($sql);
if ($result)
{
while( $row = $db->sql_fetchrow($result) ) $i++;
if($i)
{
$sql = 'TRUNCATE '. ANSWER_TABLE .'';
$result = $db->sql_query($sql);
}
}
// End Antibot
$message = ($l_success) ? $l_success : $user->lang['LOGIN_REDIRECT'];mysqli ?Пчелкин писал(а):mysql
В конфиге -
Код: Выделить всё
$dbms = 'mysqli';
$dbhost = 'localhost';Ага... исчезла...


