magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Installation is incomplete. Check the console log for errors before trying again. (Windows 7 WAMP)

Open BFG9000 opened this issue 11 years ago • 84 comments

Trying a brand new install - gets to 93% & then get the error in the title - console log is below.

Starting Magento installation:
File permissions check...

Enabling Maintenance Mode...

Installing deployment configuration...

Installing database schema:
Schema creation/updates:
Module 'Magento_Core':

Module 'Magento_Store':

Module 'Magento_Directory':

Module 'Magento_Backup':

Module 'Magento_Theme':

Module 'Magento_Eav':

Module 'Magento_Customer':

Module 'Magento_CatalogImportExport':

Module 'Magento_Indexer':

Module 'Magento_Cms':

Module 'Magento_Backend':

Module 'Magento_Catalog':

Module 'Magento_Rule':

Module 'Magento_CatalogInventory':

Module 'Magento_Payment':

Module 'Magento_CheckoutAgreements':

Module 'Magento_Sales':

Module 'Magento_CmsUrlRewrite':

Module 'Magento_ConfigurableImportExport':

Module 'Magento_Msrp':

Module 'Magento_Contact':

Module 'Magento_AdminNotification':

Module 'Magento_Cron':

Module 'Magento_Widget':

Module 'Magento_Bundle':

Module 'Magento_CustomerImportExport':

Module 'Magento_DesignEditor':

Module 'Magento_Dhl':

Module 'Magento_Authorization':

Module 'Magento_Downloadable':

Module 'Magento_Checkout':

Module 'Magento_Email':

Module 'Magento_Fedex':

Module 'Magento_GiftMessage':

Module 'Magento_GoogleAdwords':

Module 'Magento_GoogleAnalytics':

Module 'Magento_GoogleOptimizer':

Module 'Magento_GoogleShopping':

Module 'Magento_GroupedImportExport':

Module 'Magento_GroupedProduct':

Module 'Magento_ImportExport':

Module 'Magento_CatalogRule':

Module 'Magento_User':

Module 'Magento_LayeredNavigation':

Module 'Magento_Log':

Module 'Magento_ConfigurableProduct':

Module 'Magento_Multishipping':

Module 'Magento_Newsletter':

Module 'Magento_OfflinePayments':

Module 'Magento_SalesRule':

Module 'Magento_PageCache':

Module 'Magento_Centinel':

Module 'Magento_Persistent':

Module 'Magento_ProductAlert':

Module 'Magento_Reports':

Module 'Magento_RequireJs':

Module 'Magento_Review':

Module 'Magento_Rss':

Module 'Magento_CatalogWidget':

Module 'Magento_Captcha':

Module 'Magento_OfflineShipping':

Module 'Magento_Search':

Module 'Magento_Sendfriend':

Module 'Magento_Shipping':

Module 'Magento_Sitemap':

Module 'Magento_CatalogSearch':

Module 'Magento_Tax':

Module 'Magento_TaxImportExport':

Module 'Magento_CatalogUrlRewrite':

Module 'Magento_Translation':

Module 'Magento_Ui':

Module 'Magento_Ups':

Module 'Magento_UrlRewrite':

Module 'Magento_Integration':

Module 'Magento_Usps':

Module 'Magento_Webapi':

Module 'Magento_Weee':

Module 'Magento_CurrencySymbol':

Module 'Magento_Wishlist':

Schema post-updates:
Module 'Magento_Core':
Module 'Magento_Store':
Module 'Magento_Directory':
Module 'Magento_Backup':
Module 'Magento_Theme':
Module 'Magento_Eav':
Module 'Magento_Customer':
Module 'Magento_CatalogImportExport':
Module 'Magento_Indexer':
Module 'Magento_Cms':
Module 'Magento_Backend':
Module 'Magento_Catalog':
Module 'Magento_Rule':
Module 'Magento_CatalogInventory':
Module 'Magento_Payment':
Module 'Magento_CheckoutAgreements':
Module 'Magento_Sales':
Module 'Magento_CmsUrlRewrite':
Module 'Magento_ConfigurableImportExport':
Module 'Magento_Msrp':
Module 'Magento_Contact':
Module 'Magento_AdminNotification':
Module 'Magento_Cron':
Module 'Magento_Widget':
Module 'Magento_Bundle':
Module 'Magento_CustomerImportExport':
Module 'Magento_DesignEditor':
Module 'Magento_Dhl':
Module 'Magento_Authorization':
Module 'Magento_Downloadable':
Module 'Magento_Checkout':
Module 'Magento_Email':
Module 'Magento_Fedex':
Module 'Magento_GiftMessage':
Module 'Magento_GoogleAdwords':
Module 'Magento_GoogleAnalytics':
Module 'Magento_GoogleOptimizer':
Module 'Magento_GoogleShopping':
Module 'Magento_GroupedImportExport':
Module 'Magento_GroupedProduct':
Module 'Magento_ImportExport':
Module 'Magento_CatalogRule':
Module 'Magento_User':
Module 'Magento_LayeredNavigation':
Module 'Magento_Log':
Module 'Magento_ConfigurableProduct':
Module 'Magento_Multishipping':
Module 'Magento_Newsletter':
Module 'Magento_OfflinePayments':
Module 'Magento_SalesRule':
Module 'Magento_PageCache':
Module 'Magento_Centinel':
Module 'Magento_Persistent':
Module 'Magento_ProductAlert':
Module 'Magento_Reports':
Module 'Magento_RequireJs':
Module 'Magento_Review':
Module 'Magento_Rss':
Module 'Magento_CatalogWidget':
Module 'Magento_Captcha':
Module 'Magento_OfflineShipping':
Module 'Magento_Search':
Module 'Magento_Sendfriend':
Module 'Magento_Shipping':
Module 'Magento_Sitemap':
Module 'Magento_CatalogSearch':
Module 'Magento_Tax':
Module 'Magento_TaxImportExport':
Module 'Magento_CatalogUrlRewrite':
Module 'Magento_Translation':
Module 'Magento_Ui':
Module 'Magento_Ups':
Module 'Magento_UrlRewrite':
Module 'Magento_Integration':
Module 'Magento_Usps':
Module 'Magento_Webapi':
Module 'Magento_Weee':
Module 'Magento_CurrencySymbol':
Module 'Magento_Wishlist':

