Problem with MySQL on SMF

Connect with other users about what to run on your webhosting (and how to run it) here.
Post Reply
SkieL.-
New to forums
New to forums
Posts: 2
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Feb 24, 2015 4:11 pm

Problem with MySQL on SMF

Post by SkieL.- »

Hello, I have a php page that makes connections to a database, the problem is that to make such connections, the page throws a mistake several times. In the previous host where I was, this not happened. I didn't modified anything in the php file, so it seems strange that happen.

The error is: Warning: mysql_real_escape_string(): 13 is not a valid MySQL-Link resource in /usr/www/skiel/public/Sources/Subs-Db-mysql.php on line 132

URL: http://www.resultados.zyg-gaming.com

Can someone help me please? :roll:
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Problem with MySQL on SMF

Post by soja »

You are probably seeing errors on NFO web hosting because of different versions of MySQL or PHP.

How many results is that page supposed to load? While loading the page my browser lags because of all the errors happening. You might also want to remake your php files using mysqli instead of mysql. If I remember correctly mysql will be unsupported in near future versions of PHP.
Not a NFO employee
SkieL.-
New to forums
New to forums
Posts: 2
Joined: Tue Feb 24, 2015 4:11 pm

Re: Problem with MySQL on SMF

Post by SkieL.- »

Sorry, I forgot this thread. The number of results to load is correctly, but with Google Chrome appears that bug, also I have problems with a control panel that dumps data from a database and sends a query to modifying them. By displaying the data no problem, but when I send it, the query fails. No throws error, but the page stays where it is and the query don't execute to the database.
Post Reply