Welcome Guest, Not a member yet? Register   Sign In
Problem with URl path
#1

[eluser]Jeeremie[/eluser]
Hi,

I am watching "Create a blog in 20 min". I have followed step by step this tutorial but when I preview the posts and try to create a new post I am not redirected to http://localhost/CodeIgniter_1.5.4/index...olding/add but to http://localhost/CodeIgniter_1.5.4/index...olding/add

I have to type the url manualy to access the page. Same problem when I try to save a new post.

That's kind of frustrating as I can't go on with the tutorial if I cannot fix this problem.

Could anyone help me? Thanks in advance.
#2

[eluser]Pascal Kriete[/eluser]
Make sure that you set your the base_url in your config file:
Code:
$config['base_url'] = "http://localhost/CodeIgniter_1.5.4/";

And welcome to the community Smile.
#3

[eluser]Tetek[/eluser]
R u sure is config ok?
$config['base_url'] = "localhost";
$config['index_page'] = "index.php";

I've the same problems and I have some mistakes in the config.php
#4

[eluser]Jeeremie[/eluser]
Cool! It works.

Thanks so much for you fast answer.




Theme © iAndrew 2016 - Forum software by © MyBB