-
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
Installation bug #823
Comments
Can you show console command which you try to install? |
What you set in field 'Magento Admin Address'? |
@askwhyweb , did you go through each installation step straight or sometimes went back? Or maybe refreshed some pages? |
I had followed all of the steps and all of them step by step. 1 more issue is with password validation, but will compose detail later. For now this is a little critical issue which means we can not test :) |
@Sanuch the address was http://localhost/magento2/admin while admin was in an input box. |
Have you try with address 127.0.0.1 and disable mod_rewrite ? |
@vigentocommerce with the said changes i.e. using address 127.0.0.1 and without mod_rewrite it works like a charm and successfully installed without any issue. I believe a checkbox like skip base url validation (likewise happening in Magento 1.xx) might be helpful. Thanks |
I also had same issues. The case with me was on this step I refreshed the page and right after that it started to report the error. So I did a clean install again and this time I changed |
I had same problem. |
@matrixbegins I had the same error when I tried to test instalation (after successfull install) because I had an file permission error when installer tried to delete installation.log. When I moved back to admin I notified that my admin details disappeared (after page refresh). When I typed them in error disappeared so one of possible solutions may be to reset all steps on page refresh and let the users get through each step again to make sure that everything is filled in. Or add additional validation when someone click Install Now. |
@snky1987 I agree. |
I also had the same error. But when I checked DB, data was there. 127.0.0.1 and without mod_rewrite helped up to 95% where existing user error occurred. Changing admin username and email fixed this issue. But after that new error occurred, again with user, this time from sample data. Installing without sample data finally was a success. Also sample data was installed in first try. In final try I didn't change localhost to 127.0.0.1 and still there was no error, so only mod_rewrite was necessary. |
…823 - Solved the stated problem.
…823 - Changes based on CR feedback.
…823 - Fixed the error based on CR feedback.
…823 - Change based on CR feedback.
* Various improvements: * Updated Copyright Notice and provided reference to the license file * Updated test framework to support stores other than default * Removed version information from theme.xml files leaving it only in composer.json files * Fixed bugs: * Fixed an issue where coupon code was reported to be invalid if it has been removed from reorder in backend and then re-applied * Fixed an issue where the 'Guide to Using Sample Data' link was incorrect in the web setup UI * Fixed an issue where the link to System Requirements in bootstrap.php was incorrect * Fixed an issue where Compiler could not verify case sensitive dependency * Fixed an issue where the Recently Compared Products and Recently Viewed Products widgets were not displayed in sidebars * Fixed an issue where the Orders and Returns widget type contained unnecessary tab * Fixed an issue where an image added to a CMS page using the WYSIWYG editor was displayed as a broken link after turning off the allow_url_fopen parameter in php.ini * Fixed an issue where it was impossible to log in to the backend from the first attempt after changing Base URL * Fixed an issue where it was impossible to set back the default English (United States) interface locale for the admin user after changing it so an other value * Fixed an issue where it was possible to execute malicious JavaScript code in the context of website via the Sender Email parameter * Fixed an issue where the Product Stock Alert email was sent to a customer from a store view different than a customer account was created in * Fixed an issue where the "Server cannot understand Accept HTTP header media type" error message was not informative enough * Fixed an issue where unit tests did not work as expected after installing Magento 2 * Fixed an issue where the password change email notification was sent after saving admin account settings even if password was not changed * Fixed an issue where static tests failed as a result of adding API functional tests * Fixed API functional tests after merging pull request [#927](magento/magento2#927) * Fixed an issue where the Edit button was present for invoiced orders * Fixed an issue where function _underscore did not work with keys like SKeyName ('s_key_name') * Fixed an issue where a fatal error occurred when browsing categories if web server did not have write permissions for media/catalog/product * Github requests: * [#792](magento/magento2#792) -- Failed to set ini option "session.save_path" to value * [#796](magento/magento2#796) -- install.log cannot be created with open_basedir restriction * [#823](magento/magento2#823) -- Installation bug * [#920](magento/magento2#920) -- "web setup wizard is not accessible" error message but the setup wizard is actually accessible * [#829](magento/magento2#829) -- [API] OAuth1.0 request token request failing / Consumer key has expired * [#658](magento/magento2#658) -- Inline translate malfunctioning * [#950](magento/magento2#950) -- Fix for the missed trailing end of line in indexer.php usage help text * [#932](magento/magento2#932) -- Migration tool - not all input has comments * [#959](magento/magento2#959) -- Replace UTF8 'en dash' with minus in error message * [#911](magento/magento2#911) -- Fix test assertion and slight cleanup refactoring * [#936](magento/magento2#936) -- Bugfix for regions with single quote in name * [#902](magento/magento2#902) -- Add integration test for View\Page\Config\Reader\Html * [#925](magento/magento2#925) -- Failed test due to Class not following the naming conventions * [#943](magento/magento2#943) -- magento2-925 Failed Test due to Class not following the naming conventions * [#968](magento/magento2#968) -- Apply pattern matching datasource config files * [#949](magento/magento2#949) -- Added 'status' command for cache cli script / Also improved readability * PHP 5.6 in composer.json: * Added PHP 5.6.0 to the list of required PHP versions in all composer.json files * Updated Travis CI configuration to include PHP 5.6 builds * Framework improvements: * Removed TODOs in the Integration and Authorization modules * Removed leading backslash from the 'use' statement throughout the code base
* Various improvements: * Updated Copyright Notice and provided reference to the license file * Updated test framework to support stores other than default * Removed version information from theme.xml files leaving it only in composer.json files * Fixed bugs: * Fixed an issue where coupon code was reported to be invalid if it has been removed from reorder in backend and then re-applied * Fixed an issue where the 'Guide to Using Sample Data' link was incorrect in the web setup UI * Fixed an issue where the link to System Requirements in bootstrap.php was incorrect * Fixed an issue where Compiler could not verify case sensitive dependency * Fixed an issue where the Recently Compared Products and Recently Viewed Products widgets were not displayed in sidebars * Fixed an issue where the Orders and Returns widget type contained unnecessary tab * Fixed an issue where an image added to a CMS page using the WYSIWYG editor was displayed as a broken link after turning off the allow_url_fopen parameter in php.ini * Fixed an issue where it was impossible to log in to the backend from the first attempt after changing Base URL * Fixed an issue where it was impossible to set back the default English (United States) interface locale for the admin user after changing it so an other value * Fixed an issue where it was possible to execute malicious JavaScript code in the context of website via the Sender Email parameter * Fixed an issue where the Product Stock Alert email was sent to a customer from a store view different than a customer account was created in * Fixed an issue where the "Server cannot understand Accept HTTP header media type" error message was not informative enough * Fixed an issue where unit tests did not work as expected after installing Magento 2 * Fixed an issue where the password change email notification was sent after saving admin account settings even if password was not changed * Fixed an issue where static tests failed as a result of adding API functional tests * Fixed API functional tests after merging pull request [#927](magento/magento2#927) * Fixed an issue where the Edit button was present for invoiced orders * Fixed an issue where function _underscore did not work with keys like SKeyName ('s_key_name') * Fixed an issue where a fatal error occurred when browsing categories if web server did not have write permissions for media/catalog/product * Github requests: * [#792](magento/magento2#792) -- Failed to set ini option "session.save_path" to value * [#796](magento/magento2#796) -- install.log cannot be created with open_basedir restriction * [#823](magento/magento2#823) -- Installation bug * [#920](magento/magento2#920) -- "web setup wizard is not accessible" error message but the setup wizard is actually accessible * [#829](magento/magento2#829) -- [API] OAuth1.0 request token request failing / Consumer key has expired * [#658](magento/magento2#658) -- Inline translate malfunctioning * [#950](magento/magento2#950) -- Fix for the missed trailing end of line in indexer.php usage help text * [#932](magento/magento2#932) -- Migration tool - not all input has comments * [#959](magento/magento2#959) -- Replace UTF8 'en dash' with minus in error message * [#911](magento/magento2#911) -- Fix test assertion and slight cleanup refactoring * [#936](magento/magento2#936) -- Bugfix for regions with single quote in name * [#902](magento/magento2#902) -- Add integration test for View\Page\Config\Reader\Html * [#925](magento/magento2#925) -- Failed test due to Class not following the naming conventions * [#943](magento/magento2#943) -- magento2-925 Failed Test due to Class not following the naming conventions * [#968](magento/magento2#968) -- Apply pattern matching datasource config files * [#949](magento/magento2#949) -- Added 'status' command for cache cli script / Also improved readability * PHP 5.6 in composer.json: * Added PHP 5.6.0 to the list of required PHP versions in all composer.json files * Updated Travis CI configuration to include PHP 5.6 builds * Framework improvements: * Removed TODOs in the Integration and Authorization modules * Removed leading backslash from the 'use' statement throughout the code base
Closing based on the above comment. |
i have install magento 2 to find below error ..plz give me solution zendframework/zend-validator suggests installing zendframework/zend-db (Zend\Db component) |
@rahul-avion, I don't see any errors in the trace you've posted, it looks perfectly normal |
Hi @askwhyweb. Thank you for your report. The fix will be available with the upcoming 2.3.4 release. |
Found Bug during installation (possibly Zend Framework bug). Console log from installation setup is as below.
Starting Magento installation:
File permissions check...
Enabling Maintenance Mode...
Installing deployment configuration...
[ERROR] exception 'InvalidArgumentException' with message 'Invalid backend frontname ' in F:\xampp\htdocs\magento2\lib\internal\Magento\Framework\App\DeploymentConfig\BackendConfig.php:32
Stack trace:
#0 F:\xampp\htdocs\magento2\setup\module\Magento\Setup\src\Model\Installer.php(343): Magento\Framework\App\DeploymentConfig\BackendConfig->__construct(Array)
#1 F:\xampp\htdocs\magento2\setup\module\Magento\Setup\src\Model\Installer.php(532): Magento\Setup\Model\Installer->createBackendConfig(Array)
#2 [internal function]: Magento\Setup\Model\Installer->installDeploymentConfig(Array)
#3 F:\xampp\htdocs\magento2\setup\module\Magento\Setup\src\Model\Installer.php(296): call_user_func_array(Array, Array)
#4 F:\xampp\htdocs\magento2\setup\module\Magento\Setup\src\Controller\Install.php(79): Magento\Setup\Model\Installer->install(Array)
#5 F:\xampp\htdocs\magento2\vendor\zendframework\zend-mvc\Zend\Mvc\Controller\AbstractActionController.php(83): Magento\Setup\Controller\Install->startAction()
#6 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#7 F:\xampp\htdocs\magento2\vendor\zendframework\zend-eventmanager\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#8 F:\xampp\htdocs\magento2\vendor\zendframework\zend-eventmanager\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#9 F:\xampp\htdocs\magento2\vendor\zendframework\zend-mvc\Zend\Mvc\Controller\AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#10 F:\xampp\htdocs\magento2\vendor\zendframework\zend-mvc\Zend\Mvc\DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#11 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#12 F:\xampp\htdocs\magento2\vendor\zendframework\zend-eventmanager\Zend\EventManager\EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#13 F:\xampp\htdocs\magento2\vendor\zendframework\zend-eventmanager\Zend\EventManager\EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#14 F:\xampp\htdocs\magento2\vendor\zendframework\zend-mvc\Zend\Mvc\Application.php(313): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#15 F:\xampp\htdocs\magento2\setup\index.php(24): Zend\Mvc\Application->run()
#16 {main}
Composer log is as below (probably requires for full troubleshoot).
F:\xampp\htdocs\magento2>php composer.phar install
Loading composer repositories with package information
Installing dependencies (including require-dev)
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
Downloading: 100%
zendframework/zend-validator suggests installing zendframework/zend-db (Zend\Db
component)
zendframework/zend-validator suggests installing zendframework/zend-i18n (Zend\I
18n component to allow translation of validation error messages as well as to us
e the various Date validators)
zendframework/zend-validator suggests installing zendframework/zend-resources (T
ranslations of validator messages)
zendframework/zend-validator suggests installing zendframework/zend-session (Zen
d\Session component)
zendframework/zend-code suggests installing doctrine/common (Doctrine\Common >=2
.1 for annotation features)
zendframework/zend-mvc suggests installing zendframework/zend-authentication (Ze
nd\Authentication component for Identity plugin)
zendframework/zend-mvc suggests installing zendframework/zend-i18n (Zend\I18n co
mponent for translatable segments)
zendframework/zend-mvc suggests installing zendframework/zend-session (Zend\Sess
ion component for FlashMessenger, PRG, and FPRG plugins)
zendframework/zend-mvc suggests installing zendframework/zend-version (Zend\Vers
ion component)
zendframework/zend-view suggests installing zendframework/zend-authentication (Z
end\Authentication component)
zendframework/zend-view suggests installing zendframework/zend-feed (Zend\Feed c
omponent)
zendframework/zend-view suggests installing zendframework/zend-i18n (Zend\I18n c
omponent)
zendframework/zend-view suggests installing zendframework/zend-navigation (Zend
Navigation component)
zendframework/zend-view suggests installing zendframework/zend-paginator (Zend\P
aginator component)
zendframework/zend-view suggests installing zendframework/zend-permissions-acl (
Zend\Permissions\Acl component)
zendframework/zend-config suggests installing zendframework/zend-i18n (Zend\I18n
component)
zendframework/zend-filter suggests installing zendframework/zend-crypt (Zend\Cry
pt component)
zendframework/zend-filter suggests installing zendframework/zend-i18n (Zend\I18n
component)
zendframework/zend-form suggests installing zendframework/zend-captcha (Zend\Cap
tcha component)
zendframework/zend-form suggests installing zendframework/zend-i18n (Zend\I18n c
omponent)
zendframework/zend-form suggests installing zendframework/zendservice-recaptcha
(ZendService\ReCaptcha component)
zendframework/zend-math suggests installing ext-gmp (If using the gmp functional
ity)
zendframework/zend-math suggests installing ircmaxell/random-lib (Fallback rando
m byte generator for Zend\Math\Rand if OpenSSL/Mcrypt extensions are unavailable
)
zendframework/zend-log suggests installing ext-mongo (*)
zendframework/zend-log suggests installing zendframework/zend-db (Zend\Db compon
ent)
zendframework/zend-log suggests installing zendframework/zend-mail (Zend\Mail co
mponent)
symfony/console suggests installing psr/log (For using the console logger)
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (G
enerate service proxies to lazy load them)
sjparkinson/static-review suggests installing sensiolabs/security-checker (Requi
red for ComposerSecurityReview.)
symfony/event-dispatcher suggests installing symfony/http-kernel ()
Writing lock file
Generating autoload files
The text was updated successfully, but these errors were encountered: