Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 14 Years, 1 Week ago set_magic_quotes_runtime() is deprecated
#1
Solved: 14 Years, 1 Week ago
im gettiing this error now on my mybb forum. idk why. its 1.6
any one know the problem? i look in mybb.com but says i need to upgrade but im using upgraded version..

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/passws/public_html/inc/class_core.php on line 165

The following warnings occurred:
Warning [2] Cannot modify header information - headers already sent by (output started at /home/passws/public_html/inc/class_core.php:165) - Line: 1622 - File: inc/functions.php PHP 5.3.4 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1622 header
/inc/class_session.php 360 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 55 session->init
/index.php 18 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/passws/public_html/inc/class_core.php:165) - Line: 1622 - File: inc/functions.php PHP 5.3.4 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1622 header
/inc/class_session.php 365 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 55 session->init
/index.php 18 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /home/passws/public_html/inc/class_core.php:165) - Line: 1622 - File: inc/functions.php PHP 5.3.4 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1622 header
/inc/class_session.php 106 my_setcookie
/global.php 55 session->init
/index.php 18 require_once
#2
Solved: 14 Years, 1 Week ago
Your host should disable magic quotes, but to fix the error, in ./inc/class_core.php, line 165:

set_magic_quotes_runtime(0);

change to:

@set_magic_quotes_runtime(0);


Forum Jump:


Users browsing this thread: 1 Guest(s)