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

[eluser]mrbinky3000[/eluser]
I checked firebug and didn't see a problem. Firebug only shows you the result of requested files.
I enabled Rewrite Logging and the feedback was a little too complicated to decipher.

I ended up solving the problem!

What I did was create a new, bare-bones template and proceeded to add new elements one at a time until the problem showed its head.

This was the line causing the problem....

Code:
<link rel="shortcut icon" href="" />

It seems "" was being interpreted by the Rewrite rules in such a way that caused a second call.

To fix the problem, I changed the line to..

Code:
<link rel="shortcut icon" href="/favicon.ico" />

Is there some sort of rewrite condition that we can add to the rewrite example shown in the CI documentation that will handle null or blank requests?

Anyone know what lines I would need to add to my rules to catch this condition and ignore it?


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