badisoft, не серчайте, стащил как смог!
А откуда таскаете???
Отправлено 17 July 2012 - 09:54 AM
А откуда таскаете???
Отправлено 29 October 2012 - 06:45 PM
Отправлено 29 October 2012 - 06:50 PM
Отправлено 29 October 2012 - 07:21 PM
WARNING: Missing argument 1 for discGetAllAnswer(), called in /home/wwwdeno/public_html/core/includes/admin/sub/catalog_answer.php on line 115 and defined Line: 1209 File: /home/wwwdeno/public_html/core/cache/afcache.php Link: /admin.php?dpt=catalog&sub=answer Date: 29.10.12 - 13:14:35 Dump: array(2) { ["dpt"]=> string(7) "catalog" ["sub"]=> string(6) "answer" } array(0) { } --- WARNING: Missing argument 2 for discGetAllAnswer(), called in /home/wwwdeno/public_html/core/includes/admin/sub/catalog_answer.php on line 115 and defined Line: 1209 File: /home/wwwdeno/public_html/core/cache/afcache.php Link: /admin.php?dpt=catalog&sub=answer Date: 29.10.12 - 13:14:35 Dump: array(2) { ["dpt"]=> string(7) "catalog" ["sub"]=> string(6) "answer" } array(0) { } --- WARNING: Missing argument 1 for discGetAllAnswer(), called in /home/wwwdeno/public_html/core/includes/admin/sub/catalog_answer.php on line 115 and defined Line: 1209 File: /home/wwwdeno/public_html/core/cache/afcache.php Link: /admin.php?dpt=catalog&sub=answer Date: 29.10.12 - 13:14:39 Dump: array(2) { ["dpt"]=> string(7) "catalog" ["sub"]=> string(6) "answer" } array(0) { } --- WARNING: Missing argument 2 for discGetAllAnswer(), called in /home/wwwdeno/public_html/core/includes/admin/sub/catalog_answer.php on line 115 and defined Line: 1209 File: /home/wwwdeno/public_html/core/cache/afcache.php Link: /admin.php?dpt=catalog&sub=answer Date: 29.10.12 - 13:14:39 Dump: array(2) { ["dpt"]=> string(7) "catalog" ["sub"]=> string(6) "answer" } array(0) { } --- WARNING: Division by zero Line: 437 File: /home/wwwdeno/public_html/core/cache/incache.php Link: /index.php?answer=yes&added Date: 29.10.12 - 13:14:42 Dump: array(2) { ["answer"]=> string(3) "yes" ["added"]=> string(0) "" } array(0) { } --- WARNING: Missing argument 1 for discGetAllAnswer(), called in /home/wwwdeno/public_html/core/includes/admin/sub/catalog_answer.php on line 115 and defined Line: 1209 File: /home/wwwdeno/public_html/core/cache/afcache.php Link: /admin.php?dpt=catalog&sub=answer Date: 29.10.12 - 13:14:48 Dump: array(2) { ["dpt"]=> string(7) "catalog" ["sub"]=> string(6) "answer" } array(0) { } --- WARNING: Missing argument 2 for discGetAllAnswer(), called in /home/wwwdeno/public_html/core/includes/admin/sub/catalog_answer.php on line 115 and defined Line: 1209 File: /home/wwwdeno/public_html/core/cache/afcache.php Link: /admin.php?dpt=catalog&sub=answer Date: 29.10.12 - 13:14:48 Dump: array(2) { ["dpt"]=> string(7) "catalog" ["sub"]=> string(6) "answer" } array(0) { } --- WARNING: Division by zero Line: 437 File: /home/wwwdeno/public_html/core/cache/incache.php Link: /index.php?answer=yes&added Date: 29.10.12 - 13:14:54 Dump: array(2) { ["answer"]=> string(3) "yes" ["added"]=> string(0) "" } array(0) { } ---
ERROR: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONF_ANSWER_COUNT' at line 1 Sql: select answerID, name, text, date, parent, moder from daoc_answer where moder=1 and parent=0 order by answerID desc limit 0,CONF_ANSWER_COUNT Link: /index.php?answer=yes&added Date: 29.10.12 - 13:14:42 Dump: array(2) { ["answer"]=> string(3) "yes" ["added"]=> string(0) "" } array(0) { } --- ERROR: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CONF_ANSWER_COUNT' at line 1 Sql: select answerID, name, text, date, parent, moder from daoc_answer where moder=1 and parent=0 order by answerID desc limit 0,CONF_ANSWER_COUNT Link: /index.php?answer=yes&added Date: 29.10.12 - 13:14:54 Dump: array(2) { ["answer"]=> string(3) "yes" ["added"]=> string(0) "" } array(0) { } ---
Отправлено 29 October 2012 - 09:10 PM
Хотя нет, могу. Точнее, SQL-сервер сам все сказал .Увы, по предоставленному ничего внятного сказать не могу
====================================================Сдается мне, что у Вас в russian.php не прописана строка define('CONF_ANSWER_COUNT',10); Ну а раз не прописана она, то не прописана и другая, хотя и куда менее важная define('QUESTION_ANSWER', 'Вопросы и ответы);
Ненавижу, когда в форумном общении врут. Это глупо и бессмысленно, плюс вызывает трату времени других форумчан.Сделал все строго по инструкции которая была в архиве.
Отправлено 29 October 2012 - 10:55 PM
8. Отредактировать файл core/languages/russian.php Код в конце файла заканчивается закрывающей круглой скобкой ")". После нее нужно поставить точку с запятой ";". Затем, добавить после точки с запятой строку: define('QUESTION_ANSWER', 'Вопросы и ответы');
Отправлено 30 October 2012 - 12:17 PM
http://vsupport.club/topic/1299-faq-%d0%b2%d0%be%d0%bf%d1%80%d0%be%d1%81%d1%8b-%d0%b8-%d0%be%d1%82%d0%b2%d0%b5%d1%82%d1%8b/page__view__findpost__p__20739Вот что написано в инструкции, я это и сделал!