-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not open input file: install.php #87
Comments
Hi, Sorry I have not seen this issue before. Do you have the required PHP extensions? It looks like a permissions issue. How did you install PHP? Are you sure you are using the correct PHP version on CLI? |
Hi, thanks for the reply. Yes I have the required PHP extensions:
PHP:
PHP was installed using http://php-osx.liip.ch/ -
OS: Vagrant: VirtualBox: I have also tried using an older version of Virtualbox so my guest additions match the guest machine (GuestAdditions 5.0.10). I have tried running this as the root user as well and I still get the same errors. |
I'm having this same issue. I'm on Ubuntu 16.04 and am running PHP 7.0 and have the two required extensions. Mine dies at |
I'm having the same issue with centos-php5-nginx-magento Could not open input file: install.php |
Also ran into this issue upon entering the command
I am on Vagrant 1.8.1, VirtualBox 5.0.40, PHP 7.0 and XUbuntu 16.04. Also installed php7.0-intl and php7.0-mcrypt. Here is my output:
|
@efdelacruz Did you run |
@richdynamix ayt sorry for the confusion. was as a placeholder. Simply ran it as
Wherein it encountered the mentioned errors above. |
I have the same on macOS High Sierra. All php modules are present. This seems to be the likely issue, as per Line 214 in MagentoProject.php http://php.net/manual/en/function.file-get-contents.php As the local.xml does not exist yet, it throws exception. That seems to match what we are seeing. @richdynamix Any chance you can fix? |
My Setup:
OS X Sierra 10.12.3
Vagrant 1.9.1
VirtualBox 5.1.14 r112924
PHP 5.6.29 (cli) (built: Jan 14 2017 21:05:20) - I have also tried PHP7 with Magento 2
When installing Magento 1 or Magento 2 using Magestead I receive the following issue:
Autoloader patch to public/app/Mage.php was applied successfully
Installing Magento Software
/usr/local/rvm/scripts/extras/bash_zsh_support/chpwd/function.sh: line 5: cd: /var/www/public: No such file or directory
Could not open input file: install.php
PHP Warning: file_get_contents(/projectName/public/app/etc/local.xml): failed to open stream: No such file or directory in /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php on line 214
PHP Stack trace:
PHP 1. {main}() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/magestead:0
PHP 2. Symfony\Component\Console\Application->run() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/magestead:66
PHP 3. Symfony\Component\Console\Application->doRun() /Users/ramsaybell/.composer/vendor/symfony/console/Application.php:120
PHP 4. Symfony\Component\Console\Application->doRunCommand() /Users/ramsaybell/.composer/vendor/symfony/console/Application.php:189
PHP 5. Symfony\Component\Console\Command\Command->run() /Users/ramsaybell/.composer/vendor/symfony/console/Application.php:826
PHP 6. Magestead\Command\NewCommand->execute() /Users/ramsaybell/.composer/vendor/symfony/console/Command/Command.php:262
PHP 7. Magestead\Installers\Project::create() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Command/NewCommand.php:54
PHP 8. Magestead\Installers\MagentoProject->__construct() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/Project.php:20
PHP 9. Magestead\Installers\MagentoProject->installMagento() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:33
PHP 10. Magestead\Installers\MagentoProject->configureRedis() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:80
PHP 11. Magestead\Installers\MagentoProject->updateConfigXml() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:204
PHP 12. file_get_contents() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:214
Warning: file_get_contents(/projectName/public/app/etc/local.xml): failed to open stream: No such file or directory in /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php on line 214
Call Stack:
0.0002 237928 1. {main}() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/magestead:0
0.0125 2005064 2. Symfony\Component\Console\Application->run() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/magestead:66
0.0231 2402952 3. Symfony\Component\Console\Application->doRun() /Users/ramsaybell/.composer/vendor/symfony/console/Application.php:120
0.0232 2404040 4. Symfony\Component\Console\Application->doRunCommand() /Users/ramsaybell/.composer/vendor/symfony/console/Application.php:189
0.0233 2404640 5. Symfony\Component\Console\Command\Command->run() /Users/ramsaybell/.composer/vendor/symfony/console/Application.php:826
0.0235 2409152 6. Magestead\Command\NewCommand->execute() /Users/ramsaybell/.composer/vendor/symfony/console/Command/Command.php:262
154.8248 3597264 7. Magestead\Installers\Project::create() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Command/NewCommand.php:54
154.8255 3667920 8. Magestead\Installers\MagentoProject->__construct() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/Project.php:20
480.9401 3667992 9. Magestead\Installers\MagentoProject->installMagento() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:33
484.6423 3668728 10. Magestead\Installers\MagentoProject->configureRedis() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:80
484.6423 3669648 11. Magestead\Installers\MagentoProject->updateConfigXml() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:204
484.6423 3669872 12. file_get_contents() /Users/ramsaybell/.composer/vendor/richdynamix/magestead/src/Magestead/Installers/MagentoProject.php:214
[Exception]
String could not be parsed as XML
new
Seems to be another issue as well with fuse when building the VM:
==> local: Fuse seems to not be installed on the virtual machine, installing now
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
yum -y install fuse
Stdout from the command:
Loaded plugins: priorities
Setting up Install Process
Stderr from the command:
http://apt.sw.be/redhat/el6/en/x86_64/extras/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: repoforgeextras. Please verify its path and try again
Installing Magento with Composer
Any suggestions please?
The text was updated successfully, but these errors were encountered: