![]() |
I just installed the latest version (upgraded from zero tolerance's version, boy has this hack grown!) and somehow I ended up without any warnng templates at all!
In the admincp everthing seems to be working, but when I try to issue a warning all I get is a blank page. That is when I noticed I do not have any templates that begin with 'warn'. |
Quote:
|
Quote:
I set all my warning options and click on Update Warning Options.. It then takes me to the next screen that says: Your Warning System menu has been modified. AdminCP will be reloaded. Your AWS Options have been updated. When it refreshes and I go back into warning options, none of my options have been saved.. :( |
Quote:
As for the blank page, could you please be more specific? Where are you trying to warn from? There are several places you can issue a warning now, from a post, from a user's public profile (non-post-related) and for AdminCP itself (again, non-post-related). Also what Torqued said, is that your default style? |
Quote:
|
Torqued,
I am checking the saving routine and I can find no reason why the options are not saved. If you check the file admin_warn.php, at the section called 'do_update_warnopt', you will see that there is no way that the options cannot be saved. A couple of checks in the ifs and then a update. Doesn't make sense, unless something is wrong in the setup of your forums or your database. I did find a small problem with a } in that routine, which prevented the correct return of the program to the Options screen or the AdminCP index, but that is after the insert query. Please tell me the options you are using, so that I can duplicate your scenario. If you want, you may download the new zip, I changed the position of that bracket, but I know this is not what causes your problem. |
sv1cec,
i'm having SQL errors when i try to view "view banned users" in my admincp also i noticed AWS is not showing the version number anymore it just shows 'advanced warning system version (this is empty)' Code:
Database error in vBulletin 3.0.5: regards |
I'm having the same problem as Torqued.
But I've also got a few more: I cannot warn people for post-related offences but they can be warned outside of that. I did the templates as your instructions told me. Also, I cannot save the warn options. No matter what settings I put, it won't save. I installed it just as your instructions said, so there shouldn't be a problem. By the way, I'm using 3.0.5. |
Quote:
Your error is because the program cannot find how many lines per page to show. Maybe you too have the same problem with the saving??? I am totally confused with this issue. As for the Version number, did you run the query which updates that to the latest version number, when you upgraded? |
Quote:
Quote:
|
Quote:
Please be more specific. Rgds |
Well i had a problem to save my options too and i found why. After installing the hack the warning_options table remained empty with no records. So, when the script tries to update the table where oid = 1, it can't.
Fix for me : I added a record in this table with oid = 1 with phpmyadmin. Now it works well :). |
John,
Don't know if this helps: I'm not seeing any rows in the warning_options table... in phpMyAdmin, I can see the structure, but, it appears that there is not a row there to update... ?? |
Same as me, do what i've done above :)
|
Quote:
|
i don't have any "warn user" links in my templates anymore althrough i edited them :S :S :S :S
|
Quote:
Strange!! |
Quote:
I do not see the templates. I did a search all templates for the word warn and it only returned board_inactive_warning, memberinfo, navbar, polloptionn_table, postbit, and postbit_legacy (the seach was in all styles and search titles only was set to no). The blank page occurs when I try to warn from a post or from the memberinfo page. And yes, my default style is a child style |
Quote:
|
Quote:
|
Quote:
Sorry! :-( |
Quote:
Runs to update the instructions!!!! Buhooooooooooo! Thanks for catching it Akex, or .... Merci Beaucoup Monsieur! |
You welcome :)
|
Quote:
i alread did Code:
UPDATE vb3_warning_options SET VERSION='3.0.8' WHERE oid=1 regards |
Quote:
Do you have one line of data in your warning_options table? If you do, then you can save your warning options. Then, if you define you want non-post-related warnings, the links will appear. Rgds |
Quote:
I think I have found the problem as well. I completely redid the hack just a few moments ago (whew!) and when running the upgrade script I run step 1, everything is fine, I run step 2 and TADA! I have the templates, then I run step 3 and poof! the templates are gone. I have got around this by running the upgrade all the way through (to get the database updates), then re-running it and stopping after step 2 so the templates are not removed. Now no blank pages! |
hi sv1cec ,
no seems i can't save my AWS options i hit that button but the options i set aren't saved i got this line of SQL from a database backup dump Code:
INSERT INTO `vb_3warning_options` VALUES (1, '3.0.8', 'Yes', 'Yes', 'Yes', 'Yes', 2, 2, NULL, 14, 30, 8, '6|6', '6', '8', 2, 'Yes', 2, 0, 'All', 'Yes', 'Yes', 'No', 'No', 'Yes', 'Yes', 15); #1136 - Column count doesn't match value count at row 1 rgds |
Quote:
Okay, this is weird. I copied and pasted the code, and got this warning: Parse error: parse error, unexpected T_VARIABLE in /home/pkrwud/public_html/vbulletin/admincp/admin_warn.php on line 1837 So, I copy and pasted the original code from the same post (quoted above), and got the same error again. In fact, I got that error when I clicked on any of the options in the Warning System portion of the Admin CP. So, I opened the original copy of that file on my hard drive, and copied and pasted from there, and now it's back to normal. Maybe I'm missing it, but I'm not seeing any real difference between the two. Why did I get that error? BTW, line 1837 is the one that starts with: $get_warns And, I have another question (lucky you). In that same file, just below the code mentioned above, it says: PHP Code:
|
Quote:
Code:
INSERT INTO `".TABLE_PREFIX."warning_options` values ('1','3.0.8', 'No', 'No','No','No','','','','7','10','10','8','','','8','','No','3','0','All','No','No','No','No','No','No','15') |
Quote:
For the record, I've taken care of all of this, and it works great, but I'm still curious why I got that error when I copied and pasted the code from your reply. |
Quote:
in french merci beaucup |
Quote:
Yes, you should change the code in that other place as well. Rgds |
Quote:
In any case, please make sure your warning options table has all the columns. The correct columns are shown in the install_warn.php script. rgds |
Quote:
I'm sorry, but I'm not sure what you mean. In any case, this code gave me that error: PHP Code:
While this code worked: PHP Code:
I figured out the second part, too. I went through all the files in the download package, and all the template edits, and the only other place I found that needed to be changed was the MEMBERINFO template, so I changed it. To the best of my knowledge, everything is working great. :) |
I have done all the modification . Everything seems to work, but nothing gets displayed in the showthread.php for the mods to add a warning. Please advise. This is my postbit_legacy:
Code:
<!-- post #$post[postid] --> |
Quote:
PHP Code:
|
sv1cec ,
I came across another problem i enabled the thingy called "quick stylechooser" (i have more then one style in my vbulletin installation) thing is the AWS templates aren't added to all styles installed i use the vb3 default style and the vb3 classic style (ths last one works correctly ) hower the default doesn't have the AWS templates what can i do about this without getting into trouble .... ? oooh well this hack can copy templates from one style to another rgds |
Quote:
Rgds -------- John |
Quote:
Man I owe you one.. Thanks a lot bro.. |
Hello
I have these problems(309) : Warning: Division by zero in /admincp/admin_warn.php on line 665 Quote:
Warning: Division by zero in /admincp/admin_warn.php on line 1856 Quote:
|
All times are GMT. The time now is 08:09 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|