Welcome Guest, Not a member yet? Register   Sign In
error on the first page
#4

For starters, Mpages should extend CI_Model, not CI_Controller, and the file names of your controllers and models need to have the first letter in upper case, matching the class names.

If your controller (Cpages) extends the constructor, it needs to call the parent constructor (as your model currently does).
Reply


Messages In This Thread
error on the first page - by davy_yg - 07-05-2016, 02:06 AM
RE: error on the first page - by wolfgang1983 - 07-05-2016, 03:28 AM
RE: error on the first page - by davy_yg - 07-05-2016, 08:39 AM
RE: error on the first page - by mwhitney - 07-07-2016, 01:22 PM
RE: error on the first page - by davy_yg - 07-11-2016, 03:36 AM
RE: error on the first page - by JayAdra - 07-11-2016, 04:29 AM
RE: error on the first page - by mwhitney - 07-11-2016, 09:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB