Welcome Guest, Not a member yet? Register   Sign In
getting a runtime error
#5

(This post was last modified: 02-12-2019, 10:36 AM by richb201.)

Interesting that you say that. The exact error I am getting is "unable to locate model you have specified: User." I am not sure where this is coming from (I have a break point in exception handling). It appears to be complaining about line 344 of core/Loader.php but i don't have a file called Loader.php in Core. I do have MY_Loader.php. So why is the MY_ not being pre-pended? I copied the part of the docs that talks about this and it seems that is is a subclass prefix. But where do I tell CI that I want to use the MY_ ?????

BTW, I did find at the bottom of autoload.php I have $autoload['model']=Array('Users');

I have no idea what this is about but it is identical on both the Windows server and on the AWS Linux server.  This seems to be the error. I'd be afraid of deleting that. Anyone know what it is for?
proof that an old dog can learn new tricks
Reply


Messages In This Thread
getting a runtime error - by richb201 - 02-11-2019, 08:16 PM
RE: getting a runtime error - by neuron - 02-11-2019, 11:30 PM
RE: getting a runtime error - by richb201 - 02-12-2019, 05:15 AM
RE: getting a runtime error - by InsiteFX - 02-12-2019, 09:24 AM
RE: getting a runtime error - by richb201 - 02-12-2019, 10:29 AM
RE: getting a runtime error - by gmgj - 04-16-2019, 09:39 AM
RE: getting a runtime error - by InsiteFX - 04-16-2019, 03:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB