Composer install fails
- Status
- Closed
- Subject
- Composer install fails
- Category
- Usability
- Feature
- Installer (profiles, upgrades and server-related issues)
- Resolution status
- Works For Me
- Submitted by
- Karen Stingel
- Volunteered to solve
- Karen Stingel
- Lastmod by
- Karen Stingel
- Rating
- Description
After checking out trunk via SVN and receiving the new Composer files, running the composer install failed to download the zendframework1 requirement and I was unable to proceed to install Tiki.
Setup:
Windows 7 Pro 😡
XAMPP 1.8.1
vhosts setup for each Tiki
Tiki runs from a subfolder "tiki" within webroot
"tiki" is a symlink to my checkout branch- Solution
delete the "tiki" symlink under webroot (checkout is unaffected)
create a folder 'tiki' under webroot
create a "temp" folder inside new tiki folder
download (or copy) composer.phar to this new temp folderopen notepad.exe and create a new composer.json file:
composer.jsonCopy to clipboard{ "require": { "zendframework/zendframework1": "1.12.1" }, "config": { "process-timeout": 5000 } }
type:
now open a command prompt in the tiki folder on the serverCopy to clipboardphp temp/composer.phar install
you should see the following response:Console FeedbackCopy to clipboardLoading composer repositories with package information Installing dependencies - Installing zendframework/zendframework1 (1.12.1) Checking out /tags/release-1.12.1/@25165 Writing lock file Generating autoload files
once you see that, you can go into your tiki folder and delete the composer.json and composer.lock files from that folder (we will over-write them momentarily with the real ones)copy the contents of your Tiki checkout into the 'tiki' folder on your server
once the copy has completed, runto download the rest of the Tiki requirements.Copy to clipboardphp temp/composer.phar update
You should now be able to go ahead and run tiki-install.php and use your Tiki. 😊- Importance
- 9 high
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4383
- Created
- Wednesday 13 February, 2013 17:04:45 UTC
by Karen Stingel - LastModif
- Wednesday 13 February, 2013 17:14:54 UTC