Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Not updating Changes in AdminCp? Details »»
Not updating Changes in AdminCp?
Version: , by slim cutty slim cutty is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 08-20-2005 Last Update: Never Installs: 0
 
No support by the author.

I re-installed this hack after upgrading to 3.0.8, it worked fine on 3.0.7, I doubt that is the problem...

at anyrate, I have the latest version of the hack 3.4.15 I did all the file edits and ran install_warn.php as described in the instructions.

When I try to edit options in admincp and click update my changes aren't being updated. It Reads "Your AWS Options have been updated" however, The options remain to say no for everything and blank.

could this be a database issue?


EDITED*

Okay.. problem solved... lol
I didn't run the settings...sorry for this post.. this is the most tedious hack to install, but by far a great hack I love it.. thanks for all the support here to the creator.

Okay I fixed that issue.. but I am now getting this sql error when updating a user....

Code:
Database error in vBulletin 3.0.8:

Invalid SQL: UPDATE user SET

mysql error: Unknown column 'alerts' in 'field list'

mysql error number: 1054
I originally thought that the error was in user.php.. but it's not... shortly after I had the same error above for the 'warnings' table also
I uninstalled/re-installed twice but still the same error

For some odd reason the uninstaller is leaving behind remnants of the hack.. I still see templates in the template area that can't be reverted... when I uninstall warn_notes seems to still remain there? I need help majorly... thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-21-2005, 05:21 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, first calm down and give me proper details of your errors. The one you send me above, doesn't even contain the script that caused the error. The uninstaller may leave things behind, I do not pay too much attention to it, I do update it from time to time, but it is possible that some things slip by.

Give me details of your errors, the complete error messages.
  #3  
Old 08-21-2005, 11:15 AM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol ahahaahha I'm sorry man, I love this hack and never had problems with it before except the redirect which you helped me fix....

well, here's the deal, on "view warned users" in admincp... I get this error

HTML Code:
Database error in vBulletin 3.0.8:

Invalid SQL: SELECT COUNT(*) AS users FROM user AS user where warnings>0 OR alerts>0
mysql error: Unknown column 'warnings' in 'where clause'

mysql error number: 1054

Date: Sunday 21st of August 2005 08:09:21 AM
Script: http://66.49.132.220/sacred/admincp/admin_warn.php?act=viewwarnedusers
Referer: http://66.49.132.220/sacred/admincp/index.php?do=nav
On "warings per warner" I get this error

HTML Code:
Database error in vBulletin 3.0.8:

Invalid SQL: select wt.userid, wt.username, wt.usergroupid  from
	user wt WHERE usergroupid =  OR usergroupid =  OR usergroupid =  ORDER BY userid
mysql error: You have an error in your SQL syntax near 'OR usergroupid =  OR usergroupid =  ORDER BY userid' at line 2

mysql error number: 1064

Date: Sunday 21st of August 2005 08:10:57 AM
Script: http://66.49.132.220/sacred/admincp/admin_warn.php?act=viewstats2
Referer: http://66.49.132.220/sacred/admincp/index.php?do=nav
and on "warnings per user" I get this which is relatively the same issue

HTML Code:
Database error in vBulletin 3.0.8:

Invalid SQL: SELECT COUNT(*) AS users FROM user AS user where warnings>0 OR alerts>0
mysql error: Unknown column 'warnings' in 'where clause'

mysql error number: 1054

Date: Sunday 21st of August 2005 08:12:17 AM
Script: http://66.49.132.220/sacred/admincp/admin_warn.php?act=viewwarnedusers
Referer: http://66.49.132.220/sacred/admincp/index.php?do=nav
I guess the installer isn't putting some things in, I re-uped my board with my backups yet, the hack still will not install right for some reason....those are the errors... I don't know exactly what you mean as far as scripts? But I'll look at the uninstaller and see what it inserts into the database and try to drop them, I guess I'll wait for you to answer this an I'll come back to it.
  #4  
Old 08-21-2005, 12:25 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your first error is most probably due to the warnings column not being created in the user table. Add it manually, running this query:

Code:
ALTER TABLE `".TABLE_PREFIX."user` add `warnings` int(5) default '0'
As for your second issue, have you set up your Warning Options properly, as far as the admin/mod/smod user groups?

You must first define your options, before you can run the program.
  #5  
Old 08-21-2005, 12:28 PM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow... I just unistalled it completely lol, I'll try this... but there is still the first problem...

When I update the user, I get the error where it doesn't recognize the "alert column" in fieldset... that was the initial problem...

EDITED*

Okay looking at the installer, I guess that I add this...

HTML Code:
ALTER TABLE `".TABLE_PREFIX."user` add `alerts` int(5) default '0'
I'll come back to this if this works thanks a bunch man
  #6  
Old 08-21-2005, 01:03 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pls do! It should work fine.
  #7  
Old 08-21-2005, 01:32 PM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got this error in sql...

HTML Code:
#1103 - Incorrect table name '".TABLE_PREFIX."user'
I don't have table pre-fixes... is there a way to run this without getting this error? I think this is why it was causing so much trouble...lol I would try to do this myself but I don't want to add or delete the wrong thing
  #8  
Old 08-21-2005, 01:55 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Run the query like this:

Code:
ALTER TABLE `user` add `alerts` int(5) default '0'
  #9  
Old 08-21-2005, 02:26 PM
slim cutty slim cutty is offline
 
Join Date: May 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

John! I Love You Man! lol ahahahahah

That did it

For some reason, the installer skipped? I just went through and manually added the rest of what was missing thanks man... you were a big help
  #10  
Old 08-21-2005, 02:28 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That's wierd, the installer skipped some columns and added others?
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:57 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04090 seconds
  • Memory Usage 2,289KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (5)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete