![]() |
execute SQL bug?
Hi,
I have a problem when i try to "Execute SQL Query" Its for my "vbookie" mod were i need to reset the cash for my users. I enter: UPDATE user SET vbookie_cash=500 and press excecute The outcome says: Quote:
Anyone ? |
You probably have a table prefix and you need to add that in front of "user" in the query.
You should be asking questions regarding modifications in the modification thread. |
yes, i tried to vb3_user
And the outcome was: Affected Rows: 16 (0.0263s) So i guess the excetuting was done right? |
I would guess so, if there were affected rows. If you are able to view the database, you could always check. Or, you'll find out when you try to use the mod whether or not you did it correctly.
|
Quote:
|
16 rows was affected i think it said... but now i got problems with the DB.. but it dont say what type of errors.. just "Database error" 2 out of 3 trys to enter site i get that anoying error.
Are there a way i can do something about this? - can i re-update the software VB ? |
View the page source to get the full SQL error.
|
how can i do this?
|
Rogt click on the error page and select View Source.
|
okay,
here is the error.. can anyone se whats wrong? Quote:
|
That is a server problem. You will have to talk to your host about it.
|
My host says that its not the server but VB most likely...
|
The error is very clear:
User fodboldforum_dk already has more than 'max_user_connections' active connections This is a setting in the MySQL configuration, which your host can edit. |
the new answer i got from my host is:
that i need is to insert a code like this mysql_close () to stop the active alltime acess to DB because of the limited connections. So, what can i do? - i have a bad feeling that this comes out of the Execute SQL Query i did. Seems like it came after this really bad. |
Make sure that you are not using persistent connections (setting in your config.php).
|
for some reason i got 2 config files
config.php config.php.new Were in config.php it accually was set to "1" (on) so now i have set it to "0" (off) Now i really cant get access to my site can you get access? www fodboldforum.dk |
your config.php.new is what you are requred to edit when you install a new vbulletin, it probably got uploaded when you were upgrading. The file can be deleted.
I am still recieving the error when I go to your website, if you have set the persistant connection to 0 then i would agree that it is a host problem. What hosting service do you use? |
www.one.com
I have tried to set it back to "1" (on) and i can access my site - but still get errors alot. Really wierd Right now its on "1" just to have access, but its really not optimal... --------------- Added [DATE]1235649218[/DATE] at [TIME]1235649218[/TIME] --------------- So what can i do now?- will it be fixed if i run an month old backup i did of the DB? or is it doable the problem to fix`? |
anyone? - and somehow the avatars on my users and myself not showing anymore
|
Code:
Database error in vBulletin : As for the avatars, look in the page source and see if the image is being linked there. Then try to go directly to that link - are you getting an error? If so, that is why they aren't showing up. |
seems like i need to change host then because they just say its not a problem at them...
So the big question is, what should i ask a new host about to keep out of this problem in the future ? |
I notice you have a chatbox on your site. I'd try turning that off and see if the problem goes away.
If you have questions regarding hosting, you should post over at vb.com in their Hosting forum. They should be able to help you out. |
The mysql user is using more active connections than it is allowed. Its not a vBulletin issue, your webhost is limiting your mysql resources.
|
are there any way to find out how much trafik total a VB forum use a month and how many "connections" to sql?
|
All times are GMT. The time now is 11:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|