How To Address Translator Pro Warnings

By Angsuman Chakraborty, Gaea News Network
Monday, November 12, 2007

We are having 2-3 reports of users seeing warnings (not error) using Translator Pro with the latest version of WordPress while posting a comment or publishing a post:

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2) in …/wp-content/plugins/translator/translator.php(15) : eval()’d code on line 1080

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in …/wp-content/plugins/translator/translator.php(15) : eval()’d code on line 1080

Warning: Cannot modify header information - headers already sent by (output started at …/wp-content/plugins/translator/translator.php(15) : eval()’d code:1080) in …/wp-includes/pluggable.php on line 391

Paul Hartrick, one of our valued client, discovered that this was caused by Arne Branchold’s XML Sitemap generator plugin. You can fix this issue by activating MySQL standard mode for XML Sitemaps plugin.

Discussion
December 1, 2007: 5:10 pm

Thanks a ton Angsuman I was having exactly this problem. THe solution worked like a charm!

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :