Welcome Guest, Not a member yet? Register   Sign In
Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708
#1

[eluser]Unknown[/eluser]
Hi!

I'm new with codeigniter and I tried use it with CMS Made Simple.

I just made a simple call in the CMS, using User Defined Tags (feature of CMS MS):

$_GET["c"] = "welcome";
$_GET["m"] = "index";
include('ci/index.php');

Then the error fires:
Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708


Anybody can help me?

Thanks
#2

[eluser]WanWizard[/eluser]
From what I can read about UDT, they're small snippets of code that create some output. You then use the UDT in a template.

You can not include CI that way, the CI front controller expects full control of the environment. Especially in a PHP4 environment.
In this particular case it references a variable created by the front controller, which is expected to be global. Which is not the case when you start including.
#3

[eluser]Unknown[/eluser]
So...

Is there no way to combine CI + CMS?




Theme © iAndrew 2016 - Forum software by © MyBB