Welcome Guest, Not a member yet? Register   Sign In
CI cannot load models
#1

[eluser]tim042829[/eluser]
I have two files: ckMcategories.php and ckMproducts.php at system/application/models.
This translates to a file system path of /home/http/php/ci/system/application/models
and a internal URL path of http://localhost/php/ci/system/application/models/
and I can point my browser at http://localhost/php/ci/system/applicati...oducts.php
and http://localhost/php/ci/system/applicati...gories.php and get error-free
responses.
However: If I point my browser at http://localhost/php/ci or http://localhost/php/ci/index.php
I get the follow error message:
Quote:Unable to locate the model you have specified: ckmproducts
The following code is in system/application/config/autoload.php:
Code:
$autoload['model'] = array('ckMproducts','ckMcategories');

What am I doing wrong or what else do I need to do?
FYI: Am web programmer working in linux. But am newbie to PHP and CI
thanks
tim


Messages In This Thread
CI cannot load models - by El Forum - 08-26-2010, 05:06 PM
CI cannot load models - by El Forum - 08-26-2010, 05:22 PM
CI cannot load models - by El Forum - 08-26-2010, 06:01 PM
CI cannot load models - by El Forum - 08-27-2010, 02:08 AM
CI cannot load models - by El Forum - 08-27-2010, 09:46 AM
CI cannot load models - by El Forum - 08-27-2010, 12:07 PM
CI cannot load models - by El Forum - 08-27-2010, 01:03 PM
CI cannot load models - by El Forum - 08-27-2010, 01:21 PM
CI cannot load models - by El Forum - 08-27-2010, 01:51 PM
CI cannot load models - by El Forum - 08-27-2010, 05:22 PM
CI cannot load models - by El Forum - 08-27-2010, 06:03 PM
CI cannot load models - by El Forum - 08-27-2010, 06:31 PM
CI cannot load models - by El Forum - 08-27-2010, 09:28 PM



Theme © iAndrew 2016 - Forum software by © MyBB