Skip to content

Instantly share code, notes, and snippets.

View albertobraschi's full-sized avatar

Alberto Braschi albertobraschi

View GitHub Profile
This file has been truncated, but you can view the full file.
;;;;;;;Página: 1;
;;;LISTA PREÇO 2;;;;;
;;;;;;;Emissão: 08/07/2020 10:57:02;
CODIGO;;NOME;;MARCA;VRVENDA;ESTOQUE;;
40987;;ABACAXI FRUTA QUALI;;;5.555.555,00;1;;
562984;;ABAFADOR TIPO CONCHA;;;0;0;;
6,93352E+12;;ABAJOUR DE LED CORES VARIADAS;;KRIAT;9.999.999,00;0;;
7,89673E+12;;ABAJUR - BABY CRISTAL - AZUL;;TRITEC*;35;0;;
7,89673E+12;;ABAJUR - BABY CRISTAL - ROSA;;TRITEC;35;0;;
4,89429E+12;;ABAJUR - FLAMENGO;;DANTAS;55,8;0;;
"sku","attribute_set_code","product_type","product_websites","name","description","short_description","weight","product_online","tax_class_name","visibility","price","qty","is_in_stock","correios_width","correios_height","correios_depth"
"WG085","Default","simple","base","Sprite Yoga Strap 6 foot","<p>The Sprite Yoga Strap is your untiring partner in demanding stretches, holds and alignment routines. The strap's 100% organic cotton fabric is woven tightly to form a soft, textured yet non-slip surface. The plastic clasp buckle is easily adjustable, lightweight and urable under strain.</p><ul><li>100% soft and durable cotton.<li>Plastic cinch buckle is easy to use.<li>Three natural colors made from phthalate and heavy metal free dyes.</ul>","<p>The Sprite Yoga Strap is your untiring partner in demanding stretches, holds and alignment routines. The strap's 100% organic cotton fabric is woven tightly to form a soft, textured yet non-slip surface. The plastic clasp buckle is easily adjustable, lightweight and urab
#Path to shops' active theme (multiple locations allowed, separated by a ' ' (SPACE))
THEME_FOLDER=('pub/static/frontend/Magento/luma/')
#Find deployed themes (languages) and copy the themes. 'us_US' becomes 'us_US_source'. We skip directories already having a '_source' suffix
find ${THEME_FOLDER[@]} -mindepth 1 -maxdepth 1 \( -not -name '*_source' \) -type d -execdir mv -f \{} \{}_source \;
#Find all *_source themes and use them as input for r.js. The output directories are the input directory with '_source' stripped again.
find ${THEME_FOLDER[@]} -mindepth 1 -maxdepth 1 \( -name '*_source' \) -type d -exec bash -c 'r.js -o requirejs-bundle-config.js baseUrl=\{} dir="${@%"_source"}"' bash {} \;
#Find the themes that don't have _source as suffix, assuming these are the ones that are now bundled.
#permissao
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
find ./var -type d -exec chmod 777 {} \;
find ./pub/media -type d -exec chmod 777 {} \;
find ./pub/static -type d -exec chmod 777 {} \;
chmod 700 ./app/etc;
chmod 644 ./app/etc/*.xml;
chown -R www-data:www-data .;
chmod u+x bin/magento
http://grandeobraeterna.blogspot.com/2018/07/arvore-qliphotica.html?m=1
FROM php:7.2-fpm
# Install dependencies
RUN apt-get update \
&& apt-get install -y \
cron \
libfreetype6-dev \
libicu-dev \
libjpeg62-turbo-dev \
ns1.hostinger.com.br - 31.170.163.241
ns2.hostinger.com.br - 31.220.23.1
ns3.hostinger.com.br - 173.192.183.247
ns4.hostinger.com.br - 31.170.164.249
2019/11/07 11:19:40 [error] 14103#14103: *1 directory index of "/var/www/html/" is forbidden, client: 198.41.231.96, server: www.agenciamesh.com.br, request: "GET / HTTP/1.1", host: "infocelljk.com.br"
2019/11/07 11:21:00 [emerg] 14239#14239: open() "/etc/nginx/sites-enabled/digitalocean" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
2019/11/07 11:21:04 [emerg] 14262#14262: open() "/etc/nginx/sites-enabled/digitalocean" failed (2: No such file or directory) in /etc/nginx/nginx.conf:62
2019/11/07 11:21:16 [error] 14103#14103: *38 directory index of "/var/www/html/" is forbidden, client: 198.41.231.96, server: www.agenciamesh.com.br, request: "GET / HTTP/1.1", host: "infocelljk.com.br"
2019/11/07 11:21:19 [notice] 14280#14280: signal process started
2019/11/07 11:21:21 [error] 14281#14281: *40 directory index of "/var/www/html/" is forbidden, client: 198.41.231.96, server: www.agenciamesh.com.br, request: "GET / HTTP/1.1", host: "infocelljk.com.br"
2019/11/07 11:25:27 [error] 14281#14281: *1

Magento testing scenarios

For use after an upgrade to verify the correct working of Magento

SHIP IT

Frontend

General

  • Activate all logs on the server (PHP, MySQL, Magento, mail, etc)
  • Check meta tags in HTML
Fatal error: Uncaught TypeError: Argument 5 passed to Webkul\Mpshipping\Model\ResourceModel\Mpshipping\Collection\Interceptor::__construct() must implement interface Magento\Store\Model\StoreManagerInterface, string given, called in /home/u541277890/domains/mercadoeshop.com.br/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/u541277890/domains/mercadoeshop.com.br/public_html/generated/code/Webkul/Mpshipping/Model/ResourceModel/Mpshipping/Collection/Interceptor.php:11 Stack trace: #0 /home/u541277890/domains/mercadoeshop.com.br/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(111): Webkul\Mpshipping\Model\ResourceModel\Mpshipping\Collection\Interceptor->__construct(Object(Magento\Framework\Data\Collection\EntityFactory), Object(WeltPixel\Backend\Model\Logger), Object(Magento\Framework\Data\Collection\Db\FetchStrategy\Query), Object(Magento\Framework\Event\Manager\Proxy), 'marketplace_shi...', 'Webkul\\Mpshippi...', NUL