MyBB Community Forums

Full Version: [F] deprecated magic_quotes with PHP 5.3
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB has experienced an internal error and cannot continue.

Error Type:
(8192)
Error Message:
Function set_magic_quotes_runtime() is deprecated
Location:
File: D:\wamp\www\mybb\inc\class_core.php
Line: 163
Code:
160. $this->strip_slashes_array($_GET);
161. $this->strip_slashes_array($_COOKIE);
162. }
163. set_magic_quotes_runtime(0);
164. @ini_set("magic_quotes_gpc", 0);
165. @ini_set("magic_quotes_runtime", 0);
166.

MyBB has experienced an internal error and cannot continue.

Error Type:
(8192)
Error Message:
Assigning the return value of new by reference is deprecated
Location:
File: D:\wamp\www\mybb\admin\modules\style\templates.php
Line: 1199
Code:
1196. require_once MYBB_ROOT."inc/3rdparty/diff/Diff.php";
1197. require_once MYBB_ROOT."inc/3rdparty/diff/Diff/Renderer/inline.php";
1198.
1199. $diff = &new Text_Diff('auto', array($template1['template'], $template2['template']));
1200. $renderer = &new Text_Diff_Renderer_inline();
1201.
1202. if($sid)
thanks
Our SQA Team / Developers already identified PHP 5.3 issues and we already have fixes for it in the SVN. MyBB wil be PHP 5.3 compatible when the next maintenance release comes out.
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

With regards,
MyBB Group