Installing user configuration...

BFG9000 avatar Dec 17 '14 23:12 BFG9000

@BFG9000 , if you try it 2nd time, does it work fine or do you get same issue?

buskamuza avatar Dec 18 '14 00:12 buskamuza

I've tried a few times now - same each time.

BFG9000 avatar Dec 18 '14 00:12 BFG9000

@BFG9000 , could you, please, try CLI version just to see if it will show more detailed error? See example of the command below (just substitute necessary values).

php setup/index.php install --db_host=localhost --db_name=magento --db_user=root --db_pass=pass --base_url=http://your.website.com/ --backend_frontname=admin --admin_firstname=Admin --admin_lastname=admin [email protected] --admin_username=admin --admin_password=iamtheadmin

buskamuza avatar Dec 18 '14 01:12 buskamuza

Ahh - you were right - I did get more detail :-

Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\mage2\vendor\composer\ClassLoader.php on line 318

BFG9000 avatar Dec 18 '14 01:12 BFG9000

Thanks!

  1. I'd suggest to disable xDebug unless you really want to debug something. xdebug makes application very slow
  2. increase xdebug.max_nesting_level at least to 200 (value from my config, so it should work fine) in your php.ini

buskamuza avatar Dec 18 '14 01:12 buskamuza

Interestingly, I tried changing to 200 in my php.ini (& checked it with phpinfo), but still got exactly the same error - referring to 100...

I ended up adding :-

ini_set('xdebug.max_nesting_level', 200);

To the beginning of setup/index.php

Thanks for your help!

BFG9000 avatar Dec 18 '14 01:12 BFG9000

Did you check phpinfo in command line? It may be that your Web and CLI php use different php.ini.

buskamuza avatar Dec 18 '14 02:12 buskamuza

I remember hitting this error too, on my first install (disabled xdebug then, of course). xdebug just seems enabled by default. Potentially magento could disable it, unless run in developer mode? Or maybe that would just make things more confusing yet.

nyov avatar Dec 18 '14 04:12 nyov

@nyov , I'd agree that it would be more confusing and less transparent. Looks bad for me that xDebug is enabled by default... it's not needed for non-developer. Is it in WAMP?

buskamuza avatar Dec 18 '14 06:12 buskamuza

For me, it's on a debian machine, having installed the php5-xdebug apt package (where debian usually takes the stance "when it's installed, it's gonna be used, so let's enable it")

Selecting previously unselected package php5-xdebug.
Preparing to unpack .../php5-xdebug_2.2.5-1_amd64.deb ...
Unpacking php5-xdebug (2.2.5-1) ...
Setting up php5-xdebug (2.2.5-1) ...
php5_invoke: Enable module xdebug for fpm SAPI
php5_invoke xdebug: no action - module was disabled by maintainer for cli SAPI

Which is perfectly fine, I know about it, I disable it (and shouldn't have it on a production system later in the first place), if I forgot about it - my fault.

nyov avatar Dec 18 '14 08:12 nyov

@nyov , then it makes sense! :) Still I would not make Magento force disabling of xDebug.

buskamuza avatar Dec 18 '14 19:12 buskamuza

@BFG9000 , thanks for reporting this issue. We're currently working on improving error handling in Web Wizard and this is one of good use cases for us to check.

May we assume that your issue is solved and can we close the ticket?

buskamuza avatar Dec 18 '14 19:12 buskamuza

You can indeed - & thank you again for your help.

BFG9000 avatar Dec 18 '14 20:12 BFG9000

@BFG9000 thank you

tanya-soroka avatar Dec 18 '14 23:12 tanya-soroka

Read out all the issues and now working normally. Thanks Mage team

sandipchandela avatar Dec 24 '14 12:12 sandipchandela

I have got same issue and i am using WAMP.

amanuni avatar Feb 15 '15 19:02 amanuni

i am having the same issue. please someone help me.

sachinsachin avatar Mar 05 '15 15:03 sachinsachin

@amanuni , do you still have this issue? @sachinsachin , could you, please, provide more information?

  1. Could you, please, provide screenshots with result?
  2. what version of Magento are you trying to install?
  3. does CLI installation work fine or display some error?
  4. do you have xDebug enabled?

buskamuza avatar Mar 05 '15 17:03 buskamuza

Hi,

My problem is resolved when i added the ini_set('xdebug.max_nesting_level', 200); in /setup/index.php

and all is run well.

Thanks,

amanuni avatar Mar 05 '15 19:03 amanuni

@amanuni , thanks :) happy to hear it.

buskamuza avatar Mar 05 '15 19:03 buskamuza