Код: Выделить всё
[21-Sep-2011 09:25:36] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array in /home/motobrat/public_html/includes/session.php on line 2233
[21-Sep-2011 09:25:36] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/motobrat/public_html/includes/functions_template.php on line 63
[21-Sep-2011 15:19:09] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array in /home/motobrat/public_html/includes/session.php on line 2233
[21-Sep-2011 15:19:09] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array in /home/motobrat/public_html/includes/session.php on line 2233
[21-Sep-2011 15:19:09] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/motobrat/public_html/includes/functions_template.php on line 63
[24-Sep-2011 18:56:15] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array in /home/motobrat/public_html/includes/session.php on line 2247
[24-Sep-2011 18:56:15] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/motobrat/public_html/includes/functions_template.php on line 63
[24-Sep-2011 20:37:59] PHP Warning: strtr() [<a href='function.strtr'>function.strtr</a>]: The second argument is not an array in /home/motobrat/public_html/includes/session.php on line 2247
[24-Sep-2011 20:37:59] PHP Fatal error: template->_tpl_load_file(): File /message_body.html does not exist or is empty in /home/motobrat/public_html/includes/functions_template.php on line 63
Строки session.php 2228-2235
Код: Выделить всё
if ($gmepoch > $midnight + 86400)
{
$day = 'TOMORROW';
}
else if ($gmepoch > $midnight)
{
$day = 'TODAY';
}
Код: Выделить всё
if ($day !== false)
{
return str_replace('||', $this->lang['datetime'][$day], strtr(@gmdate($date_cache[$format]['format_short'], $gmepoch + $zone_offset), $date_cache[$format]['lang']));
}
}
return strtr(@gmdate($date_cache[$format]['format_long'], $gmepoch + $zone_offset), $date_cache[$format]['lang']);
}
Код: Выделить всё
trigger_error("template->_tpl_load_file(): File {$this->template->files[$handle]} does not exist or is empty", E_USER_ERROR);
Заранее благодарен за помощь в исправлении этих ошибок.

