CodeIgniter Forums
Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708 (/showthread.php?tid=31239)



Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708 - El Forum - 06-10-2010

[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


Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708 - El Forum - 06-11-2010

[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.


Fatal error: Call to a member function append_output() on a non-object in ...\system\libraries\Loader.php on line 708 - El Forum - 06-11-2010

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

Is there no way to combine CI + CMS?