Войти
Введите цифры и буквы
string(52) "Can't create table 'new.#sql-48b_6a906' (errno: 121)" string(52) "Can't create table 'new.#sql-48b_6a906' (errno: 121)" string(62) "Can't DROP 'comment_date_rating'; check that column/key exists" string(35) "Duplicate key name 'rating_date_id'" string(38) "Duplicate column name 'comment_delete'" string(52) "Can't create table 'new.#sql-48b_6a906' (errno: 121)"
Повторюсь, сейчас добился того, что после обновления всё есть, но текста в топиках нет. Может вручную изменить структуру БД?
Что за ошибки тогда: string(52) «Can't create table 'new.#sql-48b_6a906' (errno: 121)»
Спасибо.
вызываемые при запуске апдейтера?
Ошибки при апдейте в браузере были вот такими:
string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(62) «Can't DROP 'comment_date_rating'; check that column/key exists» string(35) «Duplicate key name 'rating_date_id'» string(38) «Duplicate column name 'comment_delete'» string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(43) «Duplicate column name 'topic_publish_index'» string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(54) «Duplicate column name 'user_settings_notice_new_topic'» string(56) «Duplicate column name 'user_settings_notice_new_comment'» string(53) «Duplicate column name 'user_settings_notice_new_talk'» string(58) «Duplicate column name 'user_settings_notice_reply_comment'» string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(38) «Duplicate column name 'topic_cut_text'» string(44) «Duplicate column name 'topic_forbid_comment'» string(41) «Duplicate column name 'comment_text_hash'» string(35) «Duplicate column name 'blog_avatar'» string(40) «Duplicate column name 'blog_avatar_type'» string(46) «Duplicate column name 'user_date_comment_last'» string(55) «Duplicate column name 'user_settings_notice_new_friend'» string(36) «Table 'prefix_friend' already exists» string(38) «Duplicate entry '1' for key 'topic_id'» string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(52) «Can't create table 'new.#sql-48b_6cbec' (errno: 121)» string(37) «Duplicate column name 'topic_publish'» string(42) «Duplicate column name 'comment_count_last'» string(53) «Can't DROP 'topic_text'; check that column/key exists» string(59) «Can't DROP 'topic_text_short'; check that column/key exists» string(60) «Can't DROP 'topic_text_source'; check that column/key exists» а�б�аЛаИ аНаИаКаАаКаИаЕ аОб�аИаБаКаИ аНаЕ аПаОаВб�аЛаАаЗаИаЛаИ, аЗаНаАб�аИб� аАаПаДаЕаЙб� аНаА аНаОаВб�б� аВаЕб�б�аИб� аПб�аОб�аЕаЛ б�б�аПаЕб�аНаО. а�аОаЗаДб�аАаВаЛб�аЕаМ!
string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(62) «Can't DROP 'comment_date_rating'; check that column/key exists» string(35) «Duplicate key name 'rating_date_id'» string(38) «Duplicate column name 'comment_delete'» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(43) «Duplicate column name 'topic_publish_index'» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(54) «Duplicate column name 'user_settings_notice_new_topic'» string(56) «Duplicate column name 'user_settings_notice_new_comment'» string(53) «Duplicate column name 'user_settings_notice_new_talk'» string(58) «Duplicate column name 'user_settings_notice_reply_comment'» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(38) «Duplicate column name 'topic_cut_text'» string(44) «Duplicate column name 'topic_forbid_comment'» string(41) «Duplicate column name 'comment_text_hash'» string(35) «Duplicate column name 'blog_avatar'» string(40) «Duplicate column name 'blog_avatar_type'» string(46) «Duplicate column name 'user_date_comment_last'» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(55) «Duplicate column name 'user_settings_notice_new_friend'» string(36) «Table 'prefix_friend' already exists» string(38) «Duplicate entry '1' for key 'topic_id'» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» string(52) «Can't create table 'new.#sql-48b_6c89b' (errno: 121)» а�б�аЛаИ аНаИаКаАаКаИаЕ аОб�аИаБаКаИ аНаЕ аПаОаВб�аЛаАаЗаИаЛаИ, аЗаНаАб�аИб� аАаПаДаЕаЙб� аНаА аНаОаВб�б� аВаЕб�б�аИб� аПб�аОб�аЕаЛ б�б�аПаЕб�аНаО. а�аОаЗаДб�аАаВаЛб�аЕаМ!
string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(62) «Can't DROP 'comment_date_rating'; check that column/key exists» string(35) «Duplicate key name 'rating_date_id'» string(38) «Duplicate column name 'comment_delete'» string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(43) «Duplicate column name 'topic_publish_index'» string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(54) «Duplicate column name 'user_settings_notice_new_topic'» string(56) «Duplicate column name 'user_settings_notice_new_comment'» string(53) «Duplicate column name 'user_settings_notice_new_talk'» string(58) «Duplicate column name 'user_settings_notice_reply_comment'» string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(38) «Duplicate column name 'topic_cut_text'» string(44) «Duplicate column name 'topic_forbid_comment'» string(41) «Duplicate column name 'comment_text_hash'» string(35) «Duplicate column name 'blog_avatar'» string(40) «Duplicate column name 'blog_avatar_type'» string(46) «Duplicate column name 'user_date_comment_last'» string(55) «Duplicate column name 'user_settings_notice_new_friend'» string(36) «Table 'prefix_friend' already exists» string(38) «Duplicate entry '1' for key 'topic_id'» string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(52) «Can't create table 'new.#sql-48b_6c772' (errno: 121)» string(37) «Duplicate column name 'topic_publish'» string(42) «Duplicate column name 'comment_count_last'» string(53) «Can't DROP 'topic_text'; check that column/key exists» string(59) «Can't DROP 'topic_text_short'; check that column/key exists» string(60) «Can't DROP 'topic_text_source'; check that column/key exists»
Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'cache_dir must be a directory' in /var/www/***/new/www/test/classes/lib/external/DklabCache/Zend/Cache.php:141 Stack trace: #0 /var/www/***/new/www/test/classes/lib/external/DklabCache/Zend/Cache/Backend/File.php(146): Zend_Cache::throwException('cache_dir must ...') #1 /var/www/***/new/www/test/classes/lib/external/DklabCache/Zend/Cache/Backend/File.php(121): Zend_Cache_Backend_File->setCacheDir('777/') #2 /var/www/***/new/www/test/classes/modules/sys_cache/Cache.class.php(71): Zend_Cache_Backend_File->__construct(Array) #3 /var/www/***/new/www/test/classes/engine/Engine.class.php(68): Cache->Init() #4 /var/www/***/new/www/test/config/config.ajax.php(29): Engine->InitModules() #5 /var/www/***/new/www/test/update/update_0.1.2_to_0.2.php(137): require_once('/var/www/serpuh...') #6 {main} thrown in /var/www/***/new/www/test/classes/lib/external/DklabCache/Zend/Cache.php on line 141
В данный момент у меня всё по умолчанию.
Для возможности пересчета у вас все голоса должны иметь дату когда этот голос был поставлен.
Если она в по дефолту ставится — значит дата имеется.
Ваш
1. Создание закрытых блогов. Что бы топики публикуемые в них, были доступны для просмотра только участникам закрытого блога.
Я это уже вкурил, а кто-нибудь понял что за переменные?
$iMinCount=log(0+1);
$iMaxCount=log(500+1);