vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Reverse a query (https://vborg.vbsupport.ru/showthread.php?t=53361)

gwhooooey 05-25-2003 05:11 AM

Reverse a query
 
I want to reverse this...

INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,2,'Default style set.','loo_default_style','1','Set this number to the style id you wish to be displayed by deault (note: This will not overwrite style settings in user profiles!)','','7');

which I ran when installing Anime-loo's, Admin can change default style from admin cp hack

Boofo 05-25-2003 05:17 AM

Run setting.php from the Admin CP and look for the setting in there and delete it.

gwhooooey 05-25-2003 05:29 AM

Thanks that worked.

Hmm may as well ask this as well now but I don't wanna start another thread so may as well ask in here. In my mod cp/admin cp i'm getting this error down the bottom

Invalid SQL: UPDATE session SET lastactivity=1053844114,location='',styleid=2 WHERE sessionhash='550692b2d31f66f52733e640722b5018'
mysql error: Lost connection to MySQL server during query

mysql error number: 2013

Any idea on how I get rid of this?

Boofo 05-25-2003 05:31 AM

Run it again and see if you still get the error.

gwhooooey 05-25-2003 05:44 AM

Nah it's not that, it must be something else but I don't know what

Boofo 05-25-2003 05:46 AM

What were you doing when the error came up? It sounds like the server rebooted or restarted mySQL.

gwhooooey 05-25-2003 05:50 AM

I have absolutely no idea. lol. Ah well


All times are GMT. The time now is 02:36 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.01001 seconds
  • Memory Usage 1,714KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete