#1
Just starting with Trongate, building my first project.
I created a new Module with 4 fields all defined as an integer.
When trying to have a look in the browser I got the red error page.
It looks like the function manage() in the controller is unhappy that the $params[] did not get initialized because non of the fields is searchable (by default - because INTs) - at least that is my interpretation.
I can circumvent this by making one of the fields searchable, but I can imagine that there could be an addition in the code to prevent this.
Or maybe I am wrong and did something stupid (can't be ruled out), and for that I might want to apologize.
#2
Hi Jot,

Seems you have replicated your post a few times...

I don't get the red 404 error page with a newly created module that has 4 non searchable integers; however, I see a problem with the $params array not being declared.

I created this module, and it seems to be working fine except if you add a search parameter without declaring the $params array >> you can download it here:
I changed the 'manage' method to add an empty array for $params:

You could also add a searchable field to 'one' like this:
#3
Hi DaFa,
Yes I did and I regret being too impatient. While I did not see my post appear in the help-bar-table I resubmitted my post. I shouldn't have. I just replied to Dan who answered the first instance of my post.
Thank you for your elaborate reply. It helped me find the origin of the 'error': the apprentice at this very keyboard.
Kind regards.
#4
Thanks Jot, would you mind closing the post.