-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
I can not install magento2 #2080
Comments
You can try removing You can also try cloning again into an empty directory and trying the install again. |
@cfcnn can you please try @xcomSteveJohnson's suggestion and let us know if that helped? |
Hi, @mazhalai @xcomSteveJohnson's suggestion is not working. I think I might find the solution, I need more time to test, I'll update later. |
All tests were based on VMware 11, Centos 6.7 , nginx 1.8.0 & 1.9.0, php 5.5.25, 5.5.30,5.6.9, 5.6.14, mysql 5.6, mariadb 10.0.17, 10.0.21. No matter under what combination, it occurs the same error. All Magento2 installations failed even I kept changing the values of Centos, nginx, php.ini, my.cnf . Magento 2 was installed successfully in production environment. I have no idea what the problem exactly is. Maybe it's just a special case for me. |
@cfcnn, this problem does not seem to be env-specific. Do you try clean Magento 2 installation or there are some additional modules? With latest |
Hmmm, very interesting, there is quite old similar issue also: #462 So, it could be something related to PHP Reflection behavior differences. |
In order to keep all procedures pure, I reinstalled Centos, nginx, php, mysql,magento2. The production environment : centos 6.4, nginx 1.8.0, php 5.6.14, mariadb 10.0.21. |
I see. Don't know what else could be done here except debugging the code in action. https://github.com/zendframework/zend-code/blob/3da502f243df7a189b9c1cfc70a96944ef111957/src/Generator/ClassGenerator.php#L751 |
Hi @cfcnn . |
Thanks. Could you, please, try to disable opcache and see if it helps? |
I disabled opcache before you told, it didn't help. Loading composer repositories with package information Problem 1 |
@cfcnn some package's composer's were not updated. We are working on it. Can you tell us which exact package gave this error? |
@mazhalai My test environment: centos 6.7, nginx 1.8.0, php 7.0.0RC5, mariadb 10.0.21, Module 'Magento_Indexer': [Magento\Framework\Exception\LocalizedException] but in php 7.0.0RC5, can't login into backend admin.error as following: Test in Win7 wamp(Apache 2.4.10,php5.5.30,mariadb10.0.14), can't login into backend admin, error as following: a:4:{i:0;s:53:"Class Magento\User\Model\Resource\User does not exist";i:1;s:6216:"#0 D:\www\magento2\lib\internal\Magento\Framework\Code\Reader\ClassReader.php(19): ReflectionClass->__construct('Magento\User\Mo...') |
@cfcnn are you on the |
@cfcnn do you get still the error in the |
@daim2k5 Can install Magento2.0 rc develop branch in PHP7, but can not login backend. a:4:{i:0;s:36:"Error at offset 10516 of 51608 bytes";i:1;s:7724:"#0 /home/wwwroot/www.domain.com/app/code/Magento/Backend/Model/Menu/Config.php(137): ArrayObject->unserialize('x:i:0;a:10:{i:1...') Another error : php -f bin/magento setup:static-content:deployRequested languages: en_US |
@cfcnn Try updating you PHP7 to the newest version. |
Regarding the static content display error, please check #2273 |
My universal fix for all the «variable @modal-slide-header__padding-vertical is undefined» problems: https://mage2.pro/t/193 |
@cfcnn do you have still the issue? |
[Pangolin] Deliver Test Fixes - MQE-741: Two steps with same step key, the later step will overwrite the previous step - MQE-799: Bump MFTF version to 2.0.3 and test fixes
My environment: centos 6.7, php 5.5.30, nginx 1.8.0, mariadb 10.0.17,
I cloned the Magento GitHub repository git clone -b master git@github.com:magento/magento2.git
There's no error comes out when run " composer install ", everything's normal.
Please see the process:
http://i.imgur.com/ZersO22.gif
When run " magento setup:install ", error occurs, please see the process:
http://i.imgur.com/ktcO8si.gif
When I install it at www.domain.com/setup/, error occurs, please see the process:
http://i.imgur.com/9rVUuPW.gif
When run " magento setup:uninstall ", error occurs
Autoload error: A method by name getIterator already exists in this class.
The same problem: #1947
Please help me. Thanks.
Regards
The text was updated successfully, but these errors were encountered: