The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Odd buddy list message
Hi all, I've got a strange one, I have a user who has tried to look at his buddy list but he doesn't have anyone on it, he sees this message
Quote:
If I know where this is coming from I can fix it but as far as i'm able to see it doesn't exist anywhere!??? |
#2
|
|||
|
|||
I don't staff any vBulletin 3 forums, but was it an issue before the PHP upgrade?
|
#3
|
||||
|
||||
No it wasn't, anyway, I've found the reason I get that rather than "you don't have any buddies" message, a plugin I coded which checked if the request was misc.php do=...etc had an IF{}ELSE{ in it where if the else was met it worked for all misc.php requests.
Now on to the problem, it seems that this: PHP Code:
PHP Code:
|
#4
|
|||
|
|||
Are you sure it's always worked? The function print_standard_error() seems to have been coded to print that error message since at least 3.6.2 (that's the oldest version I have code handy for). Maybe you've just never triggered that error before.
|
#5
|
||||
|
||||
Hi Kevin, you may be right about triggering the error however, now that i've changed the IF ELSE containment the print_standard_error works (or appears to) if i replace it with standard_error(fetch_error it gives errors??
|
#6
|
|||
|
|||
Oh, I see what you meant. Well, I think you need to remove the single quotes from around the variable, like:
PHP Code:
but I'm not sure if that's what was causing the fault. ETA: actually I'm not sure if you need the call to fetch_error() in there since it looks like you're using a phrase that's already loaded. |
#7
|
||||
|
||||
Ill give that a try later, thanks
|
#8
|
|||
|
|||
Quote:
|
#9
|
|||
|
|||
Yeah right. I just happened to get there first this time.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|