Атаман Posted April 13, 2013 Share Posted April 13, 2013 Доброго вечера, столкнулся с такой проблемой.Обновляю блог с 2.4.1 до актуальной, и выскакивает ошибка БД. Проблема с тегами, первая ошибка была аналогичная та что ниже, но когда я удалил тот тег через бд, и сразу ошибка выскочила в другом теге.Я так понимаю идет дублирование тегов, а их шт 3000 Но когда удаляю все теги ibf_core_tags_cache то обновление проходит, как зачистить все теги блога, или хотя-бы починить. Аналогичная проблема. mySQL query error: INSERT INTO ibf_core_tags_cache (`tag_cache_key`,`tag_cache_text`,`tag_cache_date`) VALUES('f1f3db399fca55f2c123365493fcaa58','a:2:{s:4:\"tags\";a:1:{i:0;s:150:\"Размышлизмы и жизть наша\";}s:6:\"prefix\";s:0:\"\";}',1331407926) SQL error: Duplicate entry 'f1f3db399fca55f2c123365493fcaa58' for key 'tag_cache_key' SQL error code: 1062 Date: Saturday 13th April 2013 03:52:32 PM ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Date: Sat, 13 Apr 2013 15:52:32 +0000 Error: 1062 - Duplicate entry 'f1f3db399fca55f2c123365493fcaa58' for key 'tag_cache_key' - /forum1/admin/upgrade/index.php?app=upgrade§ion=upgrade&do=appclass ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- mySQL query error: INSERT INTO ibf_core_tags_cache (`tag_cache_key`,`tag_cache_text`,`tag_cache_date`) VALUES('f1f3db399fca55f2c123365493fcaa58','a:2:{s:4:\"tags\";a:1:{i:0;s:150:\"Размышлизмы и жизть наша\";}s:6:\"prefix\";s:0:\"\";}',1331407926) .--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------. | File | Function | Line No. | |----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------| | admin/applications_addon/ips/blog/setup/versions/upg_25000/version_upgrade.php| [db_main_mysql].insert | 128 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/setup/applications/upgrade/sections/upgrade.php | [version_upgrade].doExecute | 403 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/setup/applications/upgrade/sections/upgrade.php | [upgrade_upgrade].install_appclass | 148 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' | admin/setup/sources/base/ipsController_setup.php | [upgrade_upgrade].doExecute | 258 | '----------------------------------------------------------------------------+-------------------------------------------------------------------------------+-------------------' Link to comment Share on other sites More sharing options...
Dmitriy427 Posted April 13, 2013 Share Posted April 13, 2013 Ну, дык пофиксили же, еще в 2.5.0. Залейте convert_php.php из папки /Tools дистрибутива в корень форума и запустите. 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 О спасибо Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 Ничего не происходит,при запуске конверта белая страница. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted April 13, 2013 Share Posted April 13, 2013 Ничего не происходит,при запуске конверта белая страница.Попробуйте из /blog/Tools/ запустить. Можно ещё "error_reporting (1);" в начало файла добавить. 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 пустые страницы. Логов не могу добиться от хостера. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted April 13, 2013 Share Posted April 13, 2013 Там логи не понадобятся, ошибка должна на страницу сразу выводиться. Откройте в блокноте convert_php.php, после <?php добавьте строку:error_reporting (1); 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 Добавлял, белая страница Link to comment Share on other sites More sharing options...
siv1987 Posted April 13, 2013 Share Posted April 13, 2013 Логов не могу добиться от хостера.Можно включить показ ошибок в браузере, и обойтись без логов хостера.Хотя конечно странно, что за хостинг такой где клиент не имеет доступ к собственным логам. php_flag display_errors Onphp_value error_reporting 7 1 Link to comment Share on other sites More sharing options...
Dmitriy427 Posted April 13, 2013 Share Posted April 13, 2013 Н-да... Попробуйте закомментировать строку "@set_time_limit( 3600 );" ещё. Больше пока ничего в голову не приходит. Разве что переписать скрипт в простой редакции... 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 :mellow: ох и хостинг. Ничего не показывает. Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 Сив, не помогает пробовал. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted April 13, 2013 Share Posted April 13, 2013 Сив не помогает пробовалЗначит ставьте на локальную машину клон форума, конвертируйте, переносите базу на хостинг. P.S. А лучше сразу хостинг нормальный поискать наверное. :) 1 Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 ;) Верно, думаю так быстрее будет. Спасибо Link to comment Share on other sites More sharing options...
Атаман Posted April 13, 2013 Author Share Posted April 13, 2013 Я поднял дамп на виртуальные где 100% ошибки показывает, но при конверте их невидно. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now