исправлено Ошибка mysql_connect() в init_tr

kinokaif

Пользователь
попробовал переустовить теперь вот какая ошибка
Fatal error: DB Error [library/includes/functions_admin.php(113)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
 

kinokaif

Пользователь
[27-Dec-2015 17:25:06 UTC] PHP Fatal error: DB Error [library/includes/functions_admin.php(113)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
 

kinokaif

Пользователь
Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
лог:
[27-Dec-2015 17:25:06 UTC] PHP Fatal error: DB Error [library/includes/functions_admin.php(113)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:31:08 UTC] PHP Fatal error: DB Error [library/includes/functions_admin.php(113)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:32:32 UTC] PHP Notice: Undefined index: topic_attachment in /home/tedfilms/public_html/viewforum.php on line 486
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_GUEST - assumed 'IS_GUEST' in /home/tedfilms/public_html/library/includes/functions.php on line 1442
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_lang in /home/tedfilms/public_html/library/includes/page_header.php on line 113
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: in /home/tedfilms/public_html/library/includes/page_header.php on line 113
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_lang in /home/tedfilms/public_html/library/includes/page_header.php on line 118
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_GUEST - assumed 'IS_GUEST' in /home/tedfilms/public_html/library/includes/page_header.php on line 121
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_GUEST - assumed 'IS_GUEST' in /home/tedfilms/public_html/library/includes/page_header.php on line 129
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_USER - assumed 'IS_USER' in /home/tedfilms/public_html/library/includes/page_header.php on line 130
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_ADMIN - assumed 'IS_ADMIN' in /home/tedfilms/public_html/library/includes/page_header.php on line 131
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_MOD - assumed 'IS_MOD' in /home/tedfilms/public_html/library/includes/page_header.php on line 132
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_AM - assumed 'IS_AM' in /home/tedfilms/public_html/library/includes/page_header.php on line 133
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_id in /home/tedfilms/public_html/library/includes/page_header.php on line 146
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_points in /home/tedfilms/public_html/library/includes/page_header.php on line 147
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_id in /home/tedfilms/public_html/library/includes/page_header.php on line 149
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: avatar_ext_id in /home/tedfilms/public_html/library/includes/page_header.php on line 149
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_opt in /home/tedfilms/public_html/library/includes/page_header.php on line 149
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_id in /home/tedfilms/public_html/library/includes/page_header.php on line 154
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_id in /home/tedfilms/public_html/library/includes/page_header.php on line 162
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_newest_pm_id in /home/tedfilms/public_html/library/includes/page_header.php on line 163
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant LANG_DIR - assumed 'LANG_DIR' in /home/tedfilms/public_html/library/includes/page_header.php on line 173
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant LANG_DIR - assumed 'LANG_DIR' in /home/tedfilms/public_html/library/includes/page_header.php on line 174
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant LANG_DIR - assumed 'LANG_DIR' in /home/tedfilms/public_html/library/includes/page_header.php on line 175
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant LANG_DIR - assumed 'LANG_DIR' in /home/tedfilms/public_html/library/includes/page_header.php on line 176
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant LANG_DIR - assumed 'LANG_DIR' in /home/tedfilms/public_html/library/includes/page_header.php on line 177
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: session_id in /home/tedfilms/public_html/library/includes/page_header.php on line 201
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: session_id in /home/tedfilms/public_html/library/includes/page_header.php on line 202
[27-Dec-2015 17:34:22 UTC] PHP Notice: Undefined index: user_id in /home/tedfilms/public_html/library/includes/page_header.php on line 209
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_GUEST - assumed 'IS_GUEST' in /home/tedfilms/public_html/library/includes/page_header.php on line 247
[27-Dec-2015 17:34:22 UTC] PHP Warning: include(LANG_DIRhtml/sidebar1.html): failed to open stream: No such file or directory in /home/tedfilms/public_html/internal_data/cache/tpl_default_page_header.tpl.php on line 464
[27-Dec-2015 17:34:22 UTC] PHP Warning: include(LANG_DIRhtml/sidebar1.html): failed to open stream: No such file or directory in /home/tedfilms/public_html/internal_data/cache/tpl_default_page_header.tpl.php on line 464
[27-Dec-2015 17:34:22 UTC] PHP Warning: include(): Failed opening 'LANG_DIRhtml/sidebar1.html' for inclusion (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/tedfilms/public_html/internal_data/cache/tpl_default_page_header.tpl.php on line 464
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_ADMIN - assumed 'IS_ADMIN' in /home/tedfilms/public_html/library/includes/page_footer.php on line 12
[27-Dec-2015 17:34:22 UTC] PHP Warning: include(LANG_DIRhtml/sidebar2.html): failed to open stream: No such file or directory in /home/tedfilms/public_html/internal_data/cache/tpl_default_page_footer.tpl.php on line 11
[27-Dec-2015 17:34:22 UTC] PHP Warning: include(LANG_DIRhtml/sidebar2.html): failed to open stream: No such file or directory in /home/tedfilms/public_html/internal_data/cache/tpl_default_page_footer.tpl.php on line 11
[27-Dec-2015 17:34:22 UTC] PHP Warning: include(): Failed opening 'LANG_DIRhtml/sidebar2.html' for inclusion (include_path='.:/opt/alt/php54/usr/share/pear:/opt/alt/php54/usr/share/php') in /home/tedfilms/public_html/internal_data/cache/tpl_default_page_footer.tpl.php on line 11
[27-Dec-2015 17:34:22 UTC] PHP Notice: Use of undefined constant IS_ADMIN - assumed 'IS_ADMIN' in /home/tedfilms/public_html/library/includes/page_footer.php on line 20
[27-Dec-2015 17:34:23 UTC] PHP Fatal error: DB Error [library/includes/functions_admin.php(113)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:36 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:40 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:41 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:42 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:42 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:43 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:43 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:45 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:49 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:51 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:52 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:53 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:54 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:55 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
[27-Dec-2015 17:34:58 UTC] PHP Fatal error: DB Error [viewforum.php(382)] in /home/tedfilms/public_html/library/includes/core/mysql.php on line 804
 

Fakt_37

Пользователь
с таким количеством ошибок
1 всё снести и поставить прямыми руками
2 или просить за $ поставить кого-то
3 бросить мысль о создании трекера
 

Sprinx

Пользователь
Кто фишку рубит в PHP, может уже перелазить на pdo, новый анонс и кеш.

Please Login or Register to view hidden text.


Подключение идет в common.php
Как переделать запросы можно посмотреть в Library/Tp/Bt/Announce.php
И тут можно смотреть как выполнить запросы

Please Login or Register to view hidden text.

 
Сверху