I have got 2 rewrite rules which work, but pub/ is added to the url when i dont want that. I add the rules to pub/.htaccess. If i add them to the .htaccess in the magento root, nothing happens. The URL https://www.example.com/xerox-everyday-toner-for-tn242y-yellow-toner-cartridge-006r04226 becomes https://www.example.com/pub/xerox-everyday-toner-for-tn242y-yellow-toner-cartridge. My rules are to remove the […]
Monthly Archives: January 2023
I am on an Apple Silicon M1. I want to use libvirt with vagrant. I got installed: ❯ brew -v 132.248.234.96 ─╯ Homebrew 3.6.20 ❯ vagrant -v 132.248.234.96 ─╯ Vagrant 2.3.4 ❯ /opt/vagrant/embedded/bin/ruby --version 132.248.234.96 ─╯ ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-darwin19] echo 'security_driver […]
I have two files inventory.yaml: servers: hosts: nas: ansible_host: 10.10.10.27 router: ansible_host: 10.10.10.1 and playbook.yaml - name: pylonl playbook hosts: all tasks: -name: Ping all hosts ansible.builtin.ping: running ansible -i inventory.yaml all -m ping works, but running ansible -i inventory.yaml playbook.yaml returns: [WARNING]: Could not match supplied host pattern, ignoring: […]
My daughter’s laptop hard drive is failing so I bought a new on. Do I need to buy a new windows operating system now? When we bought the laptop a few years ago there were Windows 10 on it. But now with the new hard drive do I really need […]
The NVIDIA Bluefield-3 spec sheet lists the following as its PCIe spec: 32 lanes of PCIe Gen 5.0 PCIe switch bi-furcation of up to 16 downstream ports Would this mean the device can run on anything in between PCIe 5 x2 port and PCIe 5 x32 port? I thought PCIe […]
Using windows 10. Have a program TOP Server 6, a UPC-OA program, that I want a user called Operator to be able to run. This user is part of the user group Users. Under the server_config.exe (the program to run) Security tab, the group Users is there, and it has […]
In this quick tip on PHP error reporting, we review the tools in PHP for handling errors in a controlled way to save hours of debugging. Continue reading Quick Tip: How to Manage Error Reporting in PHP on SitePoint.
i have third party of magento2 extension , This make some help for Dropshipping , you can add number of warehouses and each warehouse includes option such as (Products , orders, and so on ) . When user make order it’s appears in general table of orders and if i […]
I’ve added an attribute to the Customer Addresses: <?php namespace DcCustomerSetup; use MagentoCustomerApiAddressMetadataInterface; use MagentoCustomerSetupCustomerSetupFactory; use MagentoEavModelEntityAttributeSetFactory as AttributeSetFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupUpgradeDataInterface; use MagentoFrameworkSetupModuleContextInterface; class UpgradeData implements UpgradeDataInterface { protected $customerSetupFactory; protected $attributeSetFactory; public function __construct(CustomerSetupFactory $customerSetupFactory, AttributeSetFactory $attributeSetFactory) { $this->customerSetupFactory = $customerSetupFactory; $this->attributeSetFactory = $attributeSetFactory; } public function […]