solution to the problem
Hello,
This example comes from the Web 2.0 Applications with PHP book,
I tried this and had the same problem,
the solution is simple,
just add:
$controller->setParam('noViewRenderer' , true);
after the ::getInstance();
and it works.
Don't ask me why,
I'm pretty new to this,
but the errors are gone,
at least in my case.
Hope it works for you.
|