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
Help with a few errors Details »»
Help with a few errors
Version: , by mekro mekro is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

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

Hi

I upgraded from zero's warning script to this one everything went fine however i am getting the following errors:

Code:
Invalid SQL: select w.*,u.username as wusername,u.userid as wuserid,wt.*, wrn.username as warnername, wrn.userid as warnerid, ruser.username as removed_by_v, (w.warned_time+wt.warn_maturity*24*60*60) AS maturitydate from
    vb_warnings w
    left join vb_user u on(u.userid=383)
    left join vb_user wrn on(wrn.userid=w.warned_by)
    left join vb_user ruser on(ruser.userid=w.removed_by)
    left join vb_warning_types wt on(wt.tid=w.warned_warning_id)
    where w.warned_user='383' order by w.warned_time
mysql error: Unknown column 'w.removed_by' in 'on clause'

mysql error number: 1054
Code:
Invalid SQL: select * from vb_warnings where warned_post='12321' AND warned_status='A'
mysql error: Unknown column 'warned_status' in 'where clause'

mysql error number: 1054
also when i try to view or warn a member the warn.php page is completely blank.

any help please.

Kirk

Show Your Support

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

Comments
  #2  
Old 03-15-2005, 09:39 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

MySQL errors

you are for some reason missing some requirerd tables in your database to add the "removed by" field run

Code:
ALTER TABLE vb_warnings ADD COLUMN removed_by int(15);
to add the "warned_status" field

Code:
ALTER TABLE vb_warnings ADD COLUMN warned_status char(1);
the blank page problem
are you using more then one (the default) vbulletin style if so the install script only adds the aws templates to the master (default) style here's a hack that allows you to copy templates from one style to another
  #3  
Old 03-16-2005, 07:47 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi
hi,

MySQL errors

you are for some reason missing some requirerd tables in your database to add the "removed by" field run

Code:
ALTER TABLE vb_warnings ADD COLUMN removed_by int(15);
to add the "warned_status" field

Code:
ALTER TABLE vb_warnings ADD COLUMN warned_status char(1);
the blank page problem
are you using more then one (the default) vbulletin style if so the install script only adds the aws templates to the master (default) style here's a hack that allows you to copy templates from one style to another
I am not sure why this thing is happening, people are having problems with some fields in the warnings table. Check which fields you have there, and see if you have the ones shown in the query below. If not, run the query.

Code:
alter table ".TABLE_PREFIX."warnings 
add `warned_status` char(1), add `caused_ban` char(1), add `removed_by` int(15), add `removed_date` int(15)
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 08:56 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.05632 seconds
  • Memory Usage 2,212KB
  • Queries Executed 16 (?)
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
  • (7)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete