Hi, I'm calling a method of a library that I've created in symfony 1.2. If I don't call the library method in the action method, then the method in the action class works as it should, and it finds the template. But, if I call the library method in the action class, symfony tells me that it cannot find the template associated to the action method. Any suggestions?
views:
207answers:
2I tried to add this line after I call the library method, but then I get the error: "Rollback failed. There is no active transaction.". I'm not carrying out any transactions...
2009-08-14 06:57:09
Ok, fixed the transaction error... but with 'NONE', the page just displays blank.
2009-08-14 07:03:11
A:
Returning sfView::NONE is telling Symfony to display nothing. The explicit return value sounds like the right approach but you probably want:
return sfView::SUCCESS;
Cryo
2009-09-05 14:54:56