MyBB 1.1.5 Released
#4
There was a bug found in the update released today: The full package, changed files, and patch file all contain a line which will create a fatal error with PHP as follows:
Quote:Fatal error: Call to undefined method databaseEngine::simple_select() in /path/to/mybb/usercp.php on line 1744

To fix this:
Open usercp.php
Find:
		$query = $db->simple_select(TABLE_PREFIX."usergroups", "*", "gid='".intval($mybb->input['joingroup'])."'");
Replace with:
		$query = $db->query("SELECT * FROM ".TABLE_PREFIX."usergroups WHERE gid='".intval($mybb->input['joingroup'])."'");

This is a bug affects users joining secondary usergroups via the User CP.

Just a little bit of 1.2 code slipped in.
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net


Messages In This Thread
MyBB 1.1.5 Released - by - 2006-06-27, 03:46 PM
RE: MyBB 1.1.5 Released - by - 2006-06-27, 03:47 PM
RE: MyBB 1.1.5 Released - by - 2006-06-27, 03:51 PM
RE: MyBB 1.1.5 Released - by Dennis Tsang - 2006-06-27, 09:09 PM
RE: MyBB 1.1.5 Released - by Alan Crisp - 2006-06-27, 10:13 PM
RE: MyBB 1.1.5 Released - by - 2006-06-27, 11:56 PM
RE: MyBB 1.1.5 Released - by Dennis Tsang - 2006-06-28, 05:07 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)