Welcome Guest, Not a member yet? Register   Sign In
Question about "example.com" vs "localhost" in "Create a blog in 20 minutes" tutorial.
#1

[eluser]sn_pst[/eluser]
Hello,

I follow the beginner tutorial "Create a blog in 20 minutes" from codeigniter website.
http://codeigniter.com/tutorials/

I try to test the scaffolding feature. I successfully display the scaffolding main page, where there's a lnk to "View Records" or "Create New Record".
(In the tutorial, I got to the point where I successfully display http://localhost/codeigniter/index.php/blog/scaffolding)

But I saw the link for "Create New Record" pointing to "example.com/index.php/blog/scaffolding/add" instead of "localhost/index.php/.." ??
When I click the link, it gives me error.

Can someone please advise?
Thank you in advance for all the help.

p.s.: I use XAMPP.
#2

[eluser]Madmartigan1[/eluser]
check your $config['base_url']

./application/config/config.php
#3

[eluser]sn_pst[/eluser]
Thanks for your help. I'll give it a try.
#4

[eluser]sn_pst[/eluser]
Thanks. It works. =)




Theme © iAndrew 2016 - Forum software by © MyBB