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 =…
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']); |
…
PHP extension mcrypt, intl, … missing as composer uses default environment

M2 Defining a plugin
A plugin is used to extend or modify a public method’s behaviour by applying code before, after, or around that observed method. The first argument for the before, after, and around methods is an object that provides access to all public methods of the observed method’s class. Note: The rest of the parameters for these functions are depending on…