Quote:
Originally Posted by Torqued
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:
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
|
Torqued,
Space thingy, you are right, some stupid editor must have brought that in, sorry I'll correct that.
Saving the warning options? Does it come up with any message? It's wierd, 'cause it works fine in both my test site and in the production one. Try downloading the zip again and upload the admin_warn.php to your server's admincp directory.
The two division by zero errors you get, are because the warning_options are not saved and the program tries to divide by the number of lines per page, the last field in the warning_options, which is zero, since the value you entered didn't get saved.
Try what I suggested and come back to me.
Rgds