{"id":1206,"date":"2022-08-30T15:14:09","date_gmt":"2022-08-30T15:14:09","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/10\/fatal-error-call-to-undefined-function-escape-in-zend-framework-duplicate-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:14:09","modified_gmt":"2022-08-30T15:14:09","slug":"fatal-error-call-to-undefined-function-escape-in-zend-framework-duplicate-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/fatal-error-call-to-undefined-function-escape-in-zend-framework-duplicate-collection-of-common-programming-errors\/","title":{"rendered":"Fatal error: Call to undefined function escape() in zend framework [duplicate]-Collection of common programming errors"},"content":{"rendered":"<blockquote>\n<p><strong>Possible Duplicate:<\/strong><br \/>\nescape method is not supported by view page in admin area or backend of site in zend framework?<\/p>\n<\/blockquote>\n<p>I have installed zend framework properly on my localhost and got the zend framework default index page. Now I am using escape method in view page and run the page then it shows following error:-<\/p>\n<p>Fatal error: Call to undefined function escape()&#8230;..<\/p>\n<p>I am not getting the solution to remove this error, I have set the virtual host and create site structure using Zend_Tool command like- zf create project myproject.<\/p>\n<p>A directory structure I have got in proper way and when I run my site on localhost, it shows a zend default index page. So I assume that zend has installed properly on my system. A directory structure created by zend_tool have a blank library folder and there is no bin folder is showing in created directory structure of myproject folder.<\/p>\n<p>I am using latest version of zend framework 1.11.11<\/p>\n<p>I am very confused that why escape() method is not working<\/p>\n<p>I am using following code in controller:-<\/p>\n<pre><code>$this-&gt;view-&gt;assign('username', 'Username');    \n$this-&gt;view-&gt;assign('password', 'Password');\n$this-&gt;view-&gt;assign('rememberMe', 'Remember Me');\n<\/code><\/pre>\n<p>I am calling escape method in view page as following:-<\/p>\n<td id=\"userlogin\" align=\"left\" width=\"30%\"><code>:<\/code><\/td>\n<p>In my controller I am not including any file. It is just a simple controller file like this:-<\/p>\n<p id=\"rop\"><small>Originally posted 2013-11-10 00:09:48. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Possible Duplicate: escape method is not supported by view page in admin area or backend of site in zend framework? I have installed zend framework properly on my localhost and got the zend framework default index page. Now I am using escape method in view page and run the page then it shows following error:- [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8],"tags":[],"class_list":["post-1206","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-zend-framework"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=1206"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1206\/revisions"}],"predecessor-version":[{"id":8884,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/1206\/revisions\/8884"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=1206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=1206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=1206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}