I'm fascinated with shortcuts - I can't understand why wouldn't you want to learn them, cut the process and get the job done in a fast speed. So, I was going like usually though my duties and had to dig a bit through one of our servers and got annoyed by some typing difficulties and…
Configure Web Server for Magento [Ubuntu, Nginx…] (Part 1)
There are some default good practice when installing/configure a server and I think is good to follow them and improve where is possible. I tend to use [ apt ] instead of [ apt-get ] as they are almost the same: apt is designed for end-users (human) and its output may be changed between versions > Means the output is…
Troubleshooting SOAP: requesting multiple elements

I’m integrating the Whistl shipping carrier in our custom framework through SOAP protocol. The fastest way is to build an array with all the required elements and send it to Whistl API. Working with SOAP in php is very simple. Especially when you use the array as a container to pass to SOAP. (adsbygoogle =…
Fix “no signature key” in Ubuntu/Debian
Trying to update an Ubuntu 16.04 but was failing constantly because no signature key was there as you can see from the following warning:
1 2 3 4 |
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 - The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 |
Looking at the error above, apt is telling us that the following keys are missing: 40976EAF437D05B5 and 3B4FE6ACC0B21F32. Notice that these are listed multiple times. Each unique key will…
MAMP Error – Unable to load dynamic library redis.so
I'm at the end of my patients, God knows what was update, MAMP or Brew or something else but I ended with this nasty error for Redis integration:
1 2 3 4 |
Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php/php5.6.32/lib/php/extensions/no-debug-non-zts-20131226/redis.so' - dlopen(/Applications/MAMP/bin/php/php5.6.32/lib/php/extensions/no-debug-non-zts-20131226/redis.so, 9): image not found in Unknown on line 0 |
Whaaat was that? Ok, I know I don't have the redis library or php is not able to load dynamically the library therefore I fixed this couple…
Get available methods for an object
There are no better shortcuts than a very good study but there's a tip which can help you to get a bit of speed. Have you ever tried to figure out what available methods you can use from a customer model in Magento? Imagine you load the customer into a variable (or the product, order)
1 2 3 4 |
# load the customer $customer = Mage::getModel('customer/customer')->load($params['id']); |
…
Wildcards in Linux

The shell feature that makes these commands so powerful is - Wildcards. Because the shell uses file- names so much, it provides special characters to help you rapidly specify groups of filenames. These special characters are called wildcards. Using wildcards (also known as globbing) allows you to select filenames based on patterns of characters. …
Magento 1 – Create Menu under System > Configuration

How to Update Magento 2 (composer way)

Magento 2 offers possibility to update it's self through Magento backend panel or trough composer (described here). First of all check if the cache is enabled:
1 2 3 |
php bin/magento cache:status |
If it is enabled you'll get something similar to this: So we need to disable the cache: That been done we can go further to the actual update process. Composer.json…
PHP extension mcrypt, intl, … missing as composer uses default environment
