HI
What version of vBulletin 4 works with PHP 7+ ?
Currently I have the following setup running vBulletin 4.2.4 Beta 3
Server Type Linux
Web Server Apache (cgi-fcgi)
PHP 7.0.10
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB
PHP Memory Limit 128.00 MB
MySQL Version 10.0.27-MariaDB
MySQL Packet Size 256.00 MB
All seems fine except when I post a message that includes a url eg: http://www.cnn.com or www.cnn.com I get the following error:
Function name must be a string on line 1587 in /home/audiforu/public_html/includes/class_bbcode.php
#0 /home/audiforu/public_html/includes/class_bbcode.php(1042): vB_BbCodeParser->parse_array(Array, 1, 1, 0)
#1 /home/audiforu/public_html/includes/class_bbcode.php(563): vB_BbCodeParser->parse_bbcode('[url]www.cnn.co...', 1, 1, 0)
#2 /home/audiforu/public_html/includes/class_bbcode.php(477): vB_BbCodeParser->do_parse('[url]www.cnn.co...', 0, 1, 1, 1, true, false, NULL, false, 1)
#3 /home/audiforu/public_html/includes/class_dm.php(1597): vB_BbCodeParser->parse('[url]www.cnn.co...', 8, 1, true)
#4 /home/audiforu/public_html/includes/class_dm_threadpost.php(483): vB_DataManager->verify_image_count('pagetext', 'allowsmilie', 8, 'post')
#5 /home/audiforu/public_html/includes/class_dm_threadpost.php(732): vB_DataManager_ThreadPost->pre_save_post(true)
#6 /home/audiforu/public_html/includes/functions_newpost.php(616): vB_DataManager_Post->pre_save()
#7 /home/audiforu/public_html/newreply.php(451): build_new_post('reply', Array, Array, Array, Array, Array)
#8 {main}
What is the issue ?
If I run the above setup with PHP 5.6 it works fine ....
----------------------------------------------------------
Using vBulletin 4.2.5 Alpha 2 with PHP 7 I cannot get anything other than the following error being displayed:
Call to undefined function mb_detect_encoding() on line 958 in /home/audiforu/public_html/includes/functions.php
#0 /home/audiforu/public_html/includes/functions_forumlist.php(281): fetch_censored_text('Skoda Kodiaq Wo...')
#1 /home/audiforu/public_html/includes/functions_forumlist.php(230): construct_forum_bit('1', 2, 0)
#2 /home/audiforu/public_html/forum.php(611): construct_forum_bit(-1)
#3 /home/audiforu/public_html/index.php(43): require('/home/audiforu/...')
#4 {main}
Once I restore PHP back to 5.6 and use vBulletin 4.2.5 Alpha 2 I can access the ACP but any page on the forum displays the following error:
Fatal error: Call to undefined function mb_detect_encoding() in /home/audiforu/public_html/includes/functions.php on line 958
I want to run php 7 as to increase the forum speed...
Please let me know what i need to do to get this to work
Thanks in advance
What version of vBulletin 4 works with PHP 7+ ?
Currently I have the following setup running vBulletin 4.2.4 Beta 3
Server Type Linux
Web Server Apache (cgi-fcgi)
PHP 7.0.10
PHP Max Post Size 8.00 MB
PHP Maximum Upload Size 2.00 MB
PHP Memory Limit 128.00 MB
MySQL Version 10.0.27-MariaDB
MySQL Packet Size 256.00 MB
All seems fine except when I post a message that includes a url eg: http://www.cnn.com or www.cnn.com I get the following error:
Function name must be a string on line 1587 in /home/audiforu/public_html/includes/class_bbcode.php
#0 /home/audiforu/public_html/includes/class_bbcode.php(1042): vB_BbCodeParser->parse_array(Array, 1, 1, 0)
#1 /home/audiforu/public_html/includes/class_bbcode.php(563): vB_BbCodeParser->parse_bbcode('[url]www.cnn.co...', 1, 1, 0)
#2 /home/audiforu/public_html/includes/class_bbcode.php(477): vB_BbCodeParser->do_parse('[url]www.cnn.co...', 0, 1, 1, 1, true, false, NULL, false, 1)
#3 /home/audiforu/public_html/includes/class_dm.php(1597): vB_BbCodeParser->parse('[url]www.cnn.co...', 8, 1, true)
#4 /home/audiforu/public_html/includes/class_dm_threadpost.php(483): vB_DataManager->verify_image_count('pagetext', 'allowsmilie', 8, 'post')
#5 /home/audiforu/public_html/includes/class_dm_threadpost.php(732): vB_DataManager_ThreadPost->pre_save_post(true)
#6 /home/audiforu/public_html/includes/functions_newpost.php(616): vB_DataManager_Post->pre_save()
#7 /home/audiforu/public_html/newreply.php(451): build_new_post('reply', Array, Array, Array, Array, Array)
#8 {main}
What is the issue ?
If I run the above setup with PHP 5.6 it works fine ....
----------------------------------------------------------
Using vBulletin 4.2.5 Alpha 2 with PHP 7 I cannot get anything other than the following error being displayed:
Call to undefined function mb_detect_encoding() on line 958 in /home/audiforu/public_html/includes/functions.php
#0 /home/audiforu/public_html/includes/functions_forumlist.php(281): fetch_censored_text('Skoda Kodiaq Wo...')
#1 /home/audiforu/public_html/includes/functions_forumlist.php(230): construct_forum_bit('1', 2, 0)
#2 /home/audiforu/public_html/forum.php(611): construct_forum_bit(-1)
#3 /home/audiforu/public_html/index.php(43): require('/home/audiforu/...')
#4 {main}
Once I restore PHP back to 5.6 and use vBulletin 4.2.5 Alpha 2 I can access the ACP but any page on the forum displays the following error:
Fatal error: Call to undefined function mb_detect_encoding() in /home/audiforu/public_html/includes/functions.php on line 958
I want to run php 7 as to increase the forum speed...
Please let me know what i need to do to get this to work
Thanks in advance
Comment