Welcome Guest, Not a member yet? Register   Sign In
No errors on local webserver but getting errors when moving site online
#3

[eluser]Bart v B[/eluser]
That header error looks like that youre using the end tag of php
Take a good look at youre code and remove al end tags ( ?> )

i looked to youre model, but how can i say it in a polite way..
It's far from what is good.

Youre mixing output from what is supposed to do in youre view.
Many things that you do in your model, is what the controller is his job.

Code:
else
{
   return '<p>Sorry, no news to display.</p>';
}
  return $output;

In my opinion it's a better way to rerurn true or false there.
And the controller does his thing where it's a true or false.


Messages In This Thread
No errors on local webserver but getting errors when moving site online - by El Forum - 07-27-2010, 12:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB