Error message at the very first post...? (Bugs)

by H. Fremuth @, Tuesday, May 17, 2011, 23:48 (4721 days ago)

I just installed MLF, without a hitch. All seems fine, the admin interface is good, too. But when I try to create a post, I get the follwing error message when I try to either submit or preview:

Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /hps/17/d900/htdocs/fosmedley.org/public_html/modules/stringparser_bbcode/stringparser.class.php on line 1251


Any ideas?

Avatar

Error message at the very first post...?

by Alex ⌂, Wednesday, May 18, 2011, 06:26 (4720 days ago) @ H. Fremuth

Any ideas?

Which PHP version do you use?

Does it work with the original BBCode parser class (replace the files in modules/stringparser_bbcode)?

Alex

Error message at the very first post...?

by H. Fremuth, Wednesday, May 18, 2011, 13:44 (4720 days ago) @ Alex

Which PHP version do you use?

PHP 5.2.17 (shared hosting on 1&1 USA)

Does it work with the original BBCode parser class (replace the files in modules/stringparser_bbcode)?

That's it! Now it like a charm! Thanks so much!!

Avatar

Error message at the very first post...?

by Alex ⌂, Wednesday, May 18, 2011, 15:23 (4720 days ago) @ H. Fremuth

That's it! Now it like a charm! Thanks so much!!

The problem with the original class is that it throws STRICT and DEPRECATED warnings as of PHP 5.3. I'll see if I can find a way to fix it for 5.2 and 5.3...

Alex

RSS Feed of thread