Help me |
[eluser]Faitas[/eluser]
Hello, I'm a new guy in this forum. I live in Lithuania, so I can speak with grammatical errors and I'm very sorry. So, I heard about CodeIgniter and I downloaded this. I tried to install CodeIgniter, but CodeIgniter doesn't work. I writed a code in application/contollers in file name new.php: Code: class New extends Contoller Then I went in http://localhost/ci/index.php/New/, but I didn't see anything. I tried a link: http://localhost/ci/index.php/New/index.php, but I didn't see anything. Help me, please!
[eluser]cideveloper[/eluser]
Try changing to this Code: class New extends CI_Contoller then go to http://localhost/ci/index.php/new
[eluser]Rok Biderman[/eluser]
Is your Welcome controller (the file already inside controllers folder) working ok? Besides, since CI 2.0.0, you have to Code: class New extends CI_Contoller as the naming have changed.
[eluser]Krumpet[/eluser]
I too am new to CI, but shouldn't it be... Code: class New extends CI_Controller ?
[eluser]danmontgomery[/eluser]
You can't name a class "New". http://www.php.net/manual/en/reserved.keywords.php
[eluser]Faitas[/eluser]
It's don't work. I tried with Blog and then went to http://localhost/ci/index.php/blog, but it's don't work. Please, help me.
[eluser]Rok Biderman[/eluser]
[quote author="Coccodrillo" date="1305153774"]Is your Welcome controller (the file already inside controllers folder) working ok?[/quote] I like quoting myself, lol.
[eluser]Faitas[/eluser]
I'm sorry. In my controllers folder are blog.php and index.html files. http://clip2net.com/s/VXiY |
Welcome Guest, Not a member yet? Register Sign In |