2013-07-02, 10:32 PM
Greetings dear MyBB team.
Recently the provider I am hosting several MyBB forums has upgraded its PHP version to 5.5.0
Ever since, all of my forums show several lines of error messages when viewing topics. I have different versions installed for troubleshooting purposes, and every version I have up including 1.6.10 is having this problem.
I even attempted a clean installation of 1.6.10 to see if there might be a plugin or other changed option being the root of all evil. Sadly, it isn't. Even with a fresh and clean installation I get said error message. I have copied the full header of error when reading the first topic created on this fresh installation (( I have replaced the URL to my webspace with asterisks for safety's sake and put the dashes at random places, in case you wonder )).
This seems like MyBB isn't fully capable of running on PHP 5.5 ?
Since this is a clean installation, I fear I have to wait for 1.6.11 to properly accomodate PHP 5.5.0, or is there something I can do other than plowing through hundreds of lines of code? I have next to no experience with manually changing files, so I am afraid to screw up at some point when I try fixing the problem on my own. On some forums the error lines are several pages long which refer to the class_parser.php
The search function didn't allow me to search for "php 5.5" because the minimum characters I have to type are 4.
When searching for "deprecated" or "class_parser" or "preg_replace" I do not get any results related to this problem.
The webhost is bplaced.net, and has MySQLi version 5.5.27
Their support states that this affects a lot of forum systems now, and that we would need to wait for an official patch to deal with this, and for those who don't want to wait, they should disable the command in the respective line with an @ . I am not sure if this is not causing more problems and would be detrimental to the use of my forum, so I would like to hear what the experts have to say on this.
I remember I had to do this with the magic_quotes thing, but thankfully this was a problem that could be neatly solved. This one looks a bit more intimidating though.
Here is the link that shows the full functions of said webhost: http://www.phpinfo.bplaced.net/
I look forward to any helping hints, and thank you for your time
Recently the provider I am hosting several MyBB forums has upgraded its PHP version to 5.5.0
Ever since, all of my forums show several lines of error messages when viewing topics. I have different versions installed for troubleshooting purposes, and every version I have up including 1.6.10 is having this problem.
I even attempted a clean installation of 1.6.10 to see if there might be a plugin or other changed option being the root of all evil. Sadly, it isn't. Even with a fresh and clean installation I get said error message. I have copied the full header of error when reading the first topic created on this fresh installation (( I have replaced the URL to my webspace with asterisks for safety's sake and put the dashes at random places, in case you wonder )).
This seems like MyBB isn't fully capable of running on PHP 5.5 ?
Quote:Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 642
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 354
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 354
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 354
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 354
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 354
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 354
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 380
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 381
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 382
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 383
Deprecated: preg_replace() [function.preg-replace]: The /e modifier is deprecated, use preg_replace_callback instead in /******/******/inc/class_parser.php on line 389
Since this is a clean installation, I fear I have to wait for 1.6.11 to properly accomodate PHP 5.5.0, or is there something I can do other than plowing through hundreds of lines of code? I have next to no experience with manually changing files, so I am afraid to screw up at some point when I try fixing the problem on my own. On some forums the error lines are several pages long which refer to the class_parser.php
The search function didn't allow me to search for "php 5.5" because the minimum characters I have to type are 4.
When searching for "deprecated" or "class_parser" or "preg_replace" I do not get any results related to this problem.
The webhost is bplaced.net, and has MySQLi version 5.5.27
Their support states that this affects a lot of forum systems now, and that we would need to wait for an official patch to deal with this, and for those who don't want to wait, they should disable the command in the respective line with an @ . I am not sure if this is not causing more problems and would be detrimental to the use of my forum, so I would like to hear what the experts have to say on this.
I remember I had to do this with the magic_quotes thing, but thankfully this was a problem that could be neatly solved. This one looks a bit more intimidating though.
Here is the link that shows the full functions of said webhost: http://www.phpinfo.bplaced.net/
I look forward to any helping hints, and thank you for your time