![]() |
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!??? |
I don't staff any vBulletin 3 forums, but was it an issue before the PHP upgrade?
|
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:
|
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.
|
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??
|
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. |
Ill give that a try later, thanks :)
|
Quote:
|
Quote:
|
All times are GMT. The time now is 06:40 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:
|