Ubuntu 上的 zend 工具错误:- 发生错误 此处已存在项目

发布于 2024-10-10 15:12:27 字数 421 浏览 1 评论 0原文

我已经转移到 ubuntu,以便尽可能地为我正在从事的项目复制实时服务器环境。我曾经手动创建 zend 文件夹布局。但这次决定使用zend工具。无论如何,在设置 zf 工具后,我尝试了 zf show version 命令,一切顺利。

然后我将目录更改为共享文件夹(所谓共享是指该文件夹是我在双引导时在 Windows 和 ubuntu 之间共享的 fat32 文件夹)。无论如何,我使用命令 zf create project . 创建一个新项目。但我收到错误发生错误,此处已存在项目。该文件夹中肯定没有项目。不管怎样,我认为这可能是一个权限问题,尽管我可以出于所有订单目的从该文件夹中写入和读取。

然后我尝试在我的主文件夹中再次创建该项目,但仍然遇到同样的问题。我用谷歌搜索,但发现只有 3 个关于这个问题的报告,但没有一个得到答复。谢谢。

I have moved to ubuntu in order to as best as possible duplicate the live server environment for a project i am working on. I used to create my zend folder layouts by hand. But decided to use zend Tool this time. Any way after setting the zf tool up i tried the zf show version command and all went well.

So then i changed directory to a shared folder ( by shared i mean the folder is a fat32 folder that i shared between windows and ubuntu as i dualboot). Anyway i used the command zf create project . to create a new project. But i got he error An Error Has Occurred A project already exists here. There definitely is no project in that folder. Any way i thought maybe it was a permission issue although i am able to write and read from that folder for all order purposes.

I then tried to create the project again this time in my home folder and still had the same problem. I googled but found only 3 reports of this problem and non of them have been answered. Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

我三岁 2024-10-17 15:12:27

我遇到了同样的问题 -

当您尝试创建一个项目时,当目录结构中更高的位置已经存在另一个项目(无论名称如何)时,ZF 不喜欢它。

尝试在父目录中查找旧项目(特别是 .zfproject.xml 文件),或者如果您想要拥有这样的目录结构,请修补 ZF Project Provider。

更多详细信息

希望这有帮助

-担

I had this same issue -

ZF doesn't like it when you try and create a project when another one already exists somewhere higher in your directory structure (no-matter the name).

Try looking for old projects in parent directories (specifically .zfproject.xml files), or patch the ZF Project Provider if you want to have a directory structure like this.

More details here

Hope this helps

-Dan

笛声青案梦长安 2024-10-17 15:12:27

如果您想解决此问题,则必须删除 .zfproject.xml。您可以使用 find /path/to/project -name '.zfproject.xml' 找到此文件,然后使用 rm -rf /path/to/project/.zfproject.xml 删除它。

希望这有帮助)

If you want to fix this problem, you'll have to remove .zfproject.xml. You can find this file by using find /path/to/project -name '.zfproject.xml' and then delete it with rm -rf /path/to/project/.zfproject.xml.

Hope this help)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文