我已经通过composer安装了NEOS 1.2.1,创建了一个新站点,一切都很花哨。 但过了一段时间我遇到了一个错误,neos告诉我使用node:repair 好吧,我做了,但与此我发生了以下异常的冲突。 它似乎无法连接或类似划痕头之类的东西 我的问题是,为什么当其他流量命令(可能没有数据库)被执行得很好?
这是在Mamp Pro的Mac上本地运行,有没有人知道,是什么导致这个?
TombStone:source lucither$ ./flow node:repair --node-type TYPO3.Neos.NodeTypes:Page Uncaught Exception: TYPO3\Flow\Persistence\Doctrine\Exception\DatabaseConnectionException Message SQLSTATE[HY000] [2002] No such file or directory More Information Exception code 2002 File /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_Query.php line 230 Reference code 20150106214706a2dfc2 Stack trace #0 TYPO3\Flow\Persistence\Doctrine\Query_Original::count() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_Query.php:794 #1 TYPO3\Flow\Persistence\Doctrine\Query::count() #2 ::call_user_func_array() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_Query.php:745 #3 TYPO3\Flow\Persistence\Doctrine\Query::Flow_Aop_Proxy_invokeJoinPoint() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AdviceChain.php:57 #4 TYPO3\Flow\Aop\Advice\AdviceChain::proceed() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Security_Aspect_PersistenceQueryRewritingAspect.php:102 #5 TYPO3\Flow\Security\Aspect\PersistenceQueryRewritingAspect_Original::rewriteQomQuery() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AroundAdvice.php:34 #6 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AdviceChain.php:55 #7 TYPO3\Flow\Aop\Advice\AdviceChain::proceed() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_Query.php:806 #8 TYPO3\Flow\Persistence\Doctrine\Query::count() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Persistence_Doctrine_QueryResult.php:87 #9 TYPO3\Flow\Persistence\Doctrine\QueryResult_Original::count() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_TYPO3CR_Command_NodeCommandController.php:95 #10 TYPO3\TYPO3CR\Command\NodeCommandController_Original::repairCommand() #11 ::call_user_func_array() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Cli_CommandController.php:240 #12 TYPO3\Flow\Cli\CommandController_Original::callCommandMethod() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Cli_CommandController.php:110 #13 TYPO3\Flow\Cli\CommandController_Original::processRequest() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:80 #14 TYPO3\Flow\Mvc\Dispatcher_Original::dispatch() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:298 #15 TYPO3\Flow\Mvc\Dispatcher::dispatch() #16 ::call_user_func_array() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:282 #17 TYPO3\Flow\Mvc\Dispatcher::Flow_Aop_Proxy_invokeJoinPoint() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AdviceChain.php:57 #18 TYPO3\Flow\Aop\Advice\AdviceChain::proceed() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Security_Aspect_RequestDispatchingAspect.php:75 #19 TYPO3\Flow\Security\Aspect\RequestDispatchingAspect_Original::blockIllegalRequestsAndForwardToAuthenticationEntryPoints() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AroundAdvice.php:34 #20 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AdviceChain.php:55 #21 TYPO3\Flow\Aop\Advice\AdviceChain::proceed() /Users/lucither/development/XXX/source/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:313 #22 TYPO3\Flow\Mvc\Dispatcher::dispatch() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Cli/CommandRequestHandler.php:97 #23 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php:108 #24 TYPO3\Flow\Core\Bootstrap::run() /Users/lucither/development/XXX/source/Packages/Framework/TYPO3.Flow/Scripts/flow.php:55 #25 ::require() /Users/lucither/development/XXX/source/flow:18