Welcome Guest, Not a member yet? Register   Sign In
Looking for ajax + table example
#11

[eluser]il_dandi[/eluser]
Thanks for help me!!

I Log file I see

<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); ?>

DEBUG - 2009-02-27 13:54:51 --> Config Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Hooks Class Initialized
DEBUG - 2009-02-27 13:54:51 --> URI Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Router Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Output Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Input Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Global POST and COOKIE data sanitized
DEBUG - 2009-02-27 13:54:51 --> Language Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Loader Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Helper loaded: url_helper
DEBUG - 2009-02-27 13:54:51 --> Controller Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Helper loaded: flexigrid_helper
DEBUG - 2009-02-27 13:54:51 --> File loaded: /Applications/MAMP/htdocs/life/system/application/views/flexigrid.php
DEBUG - 2009-02-27 13:54:51 --> Final output sent to browser
DEBUG - 2009-02-27 13:54:51 --> Total execution time: 0.3842
DEBUG - 2009-02-27 13:54:51 --> Config Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Hooks Class Initialized
DEBUG - 2009-02-27 13:54:51 --> URI Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Router Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Output Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Input Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Global POST and COOKIE data sanitized
DEBUG - 2009-02-27 13:54:51 --> Language Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Loader Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Helper loaded: url_helper
DEBUG - 2009-02-27 13:54:51 --> Controller Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Model Class Initialized
DEBUG - 2009-02-27 13:54:51 --> Config file loaded: config/flexigrid.php
DEBUG - 2009-02-27 13:54:51 --> EVD CMS Flexigrid Class Initialized
ERROR - 2009-02-27 13:54:51 --> Severity: Notice --> Undefined property: Ajax_model::$db /Applications/MAMP/htdocs/life/system/application/models/ajax_model.php 31
#12

[eluser]pistolPete[/eluser]
Your database is not loaded.
Edit ./system/application/config/autoload.php:
Code:
$autoload['libraries'] = array('database');
#13

[eluser]il_dandi[/eluser]
Thanks Thanks Thanks!!!

Can you tell me how do you have find the error reading the debug files??

Thanks!!!!!
#14

[eluser]pistolPete[/eluser]
Code:
ERROR - 2009-02-27 13:54:51—> Severity: Notice —> Undefined property:  Ajax_model::$db /Applications/MAMP/htdocs/life/system/application/models/ajax_model.php 31

This one states that the script ist trying to access an undefined property called $db. In CI, this is the database class which was apparently not loaded.
#15

[eluser]il_dandi[/eluser]
Thanks!!!




Theme © iAndrew 2016 - Forum software by © MyBB