Welcome Guest, Not a member yet? Register   Sign In
Some classes load twice!
#1

[eluser]Razican[/eluser]
Hello, I'm trying to work with JQuery and CodeIgniter 2.0 (latest rev. in repo.) I have logs on, and have noticed that some classes load twice. Moreover, I'm doing an AJAX request and the result changes even if I'm not requesting it. For example, If I request a query, with num_rows() = 1, it starts to blink the 1 after finishing the request. But the main problem is the double loading. I have separated each request for you to see it better.

Code:
DEBUG - 06-12-2010 20:31:40 --> Config Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Hooks Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Unicode Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Unicode Class - UTF-8 Support Enabled
DEBUG - 06-12-2010 20:31:40 --> URI Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Router Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Output Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Input Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Security Class Initialized
DEBUG - 06-12-2010 20:31:40 --> XSS Filtering completed
DEBUG - 06-12-2010 20:31:40 --> XSS Filtering completed
DEBUG - 06-12-2010 20:31:40 --> CRSF cookie Set
DEBUG - 06-12-2010 20:31:40 --> Global POST and COOKIE data sanitized
DEBUG - 06-12-2010 20:31:40 --> Language Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Loader Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Config file loaded: megapublik/config/megapublik.php
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: language_helper
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: form_helper
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: html_helper
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: url_helper
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: cookie_helper
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: overal_helper
DEBUG - 06-12-2010 20:31:40 --> Language file loaded: language/spanish/overal_lang.php
DEBUG - 06-12-2010 20:31:40 --> Database Driver Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Session Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Helper loaded: string_helper
DEBUG - 06-12-2010 20:31:40 --> Encrypt Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Session routines successfully run
DEBUG - 06-12-2010 20:31:40 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:40 --> Controller Class Initialized
Code:
DEBUG - 06-12-2010 20:31:46 --> Config Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Hooks Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Unicode Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Unicode Class - UTF-8 Support Enabled
DEBUG - 06-12-2010 20:31:46 --> URI Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Router Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Output Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Input Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Security Class Initialized
DEBUG - 06-12-2010 20:31:46 --> XSS Filtering completed
DEBUG - 06-12-2010 20:31:46 --> XSS Filtering completed
DEBUG - 06-12-2010 20:31:46 --> CRSF cookie Set
DEBUG - 06-12-2010 20:31:46 --> Global POST and COOKIE data sanitized
DEBUG - 06-12-2010 20:31:46 --> Language Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Loader Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Config file loaded: megapublik/config/megapublik.php
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: language_helper
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: form_helper
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: html_helper
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: url_helper
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: cookie_helper
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: overal_helper
DEBUG - 06-12-2010 20:31:46 --> Language file loaded: language/spanish/overal_lang.php
DEBUG - 06-12-2010 20:31:46 --> Database Driver Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Session Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Helper loaded: string_helper
DEBUG - 06-12-2010 20:31:46 --> Encrypt Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Session routines successfully run
DEBUG - 06-12-2010 20:31:46 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:46 --> Controller Class Initialized
DEBUG - 06-12-2010 20:31:47 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:47 --> File loaded: megapublik/views/registration/result.php
DEBUG - 06-12-2010 20:31:47 --> Final output sent to browser
DEBUG - 06-12-2010 20:31:47 --> Total execution time: 2.0412
DEBUG - 06-12-2010 20:31:48 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:48 --> File loaded: megapublik/views/registration/result.php
DEBUG - 06-12-2010 20:31:48 --> Final output sent to browser
DEBUG - 06-12-2010 20:31:48 --> Total execution time: 2.0402
DEBUG - 06-12-2010 20:31:48 --> Model Class Initialized
DEBUG - 06-12-2010 20:31:48 --> File loaded: megapublik/views/registration/result.php
DEBUG - 06-12-2010 20:31:48 --> Final output sent to browser
DEBUG - 06-12-2010 20:31:48 --> Total execution time: 2.0357

The Model class loads twice, or even more times. On the other hand, the XSS Filtering loads also twice. How can I solve it?


Messages In This Thread
Some classes load twice! - by El Forum - 12-06-2010, 02:39 PM
Some classes load twice! - by El Forum - 12-06-2010, 04:48 PM
Some classes load twice! - by El Forum - 12-07-2010, 06:36 AM
Some classes load twice! - by El Forum - 12-07-2010, 11:35 AM
Some classes load twice! - by El Forum - 12-07-2010, 03:25 PM
Some classes load twice! - by El Forum - 12-07-2010, 05:23 PM
Some classes load twice! - by El Forum - 12-08-2010, 06:09 AM
Some classes load twice! - by El Forum - 12-08-2010, 11:29 AM
Some classes load twice! - by El Forum - 12-08-2010, 11:46 AM
Some classes load twice! - by El Forum - 12-08-2010, 01:31 PM
Some classes load twice! - by El Forum - 12-09-2010, 03:01 AM
Some classes load twice! - by El Forum - 12-12-2010, 10:02 AM
Some classes load twice! - by El Forum - 12-19-2010, 10:45 AM
Some classes load twice! - by El Forum - 12-19-2010, 06:08 PM
Some classes load twice! - by El Forum - 12-20-2010, 12:53 PM
Some classes load twice! - by El Forum - 12-20-2010, 04:05 PM
Some classes load twice! - by El Forum - 12-20-2010, 09:14 PM
Some classes load twice! - by El Forum - 12-23-2010, 12:13 PM
Some classes load twice! - by El Forum - 12-25-2010, 01:23 PM
Some classes load twice! - by El Forum - 01-04-2011, 02:58 PM
Some classes load twice! - by El Forum - 01-05-2011, 04:53 AM
Some classes load twice! - by El Forum - 01-05-2011, 05:20 AM
Some classes load twice! - by El Forum - 05-26-2011, 11:09 PM
Some classes load twice! - by El Forum - 05-27-2011, 12:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB