Last Monday I made a full backup of my website / SMF forum 2.0.2, and then i found that when people try to post a youtube link in the forum, they get the following error:
Warning: mysql_real_escape_string () expects parameter 2 to be resource, boolean Given in / home / *** / public_html / forum / Sources / Subs-Db-mysql.php on line 140
I tried to repair the database using the "repair database" function in the CPanel., but it didn't work.
Oh ... Before making the backup I have eliminated some .core files that has emerged in my website
I contacted my webhost service and they suggested to me that I should check the error_log file to see what were the errors that were causing those .core files. And then i should fix those errors.
Well ... The file is full of errors like the one i quoted above. I don't have any idea how to fix it.
I discovered that it was not possible to post new videos from youtube in the forum, but I noticed that those videos who had been previously posted were still working properly.
I uninstalled Aeva Media Gallery and then i found that it was possible to post new links again, but it was not possible to watch any youtube videos inside of the forum.
So I installed AEVA Lite and found that it returned to the situation before: i can watch the videos previously posted, but it is not possible to post new links.
I don't know whta else i can do ... this situation causes huge inconvenience to my forum.
Can anyone, please, help me?