so I just started to learn using Magento 2 and I'm blocked from the start :/ I looked in many sites before for my problem I found solutions but none of them did solve my problem, I hope you have an idea guys!
so I got :
Installation is incomplete.
Check the console log for errors before trying again.
and it stops in this point :
Module 'Magento_Weee':
Installing data...
[ERROR] PDOException: SQLSTATE[42S21]: Column already exists: 1060 Nom du champ 'weee_tax_disposition' déjà utilisé in C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute(Array) #1 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Statement\Pdo\Mysql.php(93): Zend_Db_Statement_Pdo->_execute(Array) #2 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Statement.php(303): Magento\Framework\DB\Statement\Pdo\Mysql->_execute(Array) #3 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array) #4 C:\wamp64\www\magento2\vendor\magento\zendframework1\library\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('ALTER TABLE qu...', Array) #5 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(515): Zend_Db_Adapter_Pdo_Abstract->query('ALTER TABLEqu...', Array) #6 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(578): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('ALTER TABLE qu...', Array) #7 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(433): Magento\Framework\DB\Adapter\Pdo\Mysql->query('ALTER TABLEqu...') #8 C:\wamp64\www\magento2\lib\internal\Magento\Framework\DB\Adapter\Pdo\Mysql.php(952): Magento\Framework\DB\Adapter\Pdo\Mysql->rawQuery('ALTER TABLE `qu...') #9 C:\wamp64\www\magento2\app\code\Magento\Quote\Setup\QuoteSetup.php(126): Magento\Framework\DB\Adapter\Pdo\Mysql->addColumn('quote_item', 'weee_tax_dispos...', 'decimal(12,4) N...') #10 C:\wamp64\www\magento2\app\code\Magento\Quote\Setup\QuoteSetup.php(102): Magento\Quote\Setup\QuoteSetup->_addFlatAttribute('quote_item', 'weee_tax_dispos...', Array) #11 C:\wamp64\www\magento2\app\code\Magento\Weee\Setup\InstallData.php(60): Magento\Quote\Setup\QuoteSetup->addAttribute('quote_item', 'weee_tax_dispos...', Array) #12 C:\wamp64\www\magento2\setup\src\Magento\Setup\Model\Installer.php(867): Magento\Weee\Setup\InstallData->install(Object(Magento\Setup\Module\DataSetup), Object(Magento\Setup\Model\ModuleContext)) #13 C:\wamp64\www\magento2\setup\src\Magento\Setup\Model\Installer.php(791): Magento\Setup\Model\Installer->handleDBSchemaData(Object(Magento\Setup\Module\DataSetup), 'data') #14 [internal function]: Magento\Setup\Model\Installer->installDataFixtures() #15 C:\wamp64\www\magento2\setup\src\Magento\Setup\Model\Installer.php(342): call_user_func_array(Array, Array) #16 C:\wamp64\www\magento2\setup\src\Magento\Setup\Controller\Install.php(109): Magento\Setup\Model\Installer->install(Array) #17 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\Controller\AbstractActionController.php(82): Magento\Setup\Controller\Install->startAction() #18 [internal function]: Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent)) #19 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #20 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #21 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\Controller\AbstractController.php(118): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #22 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\DispatchListener.php(93): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response)) #23 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent)) #24 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(490): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #25 C:\wamp64\www\magento2\vendor\zendframework\zend-eventmanager\src\EventManager.php(214): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #26 C:\wamp64\www\magento2\vendor\zendframework\zend-mvc\src\Application.php(314): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure)) #27 C:\wamp64\www\magento2\setup\index.php(35): Zend\Mvc\Application->run() #28 {main}
it said that the column exists but I checked in my database , the column does not exist :/
I tried to change the max_input_time,max_execution_time and memory_limit in php.ini and I restarted wamp but still have the same error!!
Thanks in advance
I really appreciate your help!!
Okay guys finally :'( , I hope this will help many of you!
This is what I did after too many tries :
First I got Installation is incomplete each time at 73%
so
=>1) in php.ini change max_execution_time = 180000 --and --memory_limit = 2G
2) drop the database, create again and relaunch wamp
3) refresh and reinstall Magento2
Than I thought that finished but again I got a new problem :D
Installation is incomplete each time at 94%
=> 1) so you go in yourfolder\app\code\Magento\Tax\Setup\RecurringData.php
you put this line after line 69
if (empty($taxRateData->getData('percentage_rate'))) continue;
//After installation I've removed the line 70
2) refresh the page of installation and you're done :)
Good luck!
I tried for a week, always getting stuck on 72% tried everything, I then decided to install without sample data and it installed straight away.
Related
I create project by use https://github.com/day8/re-frame-template
Like: lein new re-frame my-project +10x +garden +test
And receive warnings:
------ WARNING #1 - :redef -----------------------------------------------------
Resource: day8/re_frame_10x/inlined_deps/garden/v1v3v10/garden/color.cljc:390:1
abs already refers to: cljs.core/abs being replaced by: day8.re-frame-10x.inlined-deps.garden.v1v3v10.garden.color/abs
--------------------------------------------------------------------------------
------ WARNING #2 - :redef -----------------------------------------------------
Resource: zprint/range.cljc:81:1
abs already refers to: cljs.core/abs being replaced by: zprint.range/abs
--------------------------------------------------------------------------------
------ WARNING #3 - :undeclared-var --------------------------------------------
Resource: cljs/analyzer.cljc:4403:12
Use of undeclared Var cljs.analyzer/Throwable
--------------------------------------------------------------------------------
------ WARNING #4 - :undeclared-var --------------------------------------------
Resource: cljs/analyzer.cljc:4402:7
Use of undeclared Var cljs.analyzer/ns-resolve
--------------------------------------------------------------------------------
How to fix it?
For the 1st warning, try updating re-frame-10x to the latest version (1.5.0 at the time of writing).
The 2nd warning - same for zprint (1.2.4 now).
The 3rd and the 4th warnings - same for ClojureScript itself (if you're using shadow-cljs, update shadow-cljs instead).
My site is working on local but when I merge live on it shows the error (1/1) ErrorException array_merge(): Argument #2 is not an array in ProviderRepository.php line 95
I have tried the solution from google StackOverflow, GitHub but most of them solved the problem by deleting the file services.json
but in my bootstrap/cache it doesn't create
any alternate solution???
When I run Codeception, e.g.:
codecept run
I receive the following error message:
[yii\base\UnknownPropertyException]
Setting unknown property: yii\web\Application::class
If I open the test version of the application main page
https://localhost/yii/frontend/web/index-test.php/
then I receive this message:
Exception (Unknown Property) 'yii\base\UnknownPropertyException' with
message 'Setting unknown property: yii\web\Application::class'
in C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Component.php:197
Stack trace:
0 C:\xampp\htdocs\yii\vendor\yiisoft\yii2\BaseYii.php(521): yii\base\Component->__set('class', 'yii\db\Connecti...')
1 C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Object.php(105): yii\BaseYii::configure(Object(yii\web\Application), Array)
2 C:\xampp\htdocs\yii\vendor\yiisoft\yii2\base\Application.php(206): yii\base\Object->__construct(Array)
3 C:\xampp\htdocs\yii\ap1_epas\web\index-test.php(18): yii\base\Application->__construct(Array)
4 {main}
In the file index-test.php is on the line 18 the following code:
(new yii\web\Application($config))->run();
I use Selenium. Two weeks ago had the tests worked. I have made no changes in Codeception or configuration since then.
On my developement server /pages/help renders just fine. But on the production it renders a not found page.
All the files are the same, and everything else works.
Update: The only difference is on production debug is false and on developement debug is true. I can reproducate the problem by changing debug value.
Here is the stack trace
2015-07-08 10:36:44 Error: [Cake\Network\Exception\NotFoundException] Not Found
Request URL: /pages/help
Stack Trace:
#0 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/View/View.php(833): include()
#1 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/View/View.php(793): Cake\View\View->_evaluate('/home/reseller1...', Array)
#2 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/View/View.php(464): Cake\View\View->_render('/home/reseller1...')
#3 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Controller/Controller.php(582): Cake\View\View->render('help', NULL)
#4 /home/reseller10/domains/1108.cc/private_html/sanga/src/Controller/PagesController.php(63): Cake\Controller\Controller->render('help')
#5 [internal function]: App\Controller\PagesController->display('help')
#6 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Controller/Controller.php(411): call_user_func_array(Array, Array)
#7 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(114): Cake\Controller\Controller->invokeAction()
#8 /home/reseller10/domains/1108.cc/private_html/sanga/vendor/cakephp/cakephp/src/Routing/Dispatcher.php(87): Cake\Routing\Dispatcher->_invoke(Object(App\Controller\PagesController))
#9 /home/reseller10/domains/1108.cc/private_html/sanga/webroot/index.php(37): Cake\Routing\Dispatcher->dispatch(Object(Cake\Network\Request), Object(Cake\Network\Response))
#10 {main}
Spend 1 hour searching the error. First thought its a permissions problem on logs. But it's much easier.
Remove
if (!Configure::read('debug')):
throw new NotFoundException();
endif;
From Template/Layout/default.ctp
I recently added the UserMerge extension to my mediawiki installation. Followed the instructions found here.
I enabled $wgShowExceptionDetails = true; and it gave me this:
[f9bbe088] /wiki/index.php/Special:UserMerge Exception from line 376 of /wiki/includes/SpecialPage.php: Call to undefined method UserMerge::getPageTitle
Backtrace:
#0 /wiki/extensions/UserMerge/UserMerge_body.php(128): SpecialPage->__call(string, array)
#1 /wiki/extensions/UserMerge/UserMerge_body.php(128): UserMerge->getPageTitle()
#2 /wiki/includes/SpecialPage.php(631): UserMerge->execute(NULL)
#3 /wiki/includes/SpecialPageFactory.php(488): SpecialPage->run(NULL)
#4 /wiki/includes/Wiki.php(298): SpecialPageFactory::executePath(Title, RequestContext)
#5 /wiki/includes/Wiki.php(602): MediaWiki->performRequest()
#6 /wiki/includes/Wiki.php(467): MediaWiki->main()
#7 /wiki/index.php(49): MediaWiki->run()
#8 {main}
Any ideas on a fix?
You've downloaded too new of a version of the extension. It looks like you may have grabbed the newest version of the code from the git master rather than downloading the appropriate snapshot version of the extension.
The version of the extension you have makes a call to $this->getPageTitle() in UserMerge_body.php. The getPageTitle function does not even exist (in SpecialPage.php) until Mediawiki version 1.23 (which is not yet released).