Blog - Collection of infrequent blog posts that might be of interest to the web

jQuery Logo 0

Adding advanced formatting to Harshen’s jQuery countdown timer plugin

Harshen’s jQuery countdown timer plugin works great and is simple to use. In a recent project we needed to use special formatting for the countdown timer to be implemented. Although, Harshen’s solution offer to timeSeparator option to specify the separator string to be used this was not flexible enough. The...

Magento Logo 1

Magento produces duplicate customer EAV entries instead of updating existing ones

In a recent Magento 1.8.0.0 project updating customer entities resulted in duplicate EAV entries instead of updating existing ones. Some of the symptoms of this problem were: Customer attributes not being updated, instead new duplicate entries produced Password reset not working, instead duplicate entries produced Login not working In general,...

RaspberryPi Logo 0

Resize root Partition on Raspbian to use free space

Raspbian comes pre-configured to run on smaller SD cards. Thus, the default partition sizes are generally configured to not exceed 4GB. In case you want to use SD cards larger than 4GB (e.g. 32GB) you will definitely want to use the free unallocated space, right? Luckily, this can be achieved...

0

Good Bye HTML5 – Welcome HTML5.1!

As you might have already heard the W3C has finally officially published a recommendation for the (15 years old) HTML5 standard. In fact, HTML 5.0 has (co-)existed for quite some time now. Numerous frameworks implemented HTML5 features long before the official recommendation (as usual). And be honest, who hasn’t used...

Magento Logo 1

Can’t upload product image on eBay Error using M2ePro on Magento

After a switch to a https only setup on a Magento 1.8.0 installation using M2ePro 6.1.6 the following error ocurred when trying to list items using images: Can’t upload product image on eBay A quick Google search revealed the following official statement from the company behind M2ePro: This problem does...

PHP Logo 0

PHP Mailing List – Version 1.9.0 Released

Today, version 1.9.0 of PHP Mailing List was released. Due to numerous requests it is now possible to reply to message directly using the reply link attached to messages. In addition, numerous smaller code improvements have been applied. Feel free to download the latest version via GitHub.

Doctrine Logo 0

Doctrine 2 Exception EntityManager is closed

Doctrine 2’s EntityManager class will permanently close connections upon failed transactions. Thus, further requests using these closed instances will fail with the following exception: So, make sure to check your EntityManager’s state before your actual tasks: Better, create a function called getEntityManager that takes care of this check and makes...

Magento Logo 6

Enable Address Fields in Magento Customer Registration Forms

In order to enable address fields in Magento customer registration forms you only need to enable the attribute setShowAddressField. To do so either add the following in your template or in the base local.xml (/app/design/frontend/base/default/layout/local.xml): As always, make sure to reload your cache afterwards. This setting will enable to execution...

Amazon AWS Logo 1

503 Error Back-end server is at capacity AWS ELB

When receiving Back-end server is at capacity 503 errors from your Elastic Load Balancer (ELB) instance in the Amazon Web Services (AWS) EC2 be sure to check your HealthyHostCount monitoring setup in the CloudWatch. ELB instances will return 503 errors (apart from other conditions) when your HealthyHostCount monitoring setup has...

Magento Logo 0

Magento Error ESI processing not enabled

In a recent Magento setup with a Varnish caching server an undefined PHP variable in a template resulted in the error message “ESI processing not enabled“. Due to the undefined PHP variable the underlying Varnish caching server’s Edge-side includes (ESI) capabilities, allowing content assembly by HTTP surrogates through in-markup XML-based...