Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
317 views
in Q2A Core by

I noticed that you said you're using jooml2 and I'm using 3.  The code worked great and I so do appreciate it.  I do have one warning (only warning) and it's not affecting anything that I have seen yet.  Here is the warning.

Warning: mysql_real_escape_string(): 71 is not a valid MySQL-Link resource in /home/homerep7/public_html/libraries/joomla/database/driver/mysql.php on line 132

Sure would appreciate the help.  I'm sure it's probably just a version issue with joomla??

Q2A version: Latest
by
Sorry, I don't frequent this forum much anymore. Been too busy.

Can you tell us more about your configuration? What php version are you using?
What does the code say on line 132 of mysql.php ? When do you see the error?

1 Answer

+1 vote
by
Check if you are allowed to use mysql_real_escape_string(), I am not familar with joomla, but if they are using PDO then you can't use mysql_real_escape_string().

Try to clearefy your question a bit
by
The code that I got related to : How to integrate Joomla with Q2A single sign on? SOLVED.
The code worked very well on my wamp server using MySQL 5.5.24 and when I put it live on my website it produced the real_escape_string issue.  My live server is running version 5.5.28 and figured it was the newer version of sql.  Upgraded wamp server to 5.6.1 and still get no error even with error suppression turned on in apache.
Seen somewhere that the MySQL_real_escape_string has been deprecated and surely there is a way to fix this?
...