support question : mysql_real_escape_string(): 25 is not a valid MySQL- Link resource

I have several support questions about this message found in MailPress logs

mysql_real_escape_string(): 25 is not a valid MySQL- Link resource in …

This happens on some configurations when trying to send and definitely save a draft mail !

Here is the code sequence :

1) Disconnect from mysql database
2) Send Mail
3) Re connect to database
4) Save Mail definitely !

so step 4 is bugging and i believe this is due to some bug on step 3 for some configurations.
Connection/deconnection code used is available here : http://goo.gl/hKCVW
If anyone have found how to fix this, please share your solution.

This entry was posted in News. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>