Using
vBulletin 4.2.5 I'm getting the following error, anyone can help me with this please
PHP Version 7.1.33
MySQL Version: 10.2.31-MariaDB
Code:
Call to undefined function mysql_real_escape_string() on line 51 in /home/kalcbbsk/public_html/includes/class_eg_tfh_yui.php
#0 /home/kalcbbsk/public_html/forum.php(791) : eval()'d code(60): tfh_vB_YUI->javascript_code('forumhome_conta...')
#1 /home/kalcbbsk/public_html/forum.php(791): eval()
#2 /home/kalcbbsk/public_html/index.php(43): require('/home/kalcbbsk/...')
#3 /home/kalcbbsk/public_html/dbseo.php(504): require('/home/kalcbbsk/...')
#4 {main}
Fatal User Error: Call to undefined function mysql_real_escape_string() on line 51 in ..../includes/class_eg_tfh_yui.php in ..../vb/vb.php on line 286
Trace Data:
#1 : vbstop() called in ..../includes/class_core.php on line 6089
#2 : vbulletin_error_handler() called in on line
#3 : trigger_error() called in ..../vb/vb.php on line 286
#4 : vB::handleException() called in on line
Var Type:
[ NULL ]
Var Data:
null
I have also tried this, but it didn't resolve the problem:
Quote:
Originally Posted by Dave
Either disable warnings or open the files includes/class_eg_tfh_yui.php and replace mysql_escape_string with mysql_real_escape_string at all places.
|