форум vBSupport.ru > vBulletin > Old vB versions (3.0.x & 2.x.x) > vBulletin 3.7.x > vBulletin [3.7] Troubleshooting and Problems
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'а физически не в состоянии проверять все стили, хаки и нули, выкладываемые пользователями.
Помните: безопасность Вашего проекта - Ваша забота.
Убедительная просьба: при обнаружении уязвимостей или сомнительных кодов обязательно отписывайтесь в теме хака/стиля
Спасибо за понимание
 
 
 
 
yura8
Простоузер
Exclamation После обновления PHP и MySQL перестало работать цитирование
0

Привет всем!
Ситуация следующая: форум версии 3.7.4. После обновления PHP (стало 5.4.3) и MySQL (стало 5.5) перестало работать цитирование. Точнее ответ с цитатой. Ответ на сообщение в теме, ответ на ЛС - просто пустое поле, ничего не цитируется...
Как можно вылечить такой недуг?
Bot
Yandex Bot Yandex Bot is online now
 
Join Date: 05.05.2005
Реклама на форуме А что у нас тут интересного? =)
 
 
kerk
k0t
 
kerk's Avatar
Default
0

посмотри логи ошибок пхп
там должно быть что то вроде "депрекатед..."
 
 
yura8
Простоузер
Default
0

Quote:
Originally Posted by kerk View Post
посмотри логи ошибок пхп
там должно быть что то вроде "депрекатед..."
так и есть..
ошибки вида
PHP Code:
[Sat May 19 00:01:04 2012] [error] [client *.*.208.196PHP Deprecated:  Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1516refererhttp://site.com/forum/forumdisplay.php?f=3&order=desc&page=2 
 
 
Luvilla
Гость
Default

в файле showthread.php on line 1516
Code:
$postbit_factory->bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
=& new заменить на = new
 
 
yura8
Простоузер
Default
0

Quote:
Originally Posted by Luvilla View Post
в файле showthread.php on line 1516
Code:
$postbit_factory->bbcode_parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list());
=& new заменить на = new
Заменил. Цитирование не заработало
 
 
Luvilla
Гость
Default

Quote:
Originally Posted by yura8 View Post
Цитирование не заработало
значит, имеет место более одной неисправности
что ещё в логах?
 
 
yura8
Простоузер
Default
0

Так или иначе, а логи ругаются на оч много файлов... И везде Deprecated. За пол суток почти 200 метров лог ошибок

Quote:
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 639, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1034, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1039, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1511, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1516, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 49, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 97, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 101, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 109, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 120, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 124, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 132, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 201, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 379, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 82.145.208.196] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/class_core.php on line 2517, referer: http://site.com/forum/forumdisplay.p...er=desc&page=2
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 639, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1034, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1039, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1511, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/showthread.php on line 1516, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 49, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 97, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 101, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 109, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 120, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 124, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 132, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 201, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 379, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:04 2012] [error] [client 46.158.152.40] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/class_core.php on line 2517, referer: http://site.com/forum/search.php?searchid=246896
[Sat May 19 00:01:07 2012] [error] [client 66.249.71.5] PHP Deprecated: Assigning the return value of new by reference is deprecated in /var/www/yura/data/www/site.com/forum/includes/init.php on line 49
Небольшая выдержка из лога
 
 
Luvilla
Гость
Default

/includes/init.php и /includes/class_core.php надо править, там, кажется, 9 вхождений в ините и одно - в класс_коре
и showthread.php доправьте заодно
принцип тот же: в строке, указанной в ошибке, =& new заменить на = new

но деприкейты, строго говоря, не должны влиять на цитирование

Fatal или Parse error нигде не мелькает?

на всякий случай спрошу: какая версия PCRE? - смотреть в админке, информация о PHP
 
 
yura8
Простоузер
Default
0

Quote:
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 8.12 2011-01-15
Подправил - с цитированием ситуация не изменилась... (((

yura8 добавил 21.05.2012 в 21:35
Просмотрел логи... Всплывали еще файлы misc.php и showpost.php - поправил и их..

Неужели нет работающего решения как скрестить 3-ю линейку с новыми ПХП? Судя по дырявости четверки третья еще долго будет в ходу...

З.Ы. Более новые тройки поддерживают новые версии ПХП?

yura8 добавил 21.05.2012 в 21:35
З.З.Ы. Fatal или Parse error не видел в логе ошибок

Last edited by yura8 : 05-21-2012 at 09:35 PM. Reason: Добавлено сообщение
 
 
kerk
k0t
 
kerk's Avatar
Default
0

Quote:
Originally Posted by yura8 View Post
Более новые тройки поддерживают новые версии ПХП?
поддерживают, с некоторой правкой 2 исходных файлов
разрабы так и не удосужились поправить это в последних релизах
 


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 10:53 AM.


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