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 Details »»
Help
Version: , by Battle_Ring Battle_Ring is offline
Developer Last Online: Oct 2010 Show Printable Version Email this Page

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

im trying to install this i ran the installer and it says i have version 3.1.7

i tried to run this query
`".TABLE_PREFIX."warning_options` SET version='3.1.8' WHERE oid='1'

but got this

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning_options` SET version='3.1.8' WHERE oid='1'' at line 1

Show Your Support

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

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

Quote:
Originally Posted by Battle_Ring
im trying to install this i ran the installer and it says i have version 3.1.7

i tried to run this query
`".TABLE_PREFIX."warning_options` SET version='3.1.8' WHERE oid='1'

but got this


An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning_options` SET version='3.1.8' WHERE oid='1'' at line 1
Are you using a table prefix for your tables? If not, then run the query without the "TABLE_PREFIX" part, just erase that and run the query again. If you are using a table prefix, then replace the part above, with your own prefix.

Rgds
  #3  
Old 02-23-2005, 10:39 AM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

get the same error doing it withotu the tabel prefix cuz i dotn got a table prefix
  #4  
Old 02-23-2005, 10:56 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Battle_Ring
im trying to install this i ran the installer and it says i have version 3.1.7

i tried to run this query
`".TABLE_PREFIX."warning_options` SET version='3.1.8' WHERE oid='1'

but got this


An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning_options` SET version='3.1.8' WHERE oid='1'' at line 1
Maybe I am missing something here?

The queries are:

UPDATE `".TABLE_PREFIX."warning_options` SET version='3.1.8' WHERE oid='1'

ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN sig_thresshold INT(15)

ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN avatar_thresshold INT(15)

Remove the table prefix thing, if you have no prefix.
  #5  
Old 02-23-2005, 07:45 PM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN sig_thresshold INT(15)

ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN avatar_thresshold INT(15)

them 2 worked the first time but now i get the error when i try doing them
  #6  
Old 02-24-2005, 04:35 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Battle_Ring
ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN sig_thresshold INT(15)

ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN avatar_thresshold INT(15)

them 2 worked the first time but now i get the error when i try doing them
What is the error? Please be more specific, in your posts, if you want me to help you.

Rgds
  #7  
Old 02-24-2005, 04:54 PM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the error i posted above

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning_options` SET version='3.1.8' WHERE oid='1'' at line 1
  #8  
Old 02-24-2005, 07:42 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Battle_Ring
the error i posted above

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'warning_options` SET version='3.1.8' WHERE oid='1'' at line 1
Check that you have a table called warning_options in your database.
Check that there is one row of data in that table.

If you do not have the table at all, create it using the following query:

PHP Code:
CREATE TABLE `".TABLE_PREFIX."warning_options` (
`
oidint(15NOT NULL auto_increment
`
versionchar(10),
`
hierarchicalchar(3),
`
automaticchar(3),
`
automaticpmchar(3),
`
autocommentschar(3),
`
automatic_warnerint(10unsigned,
`
warnerint(10unsigned
`
collectorint(10unsigned
`
banned_limitint(15NOT NULL
`
points_before_bannedint(5NOT NULL default '0',
`
warnings_before_bannedint(5NOT NULL default '0',
`
banned_usergroup_idint(15) default '0',
`
protected_usergroupsvarchar(50),
`
aprotected_usergroupsvarchar(50),
`
troll_usergroup_idvarchar(10),
`
restore_groupidsmallint(5unsigned,
`
incr_ban_dayschar(3),
`
max_no_bansint(5),
`
bans_matureint(10),
`
viewoptionchar(3),
`
multiple_per_postchar(3),
`
send_pm_warningchar(3),
`
send_em_warningchar(3),
`
email_on_banchar(3),
`
historicalchar(3),
`
allowoffpostchar(3),
`
warnings_per_pageint(3),
`
textbutoptionchar(10),
`
modoptionchar(3),
`
sig_thressholdint(15),
`
avatar_thressholdint(15),
 
PRIMARY KEY  (`oid`)

If the table exists, but contains no data, run the following query:

PHP Code:
INSERT INTO `".TABLE_PREFIX."warning_optionsvalues ('1','3.1.8''No''No','No','No','','','','7','10','10','8','','','8','','No','3','0','All','No','No','No','No','No','No','15','Text''All','3','6'
Let me know
  #9  
Old 02-25-2005, 07:32 PM
Battle_Ring Battle_Ring is offline
 
Join Date: Apr 2004
Posts: 584
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i ra nthat and got

An error occurred while attempting to execute your query. The following information was returned.
error number: 1062
error desc: Duplicate entry '1' for key 1
  #10  
Old 02-25-2005, 07:36 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Battle_Ring
i ra nthat and got

An error occurred while attempting to execute your query. The following information was returned.
error number: 1062
error desc: Duplicate entry '1' for key 1
I asked you a couple of questions, I didn't tell you to run the query, unless you didn't have an entry in that table.

If there is one, and it looks as if there is one, tell me what it contains.

Rgds
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 06:27 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
  • Page Generation 0.04889 seconds
  • Memory Usage 2,314KB
  • 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
  • (2)bbcode_php
  • (5)bbcode_quote
  • (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