problems following CI tutorial - pls help |
[eluser]ICEcoffee[/eluser]
I am following the 2nd CI video tutorial, and I'm not sure if I have things set properly. Despite following tutorial, I can't get the scaffolding page loaded. It may be something to do with the fact, I am have PHP5 configured on my localhost Xampp server? or some other entry. I tried useing a PHP4 then changing to a PHP5 construct in my default controller, but I get any errors, nor do I see the scaffolding page. This is what I have: default controller: Code: <?php routes.php: $route['default_controller'] = "home"; $route['scaffolding_trigger'] = "build"; Default view: Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> autoload.php Code: $autoload['libraries'] = array('database'); config.php: Code: $config['base_url'] = "http://localhost/mic/"; The database.php has been checked for correct db info. I don't think I've left anything out, except to say, that as you can see, I put some simple echo statements in the default controller and view files and the show up when pointing my browser to http://loacalhost/mic/ and the CSS file get loaded too with images. I can't figure out where I have gone wrong. Can anybody help pls? |
Messages In This Thread |
problems following CI tutorial - pls help - by El Forum - 04-01-2008, 12:11 PM
problems following CI tutorial - pls help - by El Forum - 04-01-2008, 02:48 PM
|