[eluser]zenzi[/eluser]
thanks for your suggestions
here's the code of get_article()
Code:
function get_article($id)
{
$query = $this->db->query("SELECT * FROM article WHERE id=?", array($id));
if ($query->num_rows() > 0):
return $query->row();
else:
return FALSE;
endif;
}
... but try changing your model names to start with a lower case letter rather than an uppercase.
you're sure about this? if i do like so, i get an error, and the user guide states "Class names must have the first letter capitalized".
i turned the log on and this is the result of one page display:
DEBUG - 2012-04-16 12:25:43 --> Config Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Hooks Class Initialized
DEBUG - 2012-04-16 12:25:43 --> URI Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Router Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Output Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Input Class Initialized
DEBUG - 2012-04-16 12:25:43 --> XSS Filtering completed
DEBUG - 2012-04-16 12:25:43 --> XSS Filtering completed
DEBUG - 2012-04-16 12:25:43 --> Global POST and COOKIE data sanitized
DEBUG - 2012-04-16 12:25:43 --> Language Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Loader Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Helper loaded: url_helper
DEBUG - 2012-04-16 12:25:43 --> Helper loaded: html_helper
DEBUG - 2012-04-16 12:25:43 --> Helper loaded: form_helper
DEBUG - 2012-04-16 12:25:43 --> Database Driver Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Session Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Helper loaded: string_helper
DEBUG - 2012-04-16 12:25:43 --> Session routines successfully run
DEBUG - 2012-04-16 12:25:43 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:43 --> Controller Class Initialized
DEBUG - 2012-04-16 12:25:46 --> File loaded: app3/views/fixies.php
DEBUG - 2012-04-16 12:25:46 --> File loaded: app3/views/artikel_full.php
DEBUG - 2012-04-16 12:25:46 --> File loaded: app3/views/page.php
DEBUG - 2012-04-16 12:25:46 --> Final output sent to browser
DEBUG - 2012-04-16 12:25:46 --> Total execution time: 2.5201
DEBUG - 2012-04-16 12:25:46 --> Config Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Hooks Class Initialized
DEBUG - 2012-04-16 12:25:46 --> URI Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Router Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Output Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Input Class Initialized
DEBUG - 2012-04-16 12:25:46 --> XSS Filtering completed
DEBUG - 2012-04-16 12:25:46 --> XSS Filtering completed
DEBUG - 2012-04-16 12:25:46 --> Global POST and COOKIE data sanitized
DEBUG - 2012-04-16 12:25:46 --> Language Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Loader Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: url_helper
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: html_helper
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: form_helper
DEBUG - 2012-04-16 12:25:46 --> Database Driver Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Session Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: string_helper
DEBUG - 2012-04-16 12:25:46 --> Session routines successfully run
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Controller Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Final output sent to browser
DEBUG - 2012-04-16 12:25:46 --> Total execution time: 0.1078
DEBUG - 2012-04-16 12:25:46 --> Config Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Hooks Class Initialized
DEBUG - 2012-04-16 12:25:46 --> URI Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Router Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Output Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Input Class Initialized
DEBUG - 2012-04-16 12:25:46 --> XSS Filtering completed
DEBUG - 2012-04-16 12:25:46 --> XSS Filtering completed
DEBUG - 2012-04-16 12:25:46 --> Global POST and COOKIE data sanitized
DEBUG - 2012-04-16 12:25:46 --> Language Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Loader Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: url_helper
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: html_helper
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: form_helper
DEBUG - 2012-04-16 12:25:46 --> Database Driver Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Session Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Helper loaded: string_helper
DEBUG - 2012-04-16 12:25:46 --> Session routines successfully run
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Model Class Initialized
DEBUG - 2012-04-16 12:25:46 --> Controller Class Initialized
DEBUG - 2012-04-16 12:25:49 --> File loaded: app3/views/fixies.php
DEBUG - 2012-04-16 12:25:49 --> File loaded: app3/views/artikel_full.php
DEBUG - 2012-04-16 12:25:49 --> File loaded: app3/views/page.php
DEBUG - 2012-04-16 12:25:49 --> Final output sent to browser
DEBUG - 2012-04-16 12:25:49 --> Total execution time: 2.4910
that seems to be even a triple load!!
i'm absolutely clueless and if i can't sort this out my next step would be a workaround like to check befor incrementing if this page has been already incremented in the last three seconds from the actual ip-address.