MyBB Community Forums

Full Version: 1.6.5 update did the admin cp / users & groups error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello,
The Forum gave the following error after upgrading to version 1.6.5?

This error, admin cp / Users & Groups section allows.

I installed the files that failed, but the originals were not modified.
Please help.

Warning [2] Invalid argument supplied for foreach() - Line: 3545 - File: admin/modules/user/users.php PHP 5.2.17 (Linux)

[Image: 2KCD.png]
[Image: WPSM.png]
Did you upload all 1.6.5 files and run the updater?
(2011-12-12, 02:49 PM)Paul H. Wrote: [ -> ]Did you upload all 1.6.5 files and run the updater?

yes I installed the 1.6.5 version upgrade files, and gave this error after the upgrade process is completed.
go to phpmyadmin and run this query:

CREATE TABLE IF NOT EXISTS mybb_adminviews (
	vid int unsigned NOT NULL auto_increment,
	uid int unsigned NOT NULL default '0',
	title varchar(100) NOT NULL default '',
	type varchar(6) NOT NULL default '',
	visibility int(1) NOT NULL default '0',
	fields text NOT NULL,
	conditions text NOT NULL,
	custom_profile_fields text NOT NULL,
	sortby varchar(20) NOT NULL default '',
	sortorder varchar(4) NOT NULL default '',
	perpage int(4) NOT NULL default '0',
	view_type varchar(6) NOT NULL default '',
	PRIMARY KEY(vid)
) ENGINE=MyISAM;

INSERT INTO `mybb_adminviews` (`vid`, `uid`, `title`, `type`, `visibility`, `fields`, `conditions`, `custom_profile_fields`, `sortby`, `sortorder`, `perpage`, `view_type`) VALUES
(1, 0, 'All Users', 'user', 2, 'a:7:{i:0;s:6:"avatar";i:1;s:8:"username";i:2;s:5:"email";i:3;s:7:"regdate";i:4;s:10:"lastactive";i:5;s:7:"postnum";i:6;s:8:"controls";}', 'a:0:{}', 'a:0:{}', 'username', 'asc', 20, 'card');
great problem was solved. + rep