![]() |
problems following CI tutorial - pls help - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: problems following CI tutorial - pls help (/showthread.php?tid=7270) |
problems following CI tutorial - pls help - El Forum - 04-01-2008 [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? problems following CI tutorial - pls help - El Forum - 04-01-2008 [eluser]Thoer[/eluser] It's definietly not xampp and the default constructor function should work in php5 and php4 as well. you forgot to mention whether you see an empty page or not, and if so, you should take a look at the error handling defined in your index.php At first glance Code: $this->load->view('home_view.html'); |