Hi;
I got this error message at Step 6 (%68)
Module 'Magento_Customer': Installing data.. [ERROR] exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'StringLength'' in /home/*domain*/public_html/vendor/magento/zendframework1/library/Zend/Validate.php:244 Stack trace: #0 /home/*domain*/public_html/vendor/magento/module-eav/Setup/EavSetup.php(736): Zend_Validate::is('website_id', 'StringLength', Array) #1 /home/*domain*/public_html/vendor/magento/module-eav/Setup/EavSetup.php(765): Magento\Eav\Setup\EavSetup->_validateAttributeData(Array) #2 /home/*domain*/public_html/vendor/magento/module-eav/Setup/EavSetup.php(1363): Magento\Eav\Setup\EavSetup->addAttribute('customer', 'website_id', Array) #3 /home/*domain*/public_html/vendor/magento/module-customer/Setup/InstallData.php(65): Magento\Eav\Setup\EavSetup->installEntities() #4 /home/*domain*/public_html/setup/src/Magento/Setup/Model/Installer.php(798): Magento\Customer\Setup\InstallData->install(Object(Magento\Setup\Module\DataSetup), Object(Magento\Setup\Model\ModuleContext)) #5 /home/*domain*/public_html/setup/src/Magento/Setup/Model/Installer.php(746): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\DataSetup), 'data') #6 [internal function]: Magento\Setup\Model\Installer->installDataFixtures() #7 /home/*domain*/public_html/setup/src/Magento/Setup/Model/Installer.php(331): call_user_func_array(Array, Array) #8 /home/*domain*/public_html/setup/src/Magento/Setup/Controller/Install.php(97): Magento\Setup\Model\Installer->install(Array) #9 /home/*domain*/public_html/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction() #10 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #11 /home/*domain*/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #12 /home/*domain*/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #13 /home/*domain*/public_html/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #14 /home/*domain*/public_html/vendor/zendframework/zend-mvc/src/DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #15 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #16 /home/*domain*/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #17 /home/*domain*/public_html/vendor/zendframework/zend-eventmanager/src/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #18 /home/*domain*/public_html/vendor/zendframework/zend-mvc/src/Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #19 /home/*domain*/public_html/setup/index.php(31): Zend\Mvc\Application->run() #20 {main}
what should i do ? I have root Access. Thank you
Hi @organik81
Try to debug the file and check what code is there on line number 244.
Refer this link it may help you http://magento.stackexchange.com/a/940/3895
Dear Friends,
Yes, i am also try to install the magento2 with CentOS 6.X.
i got also the same problem. i was struck in the magento 68% installation
exception 'Zend_Validate_Exception' with message 'Validate class not found from basename 'StringLength'
I research about that more. but it seems like zend namespace not detect that validation class file.
Please someone try and share your experience.
Thanks,
$length = iconv_strlen($value);
In which file is this line ?
I stuck here too, I tried re-install it, still stuck at 68%