Welcome Guest, Not a member yet? Register   Sign In
All my controllers are being called twice.
#5

[eluser]mrbinky3000[/eluser]
[quote author="mddd" date="1282179072"]You're saying it only causes problems in Chrome. Is the double calling also happening in other browsers or just in Chrome?
I agree with WanWizard, it might well be an image or something like that. Specifically, might it be that you have not stopped url rewriting for favicon.ico?
It seems (from what I've read) that other browsers 'remember' better when there is no favicon.ico, while Chrome tries to find it every time.[/quote]

There was another post somewhere in the forum where the person placed a favicon.ico file in their folder and it fixed his problem. I do have a valid favicon.ico file in the web root.

However, I thought I already WAS stopping url rewriting for favicon.ico.

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|asset|captcha|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]

Doesn't line two say "if it doesn't begin with index.php, asset, captcha, robots.txt or favicon.ico then redirect it to index.php" ?


Messages In This Thread
All my controllers are being called twice. - by El Forum - 08-18-2010, 01:27 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 01:40 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 01:51 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 02:14 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 02:51 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 03:01 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 05:09 PM
All my controllers are being called twice. - by El Forum - 08-18-2010, 11:45 PM
All my controllers are being called twice. - by El Forum - 08-19-2010, 01:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB