Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
  • Register
Welcome to the Q&A for Question2Answer.

If you have questions about the platform, click here to ask and please use English.

If you just want to try Q2A, please use the demo, which also grants admin access.

Apr 29: Q2A 1.5.2

MySQL errors appear only on Chrome [mysql_real_escape_string(), : mysql_error()]

0 votes

Unfortunately I'm getting MySQL Warning messages. For some reason, they only appear in Chrome.

Here are the errors;

Warning: mysql_real_escape_string(): 16 is not a valid MySQL-Link resource in /../wp-includes/wp-db.php on line791

Warning: mysql_error(): 16 is not a valid MySQL-Link resource in /../wp-includes/wp-db.php on line 1105

I have turned off WordPress getExternalUsers because of problems like above. However, I'm still getting those errros.

Please tell me how to fix the errors.

Thanks,
A.T.

BTW: I followed this tutorial to get where I am, then just set the qa-config get external users to false. I still need to get_header() from WordPress, which is why I still require the other features from the tutorial.

FYI: I've replaced my actual absolute directory path with /../ for security reasons.

asked Feb 24, 2011 in Q2A Core by A.T.

Please log in or register to answer this question.