Forums

Error when sort data in Admin view

franru 19 Apr, 2014
Hello,
I've found a bug and I fail to find the solution. In the "Admin view" I have set as "Table" Display type and have set as "sortable" the id field of each form of Chronoforms. The problem is that when trying to sort by id, jumping an error and does not display any data. The error is: "Warning: Invalid argument supplied for foreach () in / usr / home / xxxxx / xxxx / xxxxx / libraries / cegcore / libs / model.php on line 998"

Does anyone know happened or know what can be?.

Thank you very much in advance.
GreyHead 19 Apr, 2014
HI franru,

You can usually hide PHP Warnings and Notices (which are not technically errors) by setting your Site Error Reporting to System Default or Non in the site Global Configuration.

Bob
franru 19 Apr, 2014
Thanks for your answer.

I've disabled the php show errors but still have the problem that when I give order does not show me any data.

You could give me some advice to solve this?

Thank you very much.
Max_admin 20 Apr, 2014
Hi,

I'm not sure, it depends on your connection's setup, you may have something wrong, what's the url in the browser after you click the order field ? and did you add the Model's name to the field name in the "sortable" box ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
franru 24 Apr, 2014
Answer
Sorry for taking to answer and thank you very much for your answers. Since I located the error ... I had a special character in the name of a field and that failed. resolved
This topic is locked and no more replies can be posted.