форум vBSupport.ru > vBulletin > vBulletin 4.2.x > Вопросы по vBulletin 4.2.x
Register Меню vBsupport Изображения Files Manager О рекламе Today's Posts Search
  • Родная гавань
  • Блок РКН снят
  • Premoderation
  • For English speaking users
  • Каталог Фрилансеров
  • If you want to buy some product or script
  • Администраторам
VBsupport перешел с домена .ORG на родной .RU Ура! Пожалуйста, обновите свои закладки - VBsupport.ru
Блок РКН снят, форум доступен на всей территории России, включая новые терртории, без VPN
На форуме введена премодерация ВСЕХ новых пользователей

Почта с временных сервисов, типа mailinator.com, gawab.com и/или прочих, которые предоставляют временный почтовый ящик без регистрации и/или почтовый ящик для рассылки спама, отслеживается и блокируется, а так же заносится в спам-блок форума, аккаунты удаляются
for English speaking users:
You may be surprised with restriction of access to the attachments of the forum. The reason is the recent change in vbsupport.org strategy:

- users with reputation < 10 belong to "simple_users" users' group
- if your reputation > 10 then administrator (kerk, Luvilla) can decide to move you into an "improved" group, but only manually

Main idea is to increase motivation of community members to share their ideas and willingness to support to each other. You may write an article for the subject where you are good enough, you may answer questions, you may share vbulletin.com/org content with vbsupport.org users, receiving "thanks" equal your reputation points. We should not only consume, we should produce something.

- you may:
* increase your reputation (doing something useful for another members of community) and being improved
* purchase temporary access to the improved category:
10 $ for 3 months. - this group can download attachments, reputation/posts do not matter.
20 $ for 3 months. - this group can download attachments, reputation/posts do not matter + adds eliminated + Inbox capacity increased + files manager increased permissions.

Please contact kerk or Luvilla regarding payments.

Important!:
- if your reputation will become less then 0, you will be moved into "simple_users" users' group automatically.*
*for temporary groups (pre-paid for 3 months) reputation/posts do not matter.
Уважаемые пользователи!

На форуме открыт новый раздел "Каталог фрилансеров"

и отдельный раздел для платных заказов "Куплю/Закажу"

Если вы хотите приобрести какой то скрипт/продукт/хак из каталогов перечисленных ниже:
Каталог модулей/хаков
Ещё раз обращаем Ваше внимание: всё, что Вы скачиваете и устанавливаете на свой форум, Вы устанавливаете исключительно на свой страх и риск.
Сообщество vBSupport'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
ZeldoR
Продвинутый
 
ZeldoR's Avatar
Post Vbulletin 4.2.x и PHP 7 - нет шансов?
0

Здравствуйте, была попытка переноса Vbulletin 4.2.2 с хостинга где крутится PHP 5.4.x на хостинг с PHP 7.3.x.
На первый взгляд всё выглядит окей но в некоторых местах странности вылезли...

В первую очередь пустые посты:


Есть шанс исправить для начала отображение постов и пошагово уже дальнейшие моменты?


PHP-Debug выдаёт тучу предупреждений:
PHP Code:
DeprecatedMethods with the same name as their class will not be constructors in a future version of PHPvB_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 PHPvB_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 PHPvB_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 PHPvB_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 PHPvB_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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPvBulletinHook 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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 PHPin ..../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 
Спасибо заранее!
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
Canny
Знаток
 
Canny's Avatar
Default
2

Обновиться: https://vbsupport.ru/forum/showthread.php?t=53220
 
 
ZeldoR
Продвинутый
 
ZeldoR's Avatar
Default
0

Quote:
Originally Posted by Canny View Post
Спасибо за молниеносный ответ!
Процесс обновления до 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 stepnot needed
Step 2 
Skipping stepnot needed
Step 3 
Skipping stepnot needed
Step 4 
Skipping stepnot needed
Step 5 
Skipping stepnot needed
Step 6 
Skipping stepnot needed
Step 7 
Skipping stepnot needed
Step 8 
Skipping stepnot needed
Step 9 
Skipping stepnot needed
Step 10 
Skipping stepnot needed
Step 11 
Skipping stepnot needed
Step 12 
Skipping stepnot needed
Step 13 
Skipping stepnot needed
Step 14 
Skipping stepnot needed
Step 15 
Skipping stepnot needed
Step 16 
Skipping stepnot needed
Step 17 
Skipping stepnot needed
Step 18 PHP Warning
:  mysqli_query(): (42000/1064): You have an error in your SQL syntaxcheck 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 syntaxcheck 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.useridbt.datelineblogtextidipaddressfirstblogtextid
            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 syntaxcheck 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  
SundayNovember 29th 2020 03:05:12 PM
Error Date    
SundayNovember 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
 
kerk's Avatar
Default
1

мысли вслух...
интересно, а почему кодеры пишущие обновляторы/инсталяторы, не учитывают, что их же "дополнения" (блоги, главная), могут быть отключены?
это ж всего одно условие в коде, одна строка кода...
 
 
ZeldoR
Продвинутый
 
ZeldoR's Avatar
Post
0

Quote:
Originally Posted by kerk View Post
мысли вслух...
интересно, а почему кодеры пишущие обновляторы/инсталяторы, не учитывают, что их же "дополнения" (блоги, главная), могут быть отключены?
это ж всего одно условие в коде, одна строка кода...
Весьма интересный вопрос По моему мнению, не особо дальнозоркое развитие продукта или отсутсвие различных тестов.
Так-как самый лучший тестировщик ПО - это клиент который использует это самое ПО

Вот к стати вылезла еще одна ошибка после перехода на 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
Гость
Default

Quote:
Originally Posted by ZeldoR View Post
Вот к стати вылезла еще одна ошибка после перехода на 7.3
это проблема импекса, не воблы
как бы... mysql extension is removed in PHP 7
либо запускать импекс на более ранних ПХП, либо пилить файлы импекса
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT +4. The time now is 12:57 AM.


Powered by vBulletin® Version 3.5.0
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.