MyBB Community Forums

Full Version: What is this Error ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When I open some of my posts, though the post shows up on the bottom, i have this error here like 30 times or more above it.

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www//mydomain.com/subdomains/forum/httpdocs/inc/functions_post.php(396) : eval()'d code on line 1

I didn´t had that before, anyone saw that before ?
Also it says below these errors 1x the following Error. That all wasn´t really from the Beginning.

Warning: Cannot modify header information - headers already sent by (output started at /var/www/mydomain.com/subdomains/forum/httpdocs/inc/functions_post.php(396) : eval()'d code:1) in /var/www/mydomain.com/subdomains/forum/httpdocs/inc/functions.php on line 78

And for that first Error, here this is the first few lines from the functions_user.php, and since it says a error in Line 1, i don´t see the problem. I didn´t changed it. Wonder what could have.

<?php

/*
 * Checks if a user with uid $uid exists in the database.
 *
 * @param int The uid to check for.
 * @return boolean True when exists, false when not.
 */

If anyone had a problem like this before, please let me know.
That error actually indicates templates with invalid syntax. Try reverting templates you've recently edited that caused that error
Does it indicate which part of a template it could be ? Header for example ? And why it doesnt happen with all postings, just some.
That looks like this "postbit_iplogged_hiden" template
Tikitiki Wrote:That looks like this "postbit_iplogged_hiden" template

Ok, that sounds familiar. I installed the IPLog Mod, i think i had to change something for that but cant remember i did it wrong. Weird.
If you paste the template here I can tell you whats wrong
Tikitiki Wrote:If you paste the template here I can tell you whats wrong

If I did remember right, the Mod said that I had to delete the content of that Template bit and replace it with the following.

<div class=\"smalltext\">{$lang->postbit_ipaddress} <a href=\"moderation.php?action=getip&pid={$post[\'pid\']}\">{$post[\'ipaddress\']}</a></div>

I hope i did not overlook some stupid small thing. Wink
That mod is wrong then. Remove the slashes and everything will be fixed
Tikitiki Wrote:That mod is wrong then. Remove the slashes and everything will be fixed

See...

ME <- too stupid to see that (OMFG) ToungueToungueToungueToungue must be the age, or the not reached wisdom. Big Grin

Thanks again, m8. Wink
Pages: 1 2