Welcome Guest, Not a member yet? Register   Sign In
Bizarre! - empty image causes reload of default controller
#1

[eluser]Unknown[/eluser]
Hello, took me a while to track this down, was causing a very strange session problem.
If you have an image entry in a view with no parameter in it ie: <img src="">
it causes the default controller to be called after the run of your desired controller.
Debug looks like this:
//first controller run everything fine
DEBUG - 2010-09-08 18:14:47 --&gt; Final output sent to browser
DEBUG - 2010-09-08 18:14:47 --&gt; Total execution time: 0.1297
DEBUG - 2010-09-08 18:14:47 --&gt; Config Class Initialized
DEBUG - 2010-09-08 18:14:47 --&gt; Hooks Class Initialized
DEBUG - 2010-09-08 18:14:47 --&gt; URI Class Initialized
//here's where it finds the empty image tag and gets confused and runs another controller
DEBUG - 2010-09-08 18:14:47 --&gt; No URI present. Default controller set.
DEBUG - 2010-09-08 18:14:47 --&gt; Router Class Initialized
DEBUG - 2010-09-08 18:14:47 --&gt; Output Class Initialized
// continues to load up everything in the default controller - including changing session vars that should not be changed!

Just letting people know in case they see some strange happenings.


Messages In This Thread
Bizarre! - empty image causes reload of default controller - by El Forum - 09-08-2010, 04:20 PM



Theme © iAndrew 2016 - Forum software by © MyBB