Welcome Guest, Not a member yet? Register   Sign In
Problem with tutorial
#2

Problem is in your usage of relative urls. Since you have CI in sub directory and links are relative to current url, it would nest deeper and deeper. If you are currently on page "http://localhost/ci/something" and link points to "ci/something2", browser tries to load "http://localhost/ci/something/ci/something2". If "http://localhost/ci/something/ci/something2" actually did exist and there was another link on this page pointing to "ci/something3", browser would try to load "http://localhost/ci/something/ci/something2/ci/something3".

Try to change base_url to absolute url
PHP Code:
$config['base_url'] = '/ci/'
Reply


Messages In This Thread
Problem with tutorial - by PeterB - 06-22-2015, 04:59 PM
RE: Problem with tutorial - by gadelat - 06-23-2015, 12:02 AM
RE: Problem with tutorial - by PeterB - 06-23-2015, 12:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB