Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Major Help Needed with Warning System Hack Details »»
Major Help Needed with Warning System Hack
Version: , by Rynthar Rynthar is offline
Developer Last Online: Sep 2007 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-18-2003 Last Update: Never Installs: 0
 
No support by the author.

Hey guys. Really want Warning System, but it just wont seem to work =( Here is a conversation with Davey that explains the entire situation, what we tried, what I get, etc.

EDIT: Forgot to say I am on 2.3.0 and that I double checked that my code is correct numerous times

_______________________________________________


<Rynthar> Alright
<Rynthar> once I go to install_warning.php
<Rynthar> I click continue
<Rynthar> then I get...
<Rynthar> Query Installer: Running Queries Now!
<Rynthar> Creating Warning Logs Table.
<Rynthar> Warning Logs Table Successfully Created!
<Rynthar> Creating Warnings Table.
<Rynthar> Warnings Table Successfully Created!
<Rynthar> Inserting Defualt Warnings Into Warnings Table
<Rynthar> Defualt Warning Values Successfully Inserted!
<Rynthar> Altering User Table: Adding Warning Level.
<Rynthar> under that I get
<Rynthar> There seems to have been a slight problem with the Xoxide Forum Network database
<Rynthar> inside the database error box is
<Rynthar> Database error in vBulletin Control Panel 2.3.0:
<Rynthar> Invalid SQL: ALTER TABLE user ADD warninglvl int(10) NOT NULL DEFAULT '0'
<Rynthar> mysql error: Duplicate column name 'warninglvl'
<Rynthar> mysql error number: 1060
<Rynthar> Date: Thursday 17th of April 2003 09:46:44 PM
<Rynthar> Script: http://www.xoxideforums.com/admin/in...ing.php?step=2
<Rynthar> Referer: http://www.xoxideforums.com/admin/install_warning.php
<Rynthar> I mean, when I click on the links inside the admin cp it works
<Rynthar> the view warning list link works
<Rynthar> but like, nowhere in the postbit or anything does it show the persons warn levels or anything
<Rynthar> any help is extremely appreciated, the warning system is something i looked very forward to having
<Davey> Delete 'warninglvl'
<Rynthar> ?
<Rynthar> What do you mean
<Davey> You have access to phpMyAdmin?
<Rynthar> no I do not, I have SSH tho
<Rynthar> and the run db query from admin cp
<Davey> Ok umm.
<Rynthar> so those are what all those errors are tho lol
<Davey> Try running this query.
<Davey> ALTER TABLE user DEL warninglvl;
<Davey> Then try reinstalling the hack and tell me what happens.
<Rynthar> when i run the query
<Rynthar> I get Database error in vBulletin Control Panel 2.3.0:
<Rynthar> Invalid SQL: ALTER TABLE user DEL warninglvl;
<Rynthar> mysql error: You have an error in your SQL syntax near 'DEL warninglvl' at line 1
<Rynthar> mysql error number: 1064
<Rynthar> lol
<Davey> Try ALTER TABLE user DROP warninglvl;
<Davey> Sorry I'm not very good with ALTER TABLE.
<Davey> I don't exactly "use" it.
<Rynthar> its weird tho, I dont get any of the things that GForce has in screenie A, B, C, or D
<Rynthar> lol, i understand
<Rynthar> Running ALTER TABLE user DROP warninglvl; ... Success! =)
<Rynthar> I get this now... Database error in vBulletin Control Panel 2.3.0:
<Rynthar> Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40)
<Rynthar> mysql error: Duplicate entry '40' for key 1
<Rynthar> mysql error number: 1062
<Rynthar> *sighs*
<Davey> Now install it again.
<Rynthar> I did
<Rynthar> thats what I got
<Davey> Hmm.
<Rynthar> like, instead of that error 1060, i got the erro 1064
<Rynthar> you want admin access?
<Davey> Nah I'm okay.
<Davey> I can't help anymore than that.
<Rynthar> *sighs*
<Davey> Ask on vBulletin.org.
<Davey> Um.
<Rynthar> well, do you know where you actually see the screenshots A,B,C, and D?
<Davey> I would ask in Support.
<Davey> Sec.
<Rynthar> like as to why the postbit isnt there, etc
<Davey> ?
<Rynthar> https://vborg.vbsupport.ru/attachmen...&postid=296290
<Rynthar> like that
<Rynthar> I dont know where to see that or anything
<Rynthar> https://vborg.vbsupport.ru/attachmen...&postid=296292 and that and https://vborg.vbsupport.ru/attachmen...&postid=296293
_________________________________________

And thats where it ended =) When I get this working I got a spare Ekko Licence if someone wants one =)

EDIT: Also, I would be willing to give any of you dummy admin access since I am not sure whether I did some of the templates right since we have a custom postbit much different then the postbit in the install.txt file =(

Show Your Support

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

Comments
  #2  
Old 04-18-2003, 03:34 AM
DigitalDesktops DigitalDesktops is offline
 
Join Date: Mar 2003
Location: Scotland, UK
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm, it looks like you have a duplicate column "warninglvl". try going into the user table and dropping that. try using this:

use these queries:

PHP Code:
DROP TABLE warnings_log

DROP TABLE warnings

ALTER TABLE user DROP warninglvl

DELETE FROM settinggroup WHERE displayorder
=44

DELETE FROM setting WHERE settinggroupid
=44

DELETE FROM template WHERE title IN
('warn_add','warn_banemail_notify','warn_banemail_subject','warn_error_cantwarngroup','warn_error_emptyreason','warn_error_maxwarnlimit','warn_error_noaccess','warn_error_noexist','warn_error_nowarnings','warn_error_postnoexist','warn_error_whywarnself','warn_getinfo_warning','warn_list','warn_listing','warn_pmemail_notify','warn_pmemail_subject','warn_pmno','warn_pmyes','warn_redirect_userban','warn_redirect_warnsuccess','warn_seelink','warn_show','warn_show_warn','warn_userinfo','warn_viewlink','warn_warnlink') AND templatesetid=-
Run install_warning.php again and see if it works.
Reply With Quote
  #3  
Old 04-18-2003, 03:46 AM
Rynthar Rynthar is offline
 
Join Date: Mar 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40)
mysql error: Duplicate entry '40' for key 1

mysql error number: 1062

I get that now
Reply With Quote
  #4  
Old 04-18-2003, 03:53 AM
Rynthar Rynthar is offline
 
Join Date: Mar 2003
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for the record, when I run /warn.php I get

Invalid SQL:
SELECT name, warnlvl, points
FROM warnings
ORDER BY (warnlvl) ASC, (worder) ASC
mysql error: Table 'xoxideforums_com.warnings' doesn't exist

mysql error number: 1146
Reply With Quote
  #5  
Old 05-01-2003, 07:00 PM
drives fast's Avatar
drives fast drives fast is offline
 
Join Date: Nov 2001
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Invalid SQL: INSERT INTO settinggroup VALUES (40, 'Warnings System', 40)
mysql error: Duplicate entry '40' for key 1
you have to go into your database and into the settinggroup table and remove that entry as well.
Quote:
Invalid SQL:
SELECT name, warnlvl, points
FROM warnings
ORDER BY (warnlvl) ASC, (worder) ASC
mysql error: Table 'xoxideforums_com.warnings' doesn't exist

mysql error number: 1146
you are getting that because you have not re-installed the database parts of the hack again after removing everything mentioned in this thread
Reply With Quote
Reply

Thread Tools

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 03:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.15489 seconds
  • Memory Usage 2,248KB
  • Queries Executed 20 (?)
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
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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_postinfo_query
  • fetch_postinfo
  • 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