MyBB Community Forums

Full Version: Private Messages Admin - Fixed a PHP Bug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For those of you with servers that don't like PHP short tags, I found a fix for this script.

On line 449, there is a ?> that closes the <php? tag at the beginning of the script. But on line 460, it is opened with a <? (aka a short tag), which on servers that have ST disabled, give an $end error.

Just replace the <? with <php?, and the script should work fine (at least, that's what it's done on my forum, anyways.

(If this is the incorrect place for this post, feel free to move it. This seemed like the best place for this post to me.)
"<php?"? I've never seen it like that. o.0
Hmm...this may be the wrong place for this, but I have seen o.0 in a lot of places and am just curious what it means? Big Grin
Christian Wrote:"<php?"? I've never seen it like that. o.0

x_x...I meant <?php. Sorry about that. I was semi-awake this morning. :lol:
Judel Wrote:Hmm...this may be the wrong place for this, but I have seen o.0 in a lot of places and am just curious what it means? Big Grin
It's like raise your eyebrow. o.0 0.o See it now?
Soshite Wrote:x_x...I meant <?php. Sorry about that. I was semi-awake this morning. :lol:
Happens to the best of us. xD
Quote:It's like raise your eyebrow. o.0 0.o See it now?
aaaaahhhh, yes, I see! LOL
Thanks, Fixed