You are here:  » Automation Scripts


Automation Scripts

Submitted by vertygo on Sat, 2006-04-08 04:41 in

Everything else is working great, but I'm moving on towards using php-cli to automate register.php and I'm getting this error:

undefined function mysql_escape_string

I tried replacing it with:

mysql_real_escape_string

but got the undefined error again.

Any thoughts ?

PHP version is 4.4.2-1
Registering and Importing feeds via the Admin works just fine
Site displays data, including featured items, just great

Submitted by support on Sat, 2006-04-08 11:09

Hi,

This sounds like the cli version of PHP on your sytem has not been compiled with MySQL support. The best thing to do would be to contact your host, who should be able to recompile or install php-cli with mysql support enabled.

Submitted by vertygo on Mon, 2006-04-10 05:15

that did it, thank you!