![]() |
paid subscriptions ACP error
When i press 'view users' from a Paid Subscription in the ACP i get the following database error
HTML Code:
Database error in vBulletin 3.8.8. Patch Level 1: Any help appreciated. |
It looks to me like a mod has added a column to the user table called 'status', and that broke a query in subscriptions.php. Assuming that you don't want to remove that mod or that column from the user table, you could either figure out how to rename it, or else change acp/subscriptions.php to add the table name to that field so that it isn't ambiguous.
|
Quote:
|
Why did you rename a column? Rename it back.
|
Quote:
|
You renamed the column "status" in the user table, not the subscriptionlog table, right? Try disabling your modifications and then View Users and see if you still get the same database error. There is definitely not supposed to be a user.status field, so something added it and it is what is causing the problem.
|
Quote:
|
Ok lets do this, disable plugins via the includes/config.php file.
To do that open your includes/config.php file and below <?php add the following. PHP Code:
PHP Code:
If that fixes the issue enable plugins again by adding // before the line you added, then navigate to ACP --> Plugins & Products --> Manage Products and disable one mod at a time until you find the one causing the issue. Once you find the culprit, post in that mods thread what the issue is, and maybe someone in that thread can help. :) |
Quote:
|
Quote:
|
Here is a old thread on vb.com, http://www.vbulletin.com/forum/forum...e-is-ambiguous
OP thinks it was from a old mod, that did not remove the table when the mod was deleted. |
Quote:
Be extremely careful when making database changes. You should back up your database before doing it. |
I have since fixed the problem, thanks a lot for your help!
|
What did you do to fix it incase someone else runs across the same issue?
|
My guess is that he renamed the status column in the users table.
In case people are unsure what the error means: It indicates that both tables have a column called status but the WHERE statement doesn't specify which table to use for the status column. |
And for future reference in case someone else stumbled upon this thread, how did you fix it?
|
Fixed the error by renaming 'status' from the user column as advised, the error seemed to go away entirely. Old script must have added it and not removed it upon un-install making the database confused at the two 'status' rows or whatever
thanks for your help! |
All times are GMT. The time now is 07:48 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|