Increase PHP memory limit

Php tips & tricks

Sometimes you might get “Fatal error: Allowed memory size of …” PHP error. Usually this means that you run out of memory. It is recommended to double check your code and profile your app with xDebug. It should tell you which function is called how often and how much memory it eats. However, the code […]

read more

Upgrade to PHP 5.6 on Debian 7 “Wheezy”

Php tips & tricks

Official Debian packages contain PHP 5.4 at the moment. If you need higher version, you need to use 3rd-party repositories such as dotdeb. Generally it is recommended to use the official packages. However, sometimes there are reasons to use third party repositories. And this is one of them. Process of upgrade to PHP 5.6 on […]

read more

How To Make Wunderadmin Magento Admin Theme Work With Localized Module

NWDthemes magento extensions FAQ

Wunderadmin Magento Admin Theme overrides two page templates: header.phtml and footer.phtml. If some other extension, like Localized one overrides them too it will cause issues with admin theme. To solve this problem need to override them again. To do it copy header.phtml and footer.phtml templates from /app/design/adminhtml/default/default/template/magento_localized/ to /app/design/adminhtml/default/wunderadmin/template/magento_localized/ and do the following changes to […]

read more

Comment php code with one keypress

Php tips & tricks

Debugging takes 90% of php developement time. You often need to comment out a piece code. In case of single line it is pretty simple. But if you need to comment large block it could take time. Do you want to comment php code with one keypress ? There is pretty simple method to achieve […]

read more