The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
I've started getting this error:
Code:
Database error in vBulletin 3.0.1:
Invalid SQL:
SELECT subscriptionlog.subscriptionid, subscriptionlog.userid, subscriptionlog.expirydate,
user.username, user.email, user.languageid
FROM subscriptionlog AS subscriptionlog
LEFT JOIN user AS user ON (user.userid = subscriptionlog.userid)
WHERE subscriptionlog.expirydate >= 1085982016
AND subscriptionlog.expirydate <= 1086068416
AND status = 1
mysql error: Column: 'status' in where clause is ambiguous
mysql error number: 1052
Date: Saturday 29th of May 2004 12:40:17 AM
Script: http://www.mobileforces.org/forums/cron.php?&rand=923340
Referer: http://mobileforces.org/forums/index.php?
Anyone ? |
|
#2
|
||||
|
||||
|
cron/subscriptions.php, lines 43-51
PHP Code:
|
|
#3
|
||||
|
||||
|
hmm, it shouldn't be ambigous normally, iirc there is no status field on the usertable, is there?
so there is no need for the devs to fix anything, as it's not broken in a standard vb3 ![]() to fix it, just replace Code:
AND status = 1 Code:
AND subscriptionlog.status = 1 |
|
#4
|
||||
|
||||
|
Thanks guys - all fixed
|
|
#5
|
||||
|
||||
|
you're welcome natch
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|