【发布时间】:2011-09-04 21:49:13
【问题描述】:
我刚刚建立了一个全新的 Symfony 1.4 项目并设计了架构,但不幸的是我无法构建架构。
我在使用 symfony 命令php symfony propel:build --all --no-confirmation 时遇到了一些问题。
不幸的是,它留下了一个相当神秘的错误消息php symfony propel:build --all --no-confirmation 有谁知道是什么导致了这个错误以及如何纠正它?谷歌出现了一些我无法理解的波兰语网站(即使有翻译)!
非常感谢!
完全错误:
>> schema putting /Applications/XAMPP/xamppfiles/htdocs/swingers/config/generated-schema.xml
>> propel Running "insert-sql" phing task
Execution of target "insert-sql" failed for the following reason: /Applications/XAMPP/xamppfiles/htdocs/swingers/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
[phing] /Applications/XAMPP/xamppfiles/htdocs/swingers/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
Some problems occurred when executing the task:
build-propel.xml:272:1: [wrapped: SQLSTATE[HY000] [2002] No such file or directory]
If the exception message is not clear enough, read the output of the task for
more information
>> file- /Applications/XAMPP/xamppfiles/htdocs/swingers/config/generated-schema.xml
PezCuckowMBP:swingers pezcuckow$
【问题讨论】:
标签: php mysql symfony1 propel symfony-1.4