Open source forever

Last couple of days I was testing the new bright and shiny e-commerce engine Magento.

The main reason why I wanted to switch from the OS:commerce-like solutions was amount of fine-tuning required. It never works perfectly out of the box. Nor should it, to be honest. It’s not a box product, it’s a basis for the further development. ¬†Yo can not have an e-shop on it without professional php-developer standing beside.

Magento actually looked much better, judging from their website. More marketing-wise.

Hovewer, on the second day of the testing, without much poking the system crashed. The message was a typical Open Source fun, something like “Strict Notice: Only variables should be passed by reference¬† in …/lib/Zend/Db/Select.php on line 246

And the solution was of course found immediately via Google, here . They suggested to go directly to the source code of the library and use your dirty hands change some construction:

Find this line in the above file:
$correlationName = current(array_keys($this->_parts[self::FROM]));

Replace the above 1 line with the following 2 lines:
$correlationName = array_keys($this->_parts[self::FROM]);
$correlationName = $correlationName[0];

It worked, of course. So much for the box product Magento , I guess once open source, forever open source.

You can leave a response, or trackback from your own site.

Sorry, no posts matched your criteria.