Win 7 上的 PyroCMS 3
PyroCMS 3 on win 7
我尝试在 win 7 x86 上安装 PyroCMS 3,我用 composer 下载它:
composer create-project pyrocms/pyrocms=3.0-beta1 --prefer-dist
一切似乎都是正确的,但我继续 localhost/pyrocms 我只看到文件夹结构,我尝试 localhost/pyrocms/install 或 localshot/pyrocms/index.php
但是当我访问 localhost/pyrocms/public 时得到这个错误
Warning: require(C:\laragon\www\pyrocms\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\laragon\www\pyrocms\bootstrap\autoload.php on line 17
这似乎是前提问题,但赢了? autoload.php 文件存在。
当我尝试 composer update
时出现此错误:
php artisan clear-compiled
Warning:
require(C:\laragon\www\pyrocms\bootstrap/../vendor/autoload.php):
faile d to open stream: No such file or directory in
C:\laragon\www\pyrocms\bootstrap\ autoload.php on line 17
Call Stack:
0.0000 119776 1. {main}() C:\laragon\www\pyrocms\artisan:0
0.0010 121632 2. require('C:\laragon\www\pyrocms\bootstrap\autoload.ph p')
C:\laragon\www\pyrocms\artisan:16
Fatal error: require(): Failed opening required
'C:\laragon\www\pyrocms\bootstra p/../vendor/autoload.php'
(include_path='.;C:/laragon/bin/php/php-5.6.13/PEAR') in
C:\laragon\www\pyrocms\bootstrap\autoload.php on line 17
Call Stack:
0.0000 119776 1. {main}() C:\laragon\www\pyrocms\artisan:0
0.0010 121632 2. require('C:\laragon\www\pyrocms\bootstrap\autoload.ph p')
C:\laragon\www\pyrocms\artisan:16
Script php artisan clear-compiled handling the pre-update-cmd event
returned wit h an error
[RuntimeException] Error Output:
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev]
[--no-dev] [--lock] [--no-plugins] [--no-custom-installers]
[--no-autoloader] [--no-scripts] [--no- progress]
[--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader]
[-a|--classmap-authoritative] [--ignore-platform-reqs]
[--prefer-stable] [--pre fer-lowest] [packages1] ... [packagesN]
我该如何解决?
谢谢
我忘了使用
php artisan dump autoload
我的错。
我尝试在 win 7 x86 上安装 PyroCMS 3,我用 composer 下载它:
composer create-project pyrocms/pyrocms=3.0-beta1 --prefer-dist
一切似乎都是正确的,但我继续 localhost/pyrocms 我只看到文件夹结构,我尝试 localhost/pyrocms/install 或 localshot/pyrocms/index.php 但是当我访问 localhost/pyrocms/public 时得到这个错误
Warning: require(C:\laragon\www\pyrocms\bootstrap/../vendor/autoload.php): failed to open stream: No such file or directory in C:\laragon\www\pyrocms\bootstrap\autoload.php on line 17
这似乎是前提问题,但赢了? autoload.php 文件存在。
当我尝试 composer update
时出现此错误:
php artisan clear-compiled
Warning: require(C:\laragon\www\pyrocms\bootstrap/../vendor/autoload.php): faile d to open stream: No such file or directory in C:\laragon\www\pyrocms\bootstrap\ autoload.php on line 17
Call Stack: 0.0000 119776 1. {main}() C:\laragon\www\pyrocms\artisan:0 0.0010 121632 2. require('C:\laragon\www\pyrocms\bootstrap\autoload.ph p') C:\laragon\www\pyrocms\artisan:16
Fatal error: require(): Failed opening required 'C:\laragon\www\pyrocms\bootstra p/../vendor/autoload.php' (include_path='.;C:/laragon/bin/php/php-5.6.13/PEAR') in C:\laragon\www\pyrocms\bootstrap\autoload.php on line 17
Call Stack: 0.0000 119776 1. {main}() C:\laragon\www\pyrocms\artisan:0 0.0010 121632 2. require('C:\laragon\www\pyrocms\bootstrap\autoload.ph p') C:\laragon\www\pyrocms\artisan:16
Script php artisan clear-compiled handling the pre-update-cmd event returned wit h an error
[RuntimeException] Error Output:
update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no- progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--prefer-stable] [--pre fer-lowest] [packages1] ... [packagesN]
我该如何解决?
谢谢
我忘了使用
php artisan dump autoload
我的错。