CodeIgniter Forums
[Solved] Loading view as $string not working - 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: [Solved] Loading view as $string not working (/showthread.php?tid=60581)

Pages: 1 2


[Solved] Loading view as $string not working - El Forum - 05-01-2014

[eluser]riwakawd[/eluser]
[quote author="Tim Brownlaw" date="1398985077"]Yes, when in doubt, read the userguide!

To Paraphrase what Cronix has stated - It's how it was written to work!

And can you mark this as solved![/quote]

I did read the user guide as said in first post. But don't think I under stood it well. I am trying to do It codeigniters way now. I also re install xammp and got the normal hmvc working great must I been xampp that was not making hmvc work. I do not know


[Solved] Loading view as $string not working - El Forum - 05-01-2014

[eluser]Tim Brownlaw[/eluser]
I'm Glad you've got the HMVC working...






[Solved] Loading view as $string not working - El Forum - 05-01-2014

[eluser]riwakawd[/eluser]
[quote author="Tim Brownlaw" date="1399000556"]I'm Glad you've got the HMVC working...
[/quote]

Only got small issue error string header unable to load

to view
Code:
<?php
echo $this->load->module('admin/common/header');
echo $this->header->render();
?>
A PHP Error was encountered
Severity: 4096
Message: Object of class Header could not be converted to string
Filename: common/dashboard.php
Line Number: 2






[Solved] Loading view as $string not working - El Forum - 05-02-2014

[eluser]InsiteFX[/eluser]
Take off the echo on the module load it doe's not return anything.

And as far as Xampp I have used Xampp and HMVC for years now with no problems.



[Solved] Loading view as $string not working - El Forum - 05-02-2014

[eluser]riwakawd[/eluser]
[quote author="InsiteFX" date="1399024854"]Take off the echo on the module load it doe's not return anything.

And as far as Xampp I have used Xampp and HMVC for years now with no problems.
[/quote]

Cheers for that. Did that before nothing happened and refreshed page and nothing.

So made new project and now it works.

It must of been just my system I must of moved a file some where without knowing about it.

I like Xampp my self better than Wamp.