Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I fix the ZF tool in the Zend Server for windows?
    primarykey
    data
    text
    <p>I just downloaded <a href="http://www.zend.com/community/zend-server-ce" rel="nofollow noreferrer">Zend Server Community Edition</a> for windows and found that it did not include the ZF utility included in the tutorials. I downloaded and unzipped the <a href="http://www.zend.com/en/community/framework" rel="nofollow noreferrer">Zend Framework</a>(version 1.7.8, because version 1.8 would not download properly). This includes the zf.bat utility which is meant to generate the basic project files. Unfortunately, neither seem to include the CodeGenerator package which is required for the tool to operate. The error I receive is:</p> <blockquote> <p>H:\zend>zf</p> <p>Warning: require_once(Zend/CodeGenerator/Php/File.php): failed to open stream: N o such file or directory in D:\Simon\code\zend\ZendServer\share\ZendFramework\in cubator\library\Zend\Tool\Project\Context\Zf\ControllerFile.php on line 4</p> <p>Fatal error: require_once(): Failed opening required 'Zend/CodeGenerator/Php/Fil e.php' (include_path='D:\Simon\code\zend\ZendServer\share\ZendFramework\incubato r\library;D:\Simon\code\zend\ZendServer\share\ZendFramework\library;.;D:\Simon\c ode\zend\ZendServer\share\ZendFramework\library') in D:\Simon\code\zend\ZendServ er\share\ZendFramework\incubator\library\Zend\Tool\Project\Context\Zf\Controller File.php on line 4</p> </blockquote> <p>I have been searching around and found a few <a href="https://devzone.zend.com/article/3811-Using-Zend_Tool-to-start-up-your-ZF-Project" rel="nofollow noreferrer">discussions</a>. Some other have had the same problem, and fixed it by checking out the latest svn with the following commands:</p> <pre><code>cd $PATH_TO_ZF/ZendFramework-1.7.7 cp -r incubator/library/Zend/Tool/ library/Zend/ cp -r incubator/library/Zend/Reflection/ library/Zend/ cd library/Zend/Tool mkdir CodeGenerator cd CodeGenerator svn co http://framework.zend.com/svn/framework/standard/incubator/library/Zend/CodeGenerator . cd .. find . | grep -v .svn | xargs perl -pi -e "s|Zend/CodeGenerator|Zend/Tool/CodeGenerator|g" find . | grep -v .svn | xargs perl -pi -e "s|Zend_CodeGenerator|Zend_Tool_CodeGenerator|g" </code></pre> <p>Unfortunately, the latest svn doesn't have CodeGenerator either.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload