vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   AdminCP issues (https://vborg.vbsupport.ru/showthread.php?t=286910)

TamiTaylor 08-21-2012 04:32 PM

AdminCP issues
 
I am having issues with my admin account. It was incorrectly changed and is no longer an admin account (don't ask long story)

I've tried tools.php to reset the admin access but when I do I get a Database Error.

Then I get the email message as follows:

Database error in vBulletin :

Invalid SQL:
SELECT * FROM usergroup WHERE usergroupid = 6 AND (adminpermissions & );

MySQL Error : 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 ')' at line 1
Error Number : 1064
Request Date : Tuesday, August 21st 2012 @ 10:29:09 AM
Error Date : Tuesday, August 21st 2012 @ 10:29:09 AM
Script : http://creativepassionclasses.com/fo...ls.php?do=user
Referrer : http://creativepassionclasses.com/fo...er&type=access
IP Address : 68.227.25.53
Username :
Classname : vB_Database
MySQL Version :

Any help would be greatly appreciated.

Lynne 08-21-2012 05:04 PM

Does the administrator usergroup (usergroupid 6) still exist? You can always go into the database and manually change your usergroupid for your admin account.

TamiTaylor 08-21-2012 05:18 PM

How do i check if it still exists?
Sorry very green about all of this.

--------------- Added [DATE]1345595814[/DATE] at [TIME]1345595814[/TIME] ---------------

I've been searching the forums all day and I'm sorry I'm still lost.

I can use the tools.php but can not use admincp
I do not know how to manually update the database or where to even find the database that would allow me to reset my admin back to admin. they are now with a primary usergroup of 'registered' I believe and no admin privs.

Like I said I keep searching for information on how to do this but keep getting threads that involve using the admincp to fix issues which I can't access. And database threads are mostly in reference to moving databases or setting them up in config.php

Any guidance would be greatly appreciated.

Lynne 08-22-2012 01:19 AM

If you have already searched and found out how to do it via tools.php and that did not work, then I think all other posts you will find will be like mine telling you to change it manually via phpMyAdmin. Do you have access to phpMyAdmin? If so, then that is what I would use to change it. If you do not have access to your database at all using any tool, then I don't know what I would suggest.

Do you have ticket support? If so, put in a ticket.

kh99 08-22-2012 01:29 AM

One thing you might try: when running tools.php, under the "Datastore Cache" section, choose "Bitfield Cache". Then try the restore admin access again.

TamiTaylor 08-22-2012 02:05 AM

thank you so much

Here's where I am:

I tried the bitfield cache, it make no difference :(

I did educate myself some and do have phpmyadmin which I then went into the usergroups and found that 6 does exist, I then went into users and found my admin's id and made sure both user group was 6 and display group id is 0

I then went back to login and it didn't show me as admin. I tried the tools again and got the same error as above.

is there anything in the config file that would have changed that I need to look at or anything in another database?

As for a ticket will they still help me if I purchased the software almost 10 months ago? I received a response before that I was past the point of getting help. :(

--------------- Added [DATE]1345604810[/DATE] at [TIME]1345604810[/TIME] ---------------

And now I have this across the top of my forum:

Warning: Invalid argument supplied for foreach() in [path]/includes/class_bootstrap.php(426) : eval()'d code on line 1

--------------- Added [DATE]1345605114[/DATE] at [TIME]1345605114[/TIME] ---------------

OMG I just was able to get into my admincp !!!!

BUT I still have that Warning message at the top of the forum

--------------- Added [DATE]1345606287[/DATE] at [TIME]1345606287[/TIME] ---------------

K found the plug in causing it and bidding this thread adieu - thanks again.


All times are GMT. The time now is 09:22 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.01398 seconds
  • Memory Usage 1,725KB
  • 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
  • (6)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