Query executed twice |
[eluser]Unknown[/eluser]
Hey there, several hours i try to figured out why my code execute a mysql query twice. If i debug my site via Code: $this->output->enable_profiler(TRUE); I'm using the version 2.1.4 controller: Code: public function __construct() { journal library: Code: protected $ci; The strange thing: even "test" only appears once! Greets! Daniel
[eluser]Unknown[/eluser]
To identify the problem i added these lines to the custructor of the controller which handels the request: Code: $filepath = APPPATH . 'logs/test'; UPDATE: So now i totaly confused: If i access the website using Google Chrome "request!" appears twice but by only once by using Firefox. This bug drives me crazy -.- UPDATE: To make sure, that the bug isnt hide in my code i added the loggig code into the constructor of the welcom.php of a fresh installation. Same Bug: Google Chrome 2x "request!", Firefox 1x "request!" unbelievable... UPDATE: The bug has been caused by any chrome extension... awkward! |
Welcome Guest, Not a member yet? Register Sign In |