MyBB Community Forums

Full Version: error when posting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I upgraded to 1.6.1 yesterday and inststalled the Google SEO plugin and this morning I am getting these errors when trying to post (reply and new thread)

NEW THREAD:
Fatal error: Call to undefined function build_prefix_select() in /home/USER/domains/DOMAIN/public_html/newthread.php on line 757

line 757
	$prefixselect = build_prefix_select($forum['fid'], $mybb->input['threadprefix']);


REPLYING:
Parse error: syntax error, unexpected T_ELSE in /home/USER/domains/DOMAIN/public_html/inc/datahandlers/post.php on line 231

line 231
		else if(strlen($post['message']) > $mybb->settings['maxmessagelength'] && $mybb->settings['maxmessagelength'] > 0 && !is_moderator($post['fid'], "", $post['uid']))

If anyone has any idea i would sure appreciate it!
Check that you've uploaded all the 1.6.1 files properly, especially the functions files.

For your second problem, reupload the inc/datahandlers/post.php file.
yep trying that now
OK, working by reuploading the post related functions files in /inc