Hello, I've installed composer many different ways, reinstalled my server many times, and have exhausted my efforts trying to install Elgg from composer with the commands:
composer global require "fxp/composer-asset-plugin:~1.3"
composer create-project elgg/starter-project:dev-master .
composer install
composer install # 2nd call is currently required
I have tried also running composer update instead of composer install. It still doesn't work. I have received various error logs that I do not undersand from my various attempts to get this to work, as I'd like to use Elgg 3.0. Here are 2 of the errors displayed:
Warning: APCuIterator::__construct(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u at offset 121 in /var/www/anonchan/vendor/tedivm/stash/src/Stash/Driver/Apc.php on line 123 Fatal error: APCuIterator::__construct(): Could not compile regular expression: [6a461c174602503ce2592ec4e5e9f1fb::6a461c174602503ce2592ec4e5e9f1fb::sp::stash_default::dic::di\definition\elgg\systemlog\logeventcache::*] in /var/www/anonchan/vendor/tedivm/stash/src/Stash/Driver/Apc.php on line 123
Fatal error: Uncaught Error: Call to undefined function get_subtype_id() in /var/www/anonchan/mod/blog/activate.php:6 Stack trace: #0 /var/www/anonchan/vendor/elgg/elgg/engine/classes/Elgg/Includer.php(18): include() #1 /var/www/anonchan/vendor/elgg/elgg/engine/classes/ElggPlugin.php(804): Elgg\Includer::includeFile('/var/www/anonch...') #2 /var/www/anonchan/vendor/elgg/elgg/engine/classes/ElggPlugin.php(629): ElggPlugin->includeFile('activate.php') #3 /var/www/anonchan/vendor/elgg/elgg/engine/classes/ElggInstaller.php(1437): ElggPlugin->activate() #4 /var/www/anonchan/vendor/elgg/elgg/engine/classes/ElggInstaller.php(504): ElggInstaller->saveSiteSettings(Array) #5 /var/www/anonchan/vendor/elgg/elgg/engine/classes/ElggInstaller.php(513): ElggInstaller->{closure}() #6 /var/www/anonchan/vendor/elgg/elgg/engine/classes/ElggInstaller.php(97): ElggInstaller->runSettings(Array) #7 /var/www/anonchan/vendor/elgg/elgg/engine/classes/Elgg/Application.php(487): ElggInstaller->run() #8 /var/www/anonchan/install.php(11): Elgg\Applicat in /var/www/anonchan/mod/blog/activate.php on line 6
I hope this helps with future development! Can't wait for Elgg 3.0. I did get it to work once, but I have no idea what I did right.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- lionheart@lionheart
lionheart - 0 likes
You must log in to post replies.Nobody is having any issue installing via composer?