CodeIgniter Forums
Codeigniter 3 Ucfirst Controllers - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forum-1.html)
+--- Forum: Lounge (https://forum.codeigniter.com/forum-3.html)
+--- Thread: Codeigniter 3 Ucfirst Controllers (/thread-62172.html)

Pages: 1 2


Codeigniter 3 Ucfirst Controllers - wolfgang1983 - 06-15-2015

Hi all,

I noticed on another forum "stack over flow" that a lot of people ask about "When I upload my project to live server I get 404 error"

TendsĀ  to get asked a bit.

Most of the time to solve this is all they need to do to make it work was make sure they have controllers and or models with the first letter upper case example Welcome.php instead of welcome.php

Is there a place on user guide where it can explain that clearly?

I do not think the beginners understand that or are not looking in user guide.


RE: Codeigniter 3 Uppercase Controllers - kenjis - 06-16-2015

If you upgrade your CI:
http://www.codeigniter.com/user_guide/installation/upgrade_300.html#step-2-update-your-classes-file-names

If you install CI3:
http://www.codeigniter.com/user_guide/general/controllers.html#let-s-try-it-hello-world
http://www.codeigniter.com/user_guide/general/models.html#anatomy-of-a-model
http://www.codeigniter.com/user_guide/general/creating_libraries.html#naming-conventions


RE: Codeigniter 3 Uppercase Controllers - wolfgang1983 - 06-16-2015

(06-16-2015, 12:09 AM)kenjis Wrote: If you upgrade your CI:
http://www.codeigniter.com/user_guide/installation/upgrade_300.html#step-2-update-your-classes-file-names

If you install CI3:
http://www.codeigniter.com/user_guide/general/controllers.html#let-s-try-it-hello-world
http://www.codeigniter.com/user_guide/general/models.html#anatomy-of-a-model
http://www.codeigniter.com/user_guide/general/creating_libraries.html#naming-conventions

Thanks for reply I know about naming conventions It will be good to pass these links on to people who do not know.


RE: Codeigniter 3 Uppercase Controllers - kenjis - 06-16-2015

By the way, what is "SO forum"?

And so many people are getting the same trouble, it might be better to improve CI docs.


RE: Codeigniter 3 Uppercase Controllers - wolfgang1983 - 06-16-2015

(06-16-2015, 12:27 AM)kenjis Wrote: By the way, what is "SO forum"?

And so many people are getting the same trouble, it might be better to improve CI docs.

Stackoverflow forum


RE: Codeigniter 3 Uppercase Controllers - kenjis - 06-16-2015

Thanks.

I've made class filename checker:
https://github.com/kenjis/codeigniter3-filename-checker


RE: Codeigniter 3 Uppercase Controllers - wolfgang1983 - 06-16-2015

(06-16-2015, 05:10 AM)kenjis Wrote: Thanks.

I've made class filename checker:
https://github.com/kenjis/codeigniter3-filename-checker

Looks OK I don't need it but beginners might.


RE: Codeigniter 3 Uppercase Controllers - mwhitney - 06-16-2015

(06-16-2015, 12:27 AM)kenjis Wrote: And so many people are getting the same trouble, it might be better to improve CI docs.

Clearly, they're not reading them, or not paying much attention to them, but if there's a way to improve them, I'm sure the CI team will accept a pull request on Github.


RE: Codeigniter 3 Uppercase Controllers - zaria - 06-17-2015

Quote:And so many people are getting the same trouble, it might be better to improve CI docs.

The user guide docs are clear.


RE: Codeigniter 3 Uppercase Controllers - InsiteFX - 06-18-2015

Very clear, just get them to read them...