Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB