philsturgeon / codeigniter-template

Template library for CodeIgniter which supports modules, themes, partial views, etc.
411 stars 178 forks source link

Problem with codeigniter version 2.0.3 #10

Closed freyk closed 13 years ago

freyk commented 13 years ago

In codeigniter v 2.0.3 the Class loader change protected attributes.

In Template library try access the attribute $_ci_cached_vars in the line #625

if (isset($this->_ci->load->_ci_cached_vars['template_views'])) { return $this->_ci->load->_ci_cached_vars['template_views']; }

Arachnos commented 13 years ago

Give a description to your problem in order it would be solved…

I have too an "Error 500 - Interval Server Error" : I think it is the MY_Controller class that is not defined correctly.

I've followed this documentation : http://codeigniter.com/wiki/Phil_Sturgeon's_Template_Library/ But it's not working good !!

ruthlessfish commented 13 years ago

have you updated to the newest version? this is fixed

https://github.com/philsturgeon/codeigniter-template/blob/master/libraries/Template.php#L625

Arachnos commented 13 years ago

I've the last version, but following http://codeigniter.com/wiki/Phil_Sturgeon's_Template_Library/ instructions, I can't configure right my CI installation.

The documentation (user_guide) is not detailled enough for a CI beginner.

philsturgeon commented 13 years ago

Use these docs instead then!

http://philsturgeon.co.uk/demos/codeigniter-template/user_guide/