Welcome Guest, Not a member yet? Register   Sign In
Empty _GET array - unable to retrieve a 'get' variable
#8

[eluser]Colin Williams[/eluser]
Ugh.. I can see the error with your .htaccess right away

Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(index\.php|images|robots\.txt|css/styles\.css)
RewriteRule ^(.*)$ /index.php?/$1 [L]

You have RewriteRule ^(.*)$ /index.php?/$1... see the index.php?/$1? Your rewrite is passing the whole path as a query string key. Just drop the ? Do RewriteRule ^(.*)$ /index.php/$1 [L] instead.

Also, your third RewriteCond COMPLETELY NEGATES the previous two RewriteConds


Messages In This Thread
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-11-2008, 05:43 PM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-11-2008, 10:12 PM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-12-2008, 05:18 AM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-12-2008, 03:35 PM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-12-2008, 04:12 PM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-13-2008, 09:37 AM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-13-2008, 01:24 PM
Empty _GET array - unable to retrieve a 'get' variable - by El Forum - 08-13-2008, 01:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB