John,
I found a small typo in the instructions for 3.0.7 -> 3.0.8:
For the code after // ########################## REQUIRE BACK-END :
in this code:
Quote:
else
{
$DB_site->reporterror = 1;
$warn_opts=$DB_site->query_first("select * from ".TABLE_PREFIX." warning_options where oid='1'");
$aws='1';
}
|
There is an extra space between ".TABLE_PREFIX." and warning_options
Instead of ".TABLE_PREFIX." warning_options
Should be ".TABLE_PREFIX."warning_options
I was getting an error when trying to access my AdminCP before I fixed this.
edited to add:
Also, it is not saving my options when I click on "Update Warning Options"
I had initially installed up to 3.0.3, so I ran the uninstaller script, uploaded the 3.0.8 files, then the 3.0.8 installer script, and then did the file edits for 3.0.3 -> 3.0.8. I figured that would be quicker/easier than all of the manual table/template edits.
I'm also getting "Warning: Division by zero in /admincpanel/admin_warn.php on line 672" when trying to view "Statistics - Warnings per user" via the admincp.
and "Warning: Division by zero in /admincpanel/admin_warn.php on line 1889"
when trying to view "Statistics - Bans per User" via the admincp