Welcome Guest, Not a member yet? Register   Sign In
Calendar class problem
#6

(This post was last modified: 11-25-2014, 08:25 AM by sv3tli0.)

(11-25-2014, 07:20 AM)trip3nd Wrote: I thought I explained clear enough...

Well I am using the exact same code as the userguide example:

$this->load->library('calendar');
echo $this->calendar->generate();

And this does not seem to work. The library isnt loaded and because of that the error indicates that the calendar->generate method doesnt excist.....


Do you have any model/library or other class loaded with the same name calendar ? 
Some times such name duplication can fuck you up..

You can var_dump($this->calendar) just to be sure that this is the required Library class.
Best VPS Hosting : Digital Ocean
Reply


Messages In This Thread
Calendar class problem - by trip3nd - 11-25-2014, 03:51 AM
RE: Calendar class problem - by Rufnex - 11-25-2014, 04:00 AM
RE: Calendar class problem - by trip3nd - 11-25-2014, 04:33 AM
RE: Calendar class problem - by sv3tli0 - 11-25-2014, 07:14 AM
RE: Calendar class problem - by trip3nd - 11-25-2014, 07:20 AM
RE: Calendar class problem - by sv3tli0 - 11-25-2014, 08:24 AM
RE: Calendar class problem - by Rufnex - 11-25-2014, 08:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB