vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=263)
-   -   Execute SQL Query - Executed the Query, now site is down (https://vborg.vbsupport.ru/showthread.php?t=299963)

ViciousGnome 07-09-2013 02:46 PM

Execute SQL Query - Executed the Query, now site is down
 
Hello, and thank you for trying to assist me.

While trying to execute an SQL querie using:

Maintenance
Execute SQL Query

I get the following error:

You are not authorized to execute SQL queries

After contacting support I was told I needed to edit the config.php file. So, I added the following line at the bottom of the file (as support was not very helpful at all, I didn't know where else to put it):

$config['SpecialUsers']['canrunqueries'] = '1;

I saved the file, and went into my site's Admin CP. I went to:

Maintenance
Execute SQL Query

After clicking on Execute SQL Query, the Admin CP went blank. All attempts to access the site or Admin CP result in errors or blank screens. Can anyone assist me?

The website is xdebate.com and the forums are in xdebate.com/forums

Any help is greatly appreciated. Thank you.

ViciousGnome 07-09-2013 03:08 PM

I fixed it by uploading a backup copy of the config.php file.

nerbert 07-09-2013 05:04 PM

If that's a copy/paste of the actual line of code you put in it's missing a quote mark at the end


All times are GMT. The time now is 08:45 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.01029 seconds
  • Memory Usage 1,705KB
  • 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
  • (3)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