• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not accepting new directory under controllers folder on CI 1.6.2

#1
[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!

#2
[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.

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.