Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Fatal error: ComplexTableField.php


Reply


5 Posts   2194 Views

Avatar
kenlomax

Community Member, 33 Posts

8 February 2007 at 12:34am

I got the following error when I tried to edit a user in Security->SecurityGroupsMembers->Administrators

Fatal error: Call to a member function setPageLimits() on a non-object in /var/www/html/steel/sapphire/forms/ComplexTableField.php on line 312

This occured when I clicked on the edit icon on the right.

I added another user and got the same result when trying to edit the new user.
Still same result with closing browser and then re-opening.

Fresh install of v2.0.0 stable on Fedora Core 4 machine, php 5.1.6, mysql 5.0.27, apache 2.2.2. Looking at CMS in Mozilla 2.0.0.1 on a windows XP laptop over the internal LAN

Avatar
Andy

230 Posts

8 February 2007 at 12:43am

You can fix this by deleting the sourceItems() function in cms/code/MemberTableField.php. This fix will be in 2.0.1 :)

Avatar
Matt

Core Development Team, 84 Posts

8 February 2007 at 12:47am

Andrew fixed this about an hour after I built the installers from SVN, so it just missed out on being included in the latest version. As Andrew said, it'll be in our next release. Thanks for pointing it out.

Avatar
kenlomax

Community Member, 33 Posts

8 February 2007 at 3:42am

Thanks. Fix has been applied and works.

Ken

Avatar
a-tech

Community Member, 39 Posts

15 February 2007 at 10:43am

Great stuff! Fixed :)