CodeIgniter Forums
not accepting new directory under controllers folder on CI 1.6.2 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: not accepting new directory under controllers folder on CI 1.6.2 (/thread-8618.html)



not accepting new directory under controllers folder on CI 1.6.2 - El Forum - 05-24-2008

[eluser]zeratool[/eluser]
Hello,

On previous version, you can make a directory/folder under application/controllers/$new_folder_here
and it's working properly, In CI 1.6.2, you cannot, and it will give you 404 error. Since it's ok on previous version, i thought it's a bug?

Thanks!


not accepting new directory under controllers folder on CI 1.6.2 - El Forum - 05-27-2008

[eluser]ptrippett[/eluser]
I know this works in 1.6.1 as I had used it in a previous project. Nothing to suggest in the changelog as to why this would not work. Common things to check arewhen this occurs is that you are using lowercase file names and properly named classes that match the filename.

products/toys.php:
Code:
class Toys extends Controller {
  // Code Here
}

Personal Note: I try to avoid using underscores in file names.

If you can provide a code example maybe we can help you further.


not accepting new directory under controllers folder on CI 1.6.2 - El Forum - 05-27-2008

[eluser]zeratool[/eluser]
oops, i missed some configuration when im doing the upgrade, it's working now, thanks for the reply though.