The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
SQL error on private.php
everytime someone emptys theyre private box i get this error and they see an error page but it goes thru and does the command. can anyone help me with this error?
PHP Code:
|
#2
|
|||
|
|||
If you haven't done any plugins or modification that affect that file then report it to Vbulletin.
If you do find a plugin or modification that does modify "private.php" undo the changes and see if you still get the error. |
#3
|
||||
|
||||
you must be using a pluggin. That SQL is wrong. It should be:
SELECT pmid, pm.pmtextid FROM smora_pm AS pm LEFT JOIN smora_pmtext AS pmtext USING (pmtextid) WHERE folderid = 0 AND userid = 8423 AND dateline < 1136440049; |
#4
|
||||
|
||||
ok thanks but what would be the steps to fixing what you said was wrong?
|
#5
|
|||
|
|||
Open "private.php"
Find SELECT pmid, pmtextid Replace With SELECT pmid, pm.pmtextid |
#6
|
||||
|
||||
unless you hacked private.php, it can't be the culprit. It should be a pluggin that plugs into private.php so you should check your pluggins to find which has this code.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|