Welcome Guest, Not a member yet? Register   Sign In
Controller named Icons not working
#1

When I create a controller named Icons, it is not working. When I renamed the controller Icon, it works properly. Is Icons a reserved keyword ?
Reply
#2

I think maybe your missing something. I did a test and controllers for Icon (in Icon.php) and Icons (in Icons.php) both work perfectly.
Reply
#3

Thank you for your time. I also made a new trial yesterday, and it's still not working. I really don't understand where the problem comes from. 
I already developed several website with CodeIgniter, so I'm now familiar with controllers and routes.

I really dont understand what I'm missing.
Reply
#4

Maybe you have a folder name "Icons" in your project folder.
Reply
#5

(03-17-2019, 08:43 PM)imabot Wrote: Thank you for your time. I also made a new trial yesterday, and it's still not working. I really don't understand where the problem comes from. 
I already developed several website with CodeIgniter, so I'm now familiar with controllers and routes.

I really dont understand what I'm missing.

Routes...
What routes, if any, are you using that involve "icon" or "icons"?

What does "not working" mean? What is or is not happening?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB