MyBB Community Forums

Full Version: Error Message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I can not upgrade to version 1.6.4 for MyBB because of an error message appears:


Fatal error: Call to undefined method datacache::update_threadprefixes() in /home/a7612716/public_html/MyBB/install/upgrade.php on line 598

The file lines 567 - 605:
function buildcaches()
{
	global $db, $output, $cache, $lang, $mybb;

	$output->print_header($lang->upgrade_datacache_building);

	$contents .= $lang->upgrade_building_datacache;
	require_once MYBB_ROOT."inc/class_datacache.php";
	$cache = new datacache;
	$cache->update_version();
	$cache->update_attachtypes();
	$cache->update_smilies();
	$cache->update_badwords();
	$cache->update_usergroups();
	$cache->update_forumpermissions();
	$cache->update_stats();
	$cache->update_moderators();
	$cache->update_forums();
	$cache->update_usertitles();
	$cache->update_reportedposts();
	$cache->update_mycode();
	$cache->update_posticons();
	$cache->update_update_check();
	$cache->update_tasks();
	$cache->update_spiders();
	$cache->update_bannedips();
	$cache->update_banned();
	$cache->update_birthdays();
	$cache->update_most_replied_threads();
	$cache->update_most_viewed_threads();
	$cache->update_groupleaders();
	$cache->update_threadprefixes();
	$cache->update_forumsdisplay();

	$contents .= $lang->done."</p>";

	$output->print_contents("$contents<p>".$lang->upgrade_continue."</p>");
	$output->print_footer("finished");
}
Screenshot:
[attachment=23892]

Sorry bad English!
have you uploaded all the files from latest download package by overwriting earlier installed files ??
(2011-08-23, 02:15 PM)ranjani Wrote: [ -> ]have you uploaded all the files from latest download package by overwriting earlier installed files ??

I put the files directly from the MyBB's the root of their own folders.
In other words: Yes.
You downloaded the wrong package. You need to download the latest MyBB 1.6.4 package from here and upload all the files so it overwrites the existing ones.
(2011-08-23, 02:57 PM)faviouz Wrote: [ -> ]You downloaded the wrong package. You need to download the latest MyBB 1.6.4 package from here and upload all the files so it overwrites the existing ones.

Thank you! It helped. Shy