Please need help

eniyiklanlar

New Member
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u999881923/public_html/sources/sql/mysql.php on line 32

http://toplistekle.info
I do not know what is rong.Can someone help me please?
 

Basti

Administrator
Staff member
Hi, Visiolist is not yet ready for php 5.6 which spits out these errors for the mysql_ functions.

For the time being, please open settings_sql.php
Find this line
Code:
$CONF['sql_prefix'] = 'VL';
And on a new blank line below paste the following, that should remove the error
Code:
error_reporting(E_ALL & ~E_DEPRECATED);
 

eniyiklanlar

New Member
Thanks Basti for your help.While i was waiting for replay
i tried @ infront of mysql_connect() then worked
@mysql_connect() is it ok?
 

Basti

Administrator
Staff member
yea, that works too, basicly the same effect, just that you remove all possible errors also, while the error_reporting just remove the deprecated warning.
 
Top