Welcome Guest, Not a member yet? Register   Sign In
URI issue in 1.7
#1

[eluser]PHP Four[/eluser]
Hi Guys,

I don't know how I'm actually getting this issue, but in my controller, none of the URI library functions are working:

For an URL like this: http://127.0.0.1/jm/home/test/abc/123, I get the following result:

Code:
echo $this->uri->uri_string(); -> Blank string
print_r($this->uri->segment_array()); -> Array()

I have the URI library loaded in autoload, my .htaccess is properly set:

Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /jm/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>

Everything was working in 1.6.3, don't know why it's not in 1.7. Anybody else encountered this strange problem?

Thanks

Emran


Messages In This Thread
URI issue in 1.7 - by El Forum - 10-29-2008, 11:35 PM
URI issue in 1.7 - by El Forum - 10-30-2008, 02:11 PM
URI issue in 1.7 - by El Forum - 10-30-2008, 03:05 PM
URI issue in 1.7 - by El Forum - 10-30-2008, 04:05 PM
URI issue in 1.7 - by El Forum - 10-30-2008, 08:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB