downloadbooks_2014 2011-04-28 06:16
浏览 28
已采纳

在Windows XP SP3 / Again /上使用XAMPP进行Symfony

This is what I get when try to run "generate:app frontend" :

C:\>php xampp\htdocs\development\sfprojects\jobeet\lib\vendor\symfony\data\bin\s
ymfony generate:app frontend
PHP Warning:  require_once(C:\config/..xampp/htdocs/development/sfprojects/jobee
t/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php): failed to open stre
am: No such file or directory in C:\config\ProjectConfiguration.class.php on lin
e 3

Warning: require_once(C:\config/..xampp/htdocs/development/sfprojects/jobeet/lib
/vendor/symfony/lib/autoload/sfCoreAutoload.class.php): failed to open stream: N
o such file or directory in C:\config\ProjectConfiguration.class.php on line 3
PHP Fatal error:  require_once(): Failed opening required 'C:\config/..xampp/htd
ocs/development/sfprojects/jobeet/lib/vendor/symfony/lib/autoload/sfCoreAutoload
.class.php' (include_path='.;C:C:\xampp\php\pear') in C:\config\ProjectConfigura
tion.class.php on line 3

Fatal error: require_once(): Failed opening required 'C:\config/..xampp/htdocs/d
evelopment/sfprojects/jobeet/lib/vendor/symfony/lib/autoload/sfCoreAutoload.clas
s.php' (include_path='.;C:C:\xampp\php\pear') in C:\config\ProjectConfiguration.
class.php on line 3

C:\>

I thought it's something with PEAR, but I cant find a way to figure it out, nor I'm 100% it's PEAR, so...glad to get some help on the issue. What I've already tried is to rewrite multiple times php.ini if there's problem with locating pear.php, but I think, I tried all scenarios possible and that's not the solutions.So what to do from now on. Thanks -Leron

  • 写回答

1条回答 默认 最新

  • dpo69086 2011-04-28 06:25
    关注

    cd into xampp\htdocs\development\sfprojects\jobeet and run the command.

    Also you may have the require path wrong if you created this as an embeded install (ie. you embeded symfony in lib/vendor of the project) Youre missing a slash:

    C:\config/..xampp/htdocs/development/sfprojects/jobeet/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php

    should be:

    C:\config/../xampp/htdocs/development/sfprojects/jobeet/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php

    So you need to change your require_once statement in projectConfiguration.class.php.

    But that could just be because youre invoking the command from outside the project (although technically that should work if you have everything set up correct)...

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题