Атаман Posted October 7, 2013 Share Posted October 7, 2013 При попытке обновить галерею, выскакивает ошибка.Версия форума: 3.4.5Версия Галереи 3.2. (еще с времен IPB 3.1) Просто отключена была. Fatal error: Class 'version_class_gallery_40000' not found in public_html/admin/setup/applications/upgrade/sections/apps.php on line 349 Я так понимаю, что он не может файл отыскать, но все на месте. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 Вообще то он пытается апгрейд запустить, но не может найти файлы новой галереи, судя по всему. Вы какую версию залили? 1 Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Последнюю, пытался и на 4.2 обновить и тд. Все файлы на месте 100% Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 Ну, смотрите их владельца, права доступа. Пути проверьте, может не туда залили? Я, как то, обновлял один форум, а дистриб на другой залил... 1 Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Я уже пробовал на виртуалке, пробовал права выставлять. И версии галереи перебирал, скорее всего дело в нуле старой галереи. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 Тогда запустите \admin\applications_addon\ips\gallery\setup\upgradeCheck.php Что напишет? Нет, фигню написал. Без поллитры не разобраться похоже... Надо видимо в код лезть. 1 Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Спс вечером попробую, а так белая страница, (вывод ошибок включен был). Но я старый дистрибутив галереи залил, чтоб в ац попасть. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 По идее, файл тут нашелся, ошибка с формированием класса:346. $_class = 'version_class_' . $app . '_' . $num; 347. require_once( IPSLib::getAppDir( $app ) . '/setup/versions/upg_' . $num . '/version_class.php' );/*noLibHook*/ 348. 349. $_tmp = new $_class( $this->registry ); 1 Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 Нифига, как же он найдется, это баг апдэйтера 3.4.5. Замените в /admin/setup/applications/upgrade/sections/apps.php, в 344-ой и 347-ой строке "version_class.php" на "version_upgrade.php".Опять фигня, не надо ничего менять, но все же нет файла version_class.php в /admin/applications_addon/ips/gallery/setup/versions/upg_40000/. Апдейт не правильно обрабатывается, ошибка тут есть, но в чем еще не понял. ) Есть условие в строке 344: if ( is_file( IPSLib::getAppDir( $app ) . '/setup/versions/upg_' . $num . '/version_class.php' ) ) Все, что под условием выполняться не должно, по тому, что не должно быть такого файла. Каким образом вылазиет ошибка в строке 349 не догоняю... 1 Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Спасибо Вечером попробую. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 Похоже, у вас в папку /admin/applications_addon/ips/gallery/setup/versions/upg_40000/ каким то образом затесался лишний файл - version_class.php. Больше ничего в голову не приходит. Удалите его, а лучше перезалейте дистрибутив новой версии галереи с предварительным удалением директории /admin/applications_addon/ips/gallery/. 1 Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Это уже делал). Полностью сносил остатки старой, кроме папки uploads Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Похоже, у вас в папку /admin/applications_addon/ips/gallery/setup/versions/upg_40000/ каким то образом затесался лишний файл - version_class.php. Больше ничего в голову не приходит. Удалите его, а лучше перезалейте дистрибутив новой версии галереи с предварительным удалением директории /admin/applications_addon/ips/gallery/. Спасибо большое, помогло. version_class.php - виновник, как Вы и сказали папку снес. Link to comment Share on other sites More sharing options...
Dmitriy427 Posted October 7, 2013 Share Posted October 7, 2013 Какой то дистрибутив галереи у вас подозрительный. В моем этого файла нет. 1 Link to comment Share on other sites More sharing options...
Атаман Posted October 7, 2013 Author Share Posted October 7, 2013 Ну галерея 3.2.2 стояла. И в ней присутствовал тот файл. (Скорее всего нулл был 3.2. 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