VBsupport перешел с домена .ORG на родной .RU
Ура!
Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей
Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже: Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота. Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
Здравствуйте, была попытка переноса Vbulletin 4.2.2 с хостинга где крутится PHP 5.4.x на хостинг с PHP 7.3.x.
На первый взгляд всё выглядит окей но в некоторых местах странности вылезли...
В первую очередь пустые посты:
Есть шанс исправить для начала отображение постов и пошагово уже дальнейшие моменты?
PHP-Debug выдаёт тучу предупреждений:
PHP Code:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Database has a deprecated constructor in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 83
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Datastore has a deprecated constructor in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 1478
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Input_Cleaner has a deprecated constructor in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 1819
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Registry has a deprecated constructor in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 3138
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vB_Session has a deprecated constructor in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 3526
Warning: Use of undefined constant MYSQL_NUM - assumed 'MYSQL_NUM' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 156
Warning: Use of undefined constant MYSQL_ASSOC - assumed 'MYSQL_ASSOC' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 156
Warning: Use of undefined constant MYSQL_BOTH - assumed 'MYSQL_BOTH' (this will throw an Error in a future version of PHP) in ..../includes/init.php on line 156
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/forum/httpdocs/includes/functions_navigation.php on line 588
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/forum/httpdocs/includes/functions_navigation.php on line 612
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; vBulletinHook has a deprecated constructor in /var/www/vhosts/forum/httpdocs/includes/class_hook.php on line 27
Warning: Use of undefined constant VB_FRAMEWORK - assumed 'VB_FRAMEWORK' (this will throw an Error in a future version of PHP) in ..../includes/functions.php on line 8101
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Warning: preg_replace() [function.preg-replace1]: The /e modifier is no longer supported, use preg_replace_callback instead in ..../includes/class_bbcode.php on line 2958
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 6
Warning: Use of undefined constant onlinestatusphrase - assumed 'onlinestatusphrase' (this will throw an Error in a future version of PHP) in ..../includes/class_core.php(4715) : eval()'d code on line 85
Спасибо за молниеносный ответ!
Процесс обновления до 4.2.6 окончен но одной из последних операций были ошибки . В теме обновления о данной ошибке не сообщалось к сожалению.
PHP Code:
...
....
Upgrading to 4.2.5
----------------------------------
Upgrade Complete
Upgrading to 4.2.6 by vBS
----------------------------------
Upgrade Complete
Processing Blog
----------------------------------
Step 1 - Skipping step, not needed
Step 2 - Skipping step, not needed
Step 3 - Skipping step, not needed
Step 4 - Skipping step, not needed
Step 5 - Skipping step, not needed
Step 6 - Skipping step, not needed
Step 7 - Skipping step, not needed
Step 8 - Skipping step, not needed
Step 9 - Skipping step, not needed
Step 10 - Skipping step, not needed
Step 11 - Skipping step, not needed
Step 12 - Skipping step, not needed
Step 13 - Skipping step, not needed
Step 14 - Skipping step, not needed
Step 15 - Skipping step, not needed
Step 16 - Skipping step, not needed
Step 17 - Skipping step, not needed
Step 18 PHP Warning: mysqli_query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' )
)
WHERE ipid IS NULL' at line 6 in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 1386
Warning: mysqli_query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' )
)
WHERE ipid IS NULL' at line 6 in /var/www/vhosts/forum/httpdocs/includes/class_core.php on line 1386
Database error in vBulletin 4.2.6 by vBS:
Invalid SQL:
SELECT bt.userid, bt.dateline, blogtextid, ipaddress, firstblogtextid
FROM blog_text bt
JOIN blog bl USING (blogid)
LEFT JOIN ipdata ip ON (
bt.ipaddress = ip.ipid AND bt.blogtextid = ip.contentid
AND bt.userid = ip.userid AND ip.contenttypeid IN (, )
)
WHERE ipid IS NULL;
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' )
)
WHERE ipid IS NULL' at line 6
Error Number : 1064
Request Date : Sunday, November 29th 2020 @ 03:05:12 PM
Error Date : Sunday, November 29th 2020 @ 03:07:50 PM
Script : http://
Referrer :
IP Address : IPADDRESS
Username :
Classname : vB_Database_MySQLi
MySQL Version : 10.3.25-MariaDB-0+deb10u1
Server :
User Agent :
Решение: включить блоги для процесса обновления.
kerk
k0t
Join Date: May 2005
Location: localhost
Posts: 28,835
Версия vB: 3.8.x
Пол:
Reputation:
Гуру 20332
Репутация в разделе: 8468
1
мысли вслух...
интересно, а почему кодеры пишущие обновляторы/инсталяторы, не учитывают, что их же "дополнения" (блоги, главная), могут быть отключены?
это ж всего одно условие в коде, одна строка кода...
@ZeldoR
Продвинутый
Join Date: Nov 2007
Location: то тут то там
Posts: 122
Версия vB: 3.7.0
Reputation:
Опытный 24
Репутация в разделе: 17
0
Quote:
Originally Posted by kerk
мысли вслух...
интересно, а почему кодеры пишущие обновляторы/инсталяторы, не учитывают, что их же "дополнения" (блоги, главная), могут быть отключены?
это ж всего одно условие в коде, одна строка кода...
Весьма интересный вопрос По моему мнению, не особо дальнозоркое развитие продукта или отсутсвие различных тестов.
Так-как самый лучший тестировщик ПО - это клиент который использует это самое ПО
Вот к стати вылезла еще одна ошибка после перехода на 7.3 - возможно кто-то знает решение?
PHP Code:
Call to undefined function mysql_pconnect() on line 89 in /var/www/forum/httpdocs/impex/db_mysql.php
#0 /var/www/forum/httpdocs/impex/index.php(152): DB_Sql_vb_impex->connect('localhost', 'db176', '1234354abc...', 1)
#1 {main}
С ошибкой выдаёт пароль и MySQL-пользователя
Ошибка вылазит при переходе по ссылке: https://forum/impex/ или через Админку-Импорт.
Help!
Luvilla
Гость
Posts: n/a
Quote:
Originally Posted by ZeldoR
Вот к стати вылезла еще одна ошибка после перехода на 7.3
это проблема импекса, не воблы
как бы... mysql extension is removed in PHP 7
либо запускать импекс на более ранних ПХП, либо пилить файлы импекса