Here's a good advice: enable PHP logging, and take a close look to it. I found this error message for every webdav request sent:
PHP Fatal error: Call to undefined function mysql_real_escape_string() in /var/www/ezpublish-4.0.0/lib/ezdb/classes/ezmysqldb.php on line 908
The solution is simple, just install the php-mysql package.
I hope this saves you some time :-)
2 comments:
Actually, the real solution is to fix the code. mysql_escape_string does not necessarily do the same thing as pg_escape_string, and assuming it does without checking might leave you open to an SQL injection attack.
Wouter, You're right of course. This still might help you if you're looking for a quick resolution in the evaluation phase.
Will post further if I have to update the code.
Raph
Post a Comment