issue with controllers Help!!! :( |
[eluser]LeonardoRaygoza[/eluser]
Hi, I'm having a problem because I created a new controller with a simple function called hello, with just a function index(), but it's appear like it doesn't run right. my controller name is: blog my code is: <?php class Blog extends Controller { function index() { echo "Hello world!"; } } ?> I tryied to check it on my server with my domain for example: http://www.leonardoraygoza.com/blog/ it suppouse show Hello world! on my localhost it works! but on my web server it doesn't I have on my config file system > application > config > config.php $config['base_url'] = "http://localhost/"; //localhost $config['base_url'] = "http://leonardoraygoza.com/"; //webserver so I don't know where I'm wrong :'( can please somebody help me |
Messages In This Thread |
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 11:12 AM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 11:55 AM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 12:08 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 12:45 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 01:23 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 03:33 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 04:00 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 04:01 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 06:31 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 08:14 PM
issue with controllers Help!!! :( - by El Forum - 12-21-2009, 08:27 PM
|