Weird parameters added randomly to the URL eg. ?e9c5b9b8 |
[eluser]kijla[/eluser]
Hi all, I'm having trouble with Codeigniter and I don't know if it's a bug or not. For some reason, I keep getting parameters with random alphanumeric characters added to the end of my URLs! The occurrence of these parameters is also random (i.e. some times they come up some times they don't). For example when browsing to http://www.domain.com/example the URL in the browser changes to http://www.domain.com/example?e9c5b9b8 and the page loads. This is a problem for me because 1. it clutters up the URL for no reason, and 2. worst of all, with reactor 2.0 the page doesn't load with such a parameter added at the end since GET parameters are disabled [default setting]. To be honest I never saw this on my local development environment - problem only started to show on my hosting server, could it be that the server is adding these parameters? I recently upgraded to reactor 2.0.2 and the problem still persists however it seems that the page loads now even with the parameters added. I am currently hosting on a Godaddy Server with modrewite on to hide the index.php part in the URL. Does anyone know what the problem may be? Thanks in advance! :-) kijla
[eluser]InsiteFX[/eluser]
Check your settings in application/config/config.php that is a query string doing that! InsiteFX
[eluser]kijla[/eluser]
Hey, thanks for your reply and sorry for the delayed reply on my end! I had a look at my query string settings and they seem to be disabled: Code: $config['allow_get_array'] = TRUE; The settings are correct right? Any ideas what else it can be? Thanks again
[eluser]InsiteFX[/eluser]
Are you using an .htaccess file? The problem could be in it. Some times you need to remove or add a ? mark to the front of the /$1 so it would look like this ?/$1 InsiteFX
[eluser]kijla[/eluser]
Hey InsiteFX, thanks for your reply again. This is the .htaccess file i'm using (i found it in these forums as the best option for godaddy hosting) Code: # Options Seems to have that ? in front already so i tried removing it but as soon as I did the urls stopped working and I got a "no input file specified" error
[eluser]InsiteFX[/eluser]
Try removing the ? mark off of both of these Code: RewriteRule ^(.*)$ index.php?/$1 [L] InsiteFX |
Welcome Guest, Not a member yet? Register Sign In |