I have Protector (latest version) installed and configured correctly. Now when mysql max_questions are exceeded, I should just get a blank page because I have debug mode turned off.
But I get this message:
<<Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/mysite/public_html/modules/protector/class/protector.php on line 45>>
Is protector superceeding the debug off command? How can I prevent this. Google is indexing this, btw.
Please help if you can.
David
hi davidgman.
I think it is an environment problem caused by MySQL of your server.
Anyway, you can try to edit mainfile.php
old:
define('XOOPS_DB_PCONNECT', 0);
new:
define('XOOPS_DB_PCONNECT', 1);