Problems after disabling Weee module on Magento with developer mode on

Posted on Categories:Magento, PHP, MySQL

When doing Magento optimization, developers are often finding ways to boost performance by turning off some of the core modules that are not needed. There are multiple sites that provide recommendations on what modules should be disabled if not needed. Weee was one of them.
During development of payment method I encountered one issue related to this.

Getting the backend routing from frontend application in Symfony and vice versa

Posted on Categories:PHP, MySQL, Symfony

When using Symfony frontend application it is sometimes necessary to access other application’s routing to create an internal url that points to that application.
In order for that to be posssible, a method for getting the desired application’s routing is required.

Creating new relations by using jQuery Autocompleter widget in Symfony

Posted on Categories:PHP, MySQL, Symfony

This post describes how to create new relation by usin jQuery Autocompleter widget in Symfony project.
Recently, I’ve had a situation where I had to create a form for entering a product details, with a dropdown or autocomplete input for selecting product’s brand. If a user entered a non-existing brand, it had to be automatically created and assigned to product that the user was editing.

Creating SSL enabled website on Apache/Linux

Posted on Categories:PHP, MySQL, UNIX/Linux in general

This post describes how to quickly enable SSL on Apache and create SSL enabled website on Apache/Linux environment. In this post I assume that apache2 is properly installed on your linux server, and you’re running a Debian or Ubuntu distribution of Linux.
A quick reminder: SSL enabled website is just another web service (more precisely, virtual host), that is running on a port different than a standard http port 80. Typically, port on which are SSL enabled websites running is 443, and address usually begins with https://… instead of usual http://… on a regular website.