Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/saimor/tcr.moricia.com/etcg/logs.php on line 72
I haven't updated or changed anything in my TCG hiatus and yet this suddenly appeared.
Hey Bloo, I thought it best to write here instead of starting a new thread, so sorry for the necro.
I encountered the same error a little earlier, on the same page, when I tried to add more logs to my archive, which already had data in it. This only happened with the activity log and not the trade log. Being a little tech-savvy, I used the information you gave another user for a similar issue on trades.php to find the exact problem. The error message I received is as follows:
"Couldn't process query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Alchemy (choice card):[/i] diamonddust15 - [i]Rikku's Alchemy (choice card):[' at line 1"
My guess is that similarly to the other situation, it's the ' that is causing this to happen. If I removed the offending character, the error changed to give me an issue starting with the following ' instead.
What do I change in my logs.php to prevent this from occurring? Thanks in advance!