Pb with the scaffloding |
[eluser]fugugirl[/eluser]
Hey everyone, I'm new to CI so I do the video tutorial. Everyting is going well untill the saffolding part. When I want to create/add new content, the url add is wrong : inspite of : http://localhost:8888/CodeIgniter/index....olding/add I got : http://localhost:8888/CodeIgniter/index....olding/add And each time I try, it adds a "index.php/blog/index.php/scaffolding/ to the original addy. What's wrong in the config ?? Thanks for your help. Aurélia.
[eluser]Thoer[/eluser]
I think you need to config your .htaccess file. I don't remember whether the video tutorial covered this but the user guide definietly does: http://ellislab.com/codeigniter/user-gui.../urls.html
[eluser]fugugirl[/eluser]
Hey Thoer, I had to change in the confif file the base_url... Well I'm not very familiar with this, that's because I'm so stupid. Thanx for your help. Bye. A.
[eluser]IgnitedOne[/eluser]
[quote author="fugugirl" date="1197062205"]Hey everyone, I'm new to CI so I do the video tutorial. Everyting is going well untill the saffolding part. When I want to create/add new content, the url add is wrong : inspite of : http://localhost:8888/CodeIgniter/index....olding/add I got : http://localhost:8888/CodeIgniter/index....olding/add And each time I try, it adds a "index.php/blog/index.php/scaffolding/ to the original addy. What's wrong in the config ?? Thanks for your help. Aurélia.[/quote] It's the base_url element in config.php. When I changed it to... $config['base_url'] = "http://127.0.0.1/"; ...the scaffolding worked just fine. Love CI!! |
Welcome Guest, Not a member yet? Register Sign In |