Welcome Guest, Not a member yet? Register   Sign In
Controllers called twice | SOLVED
#1

[eluser]Unknown[/eluser]
Hi,
I've just started to work on a new project using CI
And I noticed the controllers called twice, all of them
I update the db for page views and I noticed two updates

Call stack is showing two calls
One from index.php at the root of CI project
And one from the codeignitet.php line 232

Any ideas how this happened and how to solve this

Thank you
Rotem

UPDATE
Well looks like i solved it, it happened on google chrome only
Looks like chrome is trying to get the favicon.ico, so i just added favicon.ico to the root and thats it
all working now Smile
#2

[eluser]TheIgniter[/eluser]
Pasti your controller code .. give us more details about your problem! sorry, but i havnt understund!
#3

[eluser]Buso[/eluser]
I had a problem with page views too. I never knew wtf was going on.




Theme © iAndrew 2016 - Forum software by © MyBB