Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Admin Error after deleting field

 

 


theclicklab
User

Dec 14, 2011, 12:56 PM

Post #1 of 2 (287 views)
Shortcut
Admin Error after deleting field Can't Post

Hi there, I removed a field called "active" and am getting this error when trying to view the record list in the admin:

Can't sortBy 'active'. Not a valid field!

I have removed the field from:
- ListPage Fields
- Search Fields
- Order By

Before deleting the field, the list of records was sorted by the active column that now no longer exists. I assume that this set somewhere else in cms builder as the last sort option used?

I have looked in the data/schema/*.ini.php file but cant find anything

Suggestions?

Many Thanks
~~~~~~~~~~~~~~~~~~
Jan Dunlop
theClickLab.com
nz.linkedin.com/in/jandunlop
~~~~~~~~~~~~~~~~~~


theclicklab
User

Dec 14, 2011, 12:59 PM

Post #2 of 2 (286 views)
Shortcut
Re: [theclicklab] Admin Error after deleting field [In reply to] Can't Post

Ah sorry - fixed it, found this:

$sortBy = @$_SESSION['lastRequest'][$tableName]['sortBy'];

So I just had to kill the session - once I logged out and logged back in all was good.
~~~~~~~~~~~~~~~~~~
Jan Dunlop
theClickLab.com
nz.linkedin.com/in/jandunlop
~~~~~~~~~~~~~~~~~~