⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Problems with example on localhost?



Firenter
  • profile picture
  • Member

Posted 20 July 2012 - 14:37 PM

Hi,
I was just testing out the example from the site and nothing seemed to work for me?
There was no CSS applied, javascript didn't work and the links don't work because they go like this: "localhost/test/localhost/test/example.php/index"

Did I miss something when setting up the example? I downloaded a fresh CodeIgniter and just copied the folders from the download into CodeIgniter.

mikelamar
  • profile picture
  • Member

Posted 20 July 2012 - 14:40 PM

Check your application/config/config.php and have the base url to empty like this:


$config['base_url'] = '';


You probably didn't configured well your base_url

Firenter
  • profile picture
  • Member

Posted 20 July 2012 - 15:41 PM

Thanks a lot!
I input localhost/test there instead of http://localhost/test