MyBB Community Forums

Full Version: Error Caused By newthread.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I upgraded to 1.6 today, and everything is working well including the updated plugins (I updated) except for the post new thread button which returns this error:

Fatal error: Call to undefined function build_prefix_select() in /home/******/public_html/SMDM/forum2/newthread.php on line 757

(the asterisks are for security) Smile

This is what line 757 reads of that file:

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

I have deactivated all plugins just to be safe but the error remains - I re-uploaded the file in the event of an FTP corruption - still the error.

Any help would be appreciated

Thank You!

Steven
Re-upload inc/functions.php
If it helps - here is the plugin list - all modified to function under 1.6 and the ones I had turned on worked fine.

AdminCp Popup (1.2)
A plugin which allows the admincp link be a popup
Created by Samuel Activate

Board Copyright (1.0)
This plugin puts your sites copyright under the mybb copyright
Created by Samuel Activate

Advanced Quick Reply Form (1.0.3)
This plugin adds the MyCode Editor and the Smilie Inserter to the Quick Reply form.
Created by Phenomenon Activate Uninstall

Akismet (1.2.1)
Akismet is a program that helps prevent SPAM on your forum.
Created by MyBB Group Install & Activate

Latest Attachment Gallery (1.4)
This plugin displays the latest x number of image attachments from a certain forum.
Created by Jeff Chan Activate Uninstall

Auto Media (1.1.6)
Embeds automatically videos and music from different sites in posts
Created by Mario Heine Activate Uninstall

Bump Thread (1.01)
Allows users to bump their own threads without posting.
Created by ZiNgA BuRgA Activate

Donation Page (1.1)
Sets up a page where your users can donate to your PayPal account.
Created by MyBBWebHost Install & Activate

MyBB eCellular (1.1.2)
Allows your users to view your forums from their cell phones!
Created by Tikitiki Activate

Email about new members (2.0.0)
Send an email to an Admin if a registration was made
Created by MyBBoard.de Activate

FancyZoom (1.2)
Open images and thumbnails with FancyZoom.
Created by Sebastian Wunderlich Activate

Flash Attach (1.5)
This will embed attached Shockwave Flash files to your board.
Created by Sebastian Wunderlich Activate Uninstall

Google SEO (1.1.13)
Google Search Engine Optimization as described in the official Google's SEO starter guide. Please see the documentation for details.
Created by Andreas Klauer Activate Uninstall

Hello World! (1.0)
A sample plugin that prints hello world and prepends the content of each post to 'Hello world!'
Created by MyBB Group Activate

Lightbox 2 (1.3)
Open thumbnails with Lightbox 2.
Created by Sebastian Wunderlich Activate

Multi Video Mycode For MyBB (1.9)
Plugin supports 16 different video sharing sites
Created by dared Activate

My Youtube (1.3)
A plugin that add custom button on editor toolbar to embed youtube video into a post
Created by Rio Astamal Activate

Online Today (1.1)
Shows you who has been online in the last 24 Hours
Created by Samuel Activate

Overview (3.2.1)
Displays a box on the index page that shows different infomations about your board.
Created by MyBBoard.de Activate Uninstall

Show Users Who Have Been Registered Today (1.0)
Allows you to show the users who have been registered your forum within past 24 hours on forum index.
Created by DragonFever Activate

Restricted private messages (2.0)
Restricted private messages
Created by CraKteR Activate

Social Sharing Button (1.0)
Displays social sharing button in posts
Created by jnd52 Activate

Thread Tooltip Preview (1.12)
Allows users to preview the content of a thread via a tooltip, similar to vBulletin.
Created by ZiNgA BuRgA Activate

Youtube Tag (1.0)
Add tag ([utb][/utb]) to board for playing clip from youtube.com.
Created by Phung Thanh Quang Activate

Youtube BBCode (1.0)
Put videos in posts. Ex: [youtube]http://www.youtube.com/watch?v=b89cfvrE31[/youtube]
Created by Alex Activate
Just incase u missed my reply above:

Re-upload inc/functions.php
I did see that, and I thank you! It worked out great - I will need a newer version of the code for Google SEO for the functions.php -

Great fast work on your part, and I thank you!

Steven
No prob m8 Wink
Though that plugin is listed under the 1.6 safe list, it was causing the issue even after following the update procedure

S

That was an un-truth - I skipped a step - my apologies to the author,

Steven
There's a functions.php for 1.6 in the first post of the Google SEO plugin thread.