I was working with Zend on Ubuntu and it was working correctly. Now I moved to windows for same project. But now elements of my form are not rendered correctly and their code is appeared on brower’s page like this:
translate( $this->element->getElement("email")->getLabel() ) ?>
Any idea that what is the problem?
Is it possible that you use short opening tags (
<?) instead of the correct long version and that is not enabled in yourphp.inion the Windows system?You can either turn that feature on (directive
short_open_tag) or you can “convert” your opening tag(s).I would recommend the latter solution, because it is the cross-platform (and thus, good) way of doing things.