This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Magento 1 : n98-magerun.phar sys:cron:run |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use this local.xml file : | |
<?xml version="1.0"?> | |
<!-- | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Modify this file : vendor/magento/framework/Encryption/Adapter/SodiumChachaIetf.php | |
$plainText = sodium_crypto_aead_chacha20poly1305_ietf_decrypt( | |
$payload, | |
$nonce, | |
$nonce, | |
$this->key | |
); | |
if ($plainText == false) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new Ajax.Request("<?php echo $this->getUrl('paypal/express/placeOrder') ?>",{ | |
method: 'POST', | |
async: false, | |
parameters: "telephone="+document.getElementById('billing:telephone').value, | |
onSuccess: function (response) { | |
} | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ($('product_addtocart_form')) { | |
var data = $('product_addtocart_form').serialize(); | |
data += '&isAjax=1'; | |
var urlAddToCart = $('product_addtocart_form').action; | |
new Ajax.Request(urlAddToCart,{ | |
method: 'POST', | |
async: false, | |
parameters: data, | |
onSuccess: function (response) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- Open Sequel Pro and run these query : | |
SET GLOBAL innodb_strict_mode = 0; | |
After that, try to import the database again :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update core_config_data set value = '' where value like '%0:3:%' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php bin/magento config:set web/seo/use_rewrites 1 | |
php bin/magento config:set web/secure/use_in_adminhtml 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/magento config:set catalog/search/engine 'mysql' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install ruby | |
gem install capistrano -n /usr/local/bin | |
gem install capistrano-magento2 | |
gem install slackistrano |