CodeIgniter Forums
Changing from to Godaddy error - 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: Changing from to Godaddy error (/showthread.php?tid=58872)



Changing from to Godaddy error - El Forum - 07-29-2013

[eluser]Unknown[/eluser]
hi All,

I have a strange error with Godaddy and I have been searching over google and a lot of forums for the solution with no luck.

On my development server (Hostgator) my webpage works, but once I move the page to my client's server (Godaddy/Plesk) it gives me the error:

Message: Undefined property: Landing::$content

Being $content the alias for a model, I tried calling the model without adding the alias with no luck.

Then in some test I did I made a var_dump of the $this pointer and I had loaded the model but on the session variable and when I tried to access it via $this->session->CI->content this somehow worked but it misbehaved.

Does anyone had this problem and know how to resolve it?

Thanks,

PI