vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Settings not saving. (https://vborg.vbsupport.ru/showthread.php?t=83409)

PING1434a 06-20-2005 01:13 AM

Settings not saving.
 
Hello, I just installed this hack and after installation I did the settings and it saves everything ok, but when I go back into the settings, all settings disappear! it makes all the typed settings to empty field and all the yes/no to NO. I read previous thread on this page about not saving, and did the same thing but didn't work.
When i run the mysql query:

Code:

SELECT * FROM setting WHERE varname like 'warn_%';
DESCRIBE warnings

I get:

Quote:

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 ';
DESCRIBE warnings' at line 1
FIXED! SORRY, I DIN'T KNOW AFTER RUNNING THE INSTALL_SETTINGS.PHP SCRIPT, YOU HAD TO RE-SETUP. I EXPECTED THE SETTINGS THAT I PREVIOUSLY DID TO MAGICALLY APPEAR! ><;

sv1cec 06-20-2005 01:45 PM

Glad you figured it out.

Rgds

King Kovifor 06-29-2005 07:46 PM

I'm having the same problem... So what do I have to get Myth to do?

Edit: He thinks he knows what he did wrong.

Mythotical 06-29-2005 08:12 PM

Ok I have reinstalled twice, double checked file edits, templates and all but we are having the same problem.

King Kovifor can't even figure it out.

Any help much appreciated.

sv1cec 06-30-2005 03:34 AM

Do the new settings exist? Try running this query:

PHP Code:

SELECT FROM setting WHERE varname like 'warn_%' 

And let me know.

King Kovifor 06-30-2005 12:25 PM

I would do that but I have absolutely no idea how to do querys or what they are. I mostly do template work but went into simple PHP stuff.

sv1cec 06-30-2005 12:30 PM

Easy, open your admincp and scroll down until you find a section entitled "Import & Maintenance", then open that and you will see Execute SQL Query. Click on that, and in the "Manual Query" box, paste the query I told you to run.

Rgds

DS MrSinister 07-20-2005 10:47 PM

I am having the same problem..

I have tried the query above. Did not work. Unless i added prefix. Still not saving my settings.

any other ideas?

sv1cec 07-21-2005 03:43 AM

Run this query:

PHP Code:

 SELECT FROM ". TABLE_PREFIX ."setting WHERE varname like 'warn_%' 

Replace ".TABLE_PREFIX ." in that line above with whatever table prefix you are using in your site. If the query returns nothing, point your browser to the following URL:

http://www.yourdomainname.com/adminc...ll_setting.php

and follow the instructions.

Rgds

DS MrSinister 07-21-2005 04:10 AM

I got it to work...

thanks

now i have to fix my postbit_legacy problem i will figure that out later..


All times are GMT. The time now is 09:12 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.01240 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete