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
warning options not saving after install? DB problem? Details »»
warning options not saving after install? DB problem?
Version: , by heynurse heynurse is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

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

Hi I just installed this hack, everything seemed to go fine, except the first time I ran the installation when it was modifying the DB, it took several minutes (I'm not sure if that is normal) But it did finally give me a succussful message.

After was done installing, I went to set my warning options etc... I set them, clicked save, then I got a screen saying that it was all saved, but it didn't save any of my options?? I go back into the options, and they are all the default settings and none of the choices I made were saved?

I think that somehow, the database tables were not installed properly??

Also in the install instructions, it said:
Quote:
Follow the steps in that script. This will create the necessary setting entries, used in the hack.
At this point, you might want to verify that everything was done as scheduled. To check this, run the following queries (remember to change them accordingly, if you are using a table prefix):
SELECT * FROM `" . TABLE_PREFIX . "setting` WHERE varname like 'warn_%'
This should show you a couple of pages of settings, their names should all start with the words "warn_".
DESCRIBE `" . TABLE_PREFIX . "warnings`
You should see the contents of the table warnings.
If those two queries show you the proper results, it should be OK to proceed to the next steps.
I don't have any table prefix, so what kind of query should I run? (sorry, I'm not that familiar with SQL queries )
Or if anyone has suggestions of what I could do to get this up and running, that would be great as well.

This looks like a wonderful hack, and I'm excited to get it up and running

Thanks!

Show Your Support

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

Comments
  #2  
Old 05-26-2005, 06:56 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[sql]SELECT * FROM setting WHERE varname like 'warn_%';
DESCRIBE warnings;[/sql]
These 2.
  #3  
Old 05-26-2005, 07:49 PM
heynurse heynurse is offline
 
Join Date: Jan 2002
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the query, I ran that and the results said:
Quote:
Your SQL-query has been executed successfully
SELECT *
FROM setting
WHERE varname
LIKE 'warn_%';# MySQL returned an empty result set (i.e. zero rows).
DESCRIBE warnings;# Rows: 11
I'm not really sure what that means? But my best guess is that the database settings did not get set up correctly with the script.

What would be my next step to get this up and running properly? Thanks
  #4  
Old 05-27-2005, 05:13 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try running the warn_install_setting.php again. Point your browser to it, select add settings and go.

Let me know if it worked for you.
  #5  
Old 05-27-2005, 07:38 AM
heynurse heynurse is offline
 
Join Date: Jan 2002
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi John,

Thanks for your help, I belive that took care of it, I'll let you know if I have any problems.
  #6  
Old 05-27-2005, 07:58 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just let me know.

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 08:47 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.03866 seconds
  • Memory Usage 2,246KB
  • Queries Executed 21 (?)
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_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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