Select Page

MySQL: Find all references to a table before moving it

Scenario You have to move a MySQL database table to another database, but you have many other tables, functions, routines, events etc. which access it. Before moving it, it is not enough to find only the tables containing foreign keys, but also find functions etc....

CakePHP, MySQL: Issues with character sets / special chars

Problem Framework CakePHP sets strings to null which are loaded from database tables and contain special characters like German Umlaute. Solution In app/Config/database.php, add to your config array: ‘encoding’ => ‘utf8’ Example: public...

PHP Smarty empties strings with special characters

Scenario After upgrading from PHP 5.3 to 5.5, Smarty returns empty strings when using e.g. “html_options” etc., if the “values” or “output” array contains special characters like German Umlaute (ä, ü, …). Reason From PHP 5.4...

Tips for upgrading Magento Store from 1.3.x to 1.7.x

Basically, this tutorial provides a good way to upgrade, but you have to notice some additional things: Do not run the update directly on your live system! Better try it on a local test installation. Some images and CSS settings have to be changed manually before....