我想在Windows 8 xampp上安裝奏鳴曲。在Windows上安裝奏鳴曲xampp
我使用comand php composer.phar創建項目的聲納塔項目/沙箱:2.3.x-dev和下載後我得到錯誤。我發現錯誤對我來說是2線:
在BIN \ load.data.phprm -rf ./app/cache/*
我可以發表評論說
-
如果我將內存限制增加到1024m,並在
php.ini
中將時間增加到600並刪除該部分,但我仍然收到此錯誤:Executing : C:\Users\Felek\Desktop\xampp\php\php.exe ./app/console doctrine:fix tures:load --verbose --env=dev --no-debug Careful, database will be purged. Do you want to continue Y/N ? [RuntimeException] Aborted Exception trace: () at C:\Users\Felek\Desktop\xampp\htdocs\sonata\sandbox\vendor\symfony\symfony \src\Symfony\Component\Console\Helper\DialogHelper.php:115 Symfony\Component\Console\Helper\DialogHelper->ask() at C:\Users\Felek\Desktop\ xampp\htdocs\sonata\sandbox\vendor\symfony\symfony\src\Symfony\Component\Console \Helper\DialogHelper.php:242 Symfony\Component\Console\Helper\DialogHelper->askConfirmation() at C:\Users\Fe lek\Desktop\xampp\htdocs\sonata\sandbox\vendor\doctrine\doctrine-fixtures-bundle \Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand.php:73 Doctrine\Bundle\FixturesBundle\Command\LoadDataFixturesDoctrineCommand->execute () at C:\Users\Felek\Desktop\xampp\htdocs\sonata\sandbox\vendor\symfony\symfony\ src\Symfony\Component\Console\Command\Command.php:252 Symfony\Component\Console\Command\Command->run() at C:\Users\Felek\Desktop\xamp p\htdocs\sonata\sandbox\vendor\symfony\symfony\src\Symfony\Component\Console\App lication.php:896 Symfony\Component\Console\Application->doRunCommand() at C:\Users\Felek\Desktop \xampp\htdocs\sonata\sandbox\vendor\symfony\symfony\src\Symfony\Component\Consol e\Application.php:193 Symfony\Component\Console\Application->doRun() at C:\Users\Felek\Desktop\xampp\ htdocs\sonata\sandbox\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\ Console\Application.php:96 Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at C:\Users\Felek\D esktop\xampp\htdocs\sonata\sandbox\vendor\symfony\symfony\src\Symfony\Component\ Console\Application.php:124 Symfony\Component\Console\Application->run() at C:\Users\Felek\Desktop\xampp\ht docs\sonata\sandbox\app\console:34 doctrine:fixtures:load [--fixtures[="..."]] [--append] [--em="..."] [--purge-wit h-truncate] An error occurs when running a command!
我試圖刪除並重新安裝數據庫沒有任何結果。我能做些什麼來解決這個錯誤?
回答在命令行上詢問您的問題是否解決了問題... – 2014-10-11 17:06:17
問題是我無法在加載腳本時運行該命令。 – user2217288 2014-10-11 18:10:25