I snap installed multipass on Debian 12 Linux (bookworm) – that was a fun task in itself. However, when I try to multipass launch --name myVMname, I get: $ multipass launch launch failed: cannot connect to the multipass socket $ I see that multipass_socket exists after I installed it: sudo […]
Monthly Archives: January 2024
I am a bad typist with fat fingers and (too) often I lightly hit the Touch ID/Power Button. This brings up a screen asking for my password – time consuming and distracting. By sheer frustration I deleted the password from my Mac so that now I can log back on […]
This introduction to layouts in Astro is excepted from Unleashing the Power of Astro, available now on SitePoint Premium. Continue reading Layouts in Astro on SitePoint.
Blazor .NET8 render mode provides developers with more flexibility and control over how their components are rendered. Continue reading .NET 8: Blazor Render Modes Explained on SitePoint.
I have coded a custom shipping module for Magento 2.4.6 according to Adobe’s documentation here: https://developer.adobe.com/commerce/php/tutorials/frontend/custom-checkout/add-shipping-carrier/ I am receiving the following error upon running a static content deployment: Fatal error: Type of MyModulesCustomShipping1ModelCarrierCustomshipping::$_isFixed must not be defined (as in class MagentoShippingModelCarrierAbstractCarrier) in /var/www/html/app/code/MyModules/CustomShipping1/Model/Carrier/Customshipping.php on line 18 My code for the […]
I have Adobe Commerce 2.4.7, with 500 stores, and my store configs take almost a minute to save the configs due to the huge traffic and large database. I heard that I could optimize it on 2.4.7. How could I do it?
Below is an except from vendor/paypal/module-braintree-core/etc/config.xml and I am curious how to add new credit card to, <cctypes_braintree_mapper> via a custom module. Is this done via a di.xml file or a new config.xml file? <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <payment> <braintree> <model>BraintreeFacade</model> <title>Credit Card</title> <payment_action>authorize</payment_action> <cctypes_braintree_mapper><![CDATA[{"american-express":"AE","discover":"DI","jcb":"JCB","mastercard":"MC","master-card":"MC","visa":"VI","maestro":"MI","uk-maestro":"MI","diners-club":"DN"}]]></cctypes_braintree_mapper> </braintree>
Where does Magento 2 save session files? According to the documentation, it is possible to save in the database, in redis, in memcache or in files, but in the default installation it looks like this. ‘session’ => [ ‘save’ => ‘files’ ], I checked the var/session folder and there is […]
I installed Magento 2.4.6-p3 by 1-click installation under Hostmonster webhosting c-panel. I didn’t touch any thing. It went through well and gave me Admin Access of Magento 2.4.6-p3. I searched whole last week to fix ‘product not showing issue’, and read about reindex via SSH. So, I ran it found […]