Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2012-09-07 11:50:16

ptsguy
Member
Registered: 2012-08-06
Posts: 135

cron.php throwing a db error

Seeing this when running cron.php manually..

ErrorException [ 2 ]: mysql_real_escape_string() expects parameter 2 to be resource, null given ~ /var/www/pornupped/libraries/framework/database/mysql.php [ 211

Offline

#2 2012-09-07 15:19:52

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: cron.php throwing a db error

Hmmm...this happens when the connection has been lost. What was executed? (check the cront able in mysql).


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2012-09-07 15:22:09

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: cron.php throwing a db error

nothing was executed...all 0's and 1's.

Offline

#4 2012-09-07 15:54:30

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: cron.php throwing a db error

Hmm...0 and 1 is good when it comes to computers :-) Checking.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2012-09-07 15:56:33

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: cron.php throwing a db error

0 for last_executed and status = 1

I changed the last_executed to 0...figured thats what it might have been, but it didn't help

Offline

#6 2012-09-10 09:03:31

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: cron.php throwing a db error

Hmm...i tested this on my box and it works. Will test again and also check your server.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#7 2012-09-10 11:50:23

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: cron.php throwing a db error

does work over here for whatever reason...

Offline

Board footer

Powered by FluxBB