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

I use xampp for the q2a .

 i get a message that mysql_connet is depracated . so I've tried to replace all the mysql functions to their mysqli versions. in qa-db.php file.

 Ive also changed my php.ini to support  mysqli ,but still i cant connect to the data base.


i think the problem is in the is_resource function that dont support mysqli objects as resource


how can i fix it?



2 Answers

0 votes
Wait for few more weeks , the q2a 1.7 is coming up with mysqli connections .
0 votes
Just replace this qa-db.php https://github.com/q2a/question2answer/blob/dev/qa-include/qa-db.php with your old qa-include/qa-db.php one and it should work fine.