-
Fix Mantis corrupt attachment files
After upgrading to the latest Mantis version, I had a problem with zip attachments being corrupted when downloaded from Mantis. Turns out his error message is added to the files: SYSTEM WARNING: ‘finfo::finfo() [finfo.finfo]: Failed to load magic database at ‘/etc/magic’.’ in ‘/srv/sites/mantis.progi-media.com/htdocs/core/utility_api.php’ line 273 To fix the problem I had to manually configure the…
-
Magento: Changing login.phtml, register.phtml and onepage login.phtml
Today I was trying to make a change in the login form. After wondering for a while why my changes aren’t applied, I found out that the most recent versions of Magento include a new Mage module called Persistent. This module overrides the normal customer/form/login.phtml, customer/form/register.phtml and checkout/onepage/login.phtml. To get your changes to actually work…
-
Updating Magento code to be compatible with PHP 5.3
Even tough PHP 5.3 has been out for quite a while, there is still lots of old code out there that will not run correctly when moved from 5.2 to 5.3. In my case I had to move a 2 year old Magento website to a new server and ran into problems as the default…
-
Fix Mantis Captcha Image open_basedir Error
I recently installed the lastest version of Mantis Bug Tracker. Sadly when I tried to signup for the first time, the captcha used in the signup form didn’t show up. Opening the generated jpeg file reveals several errors related to my server’s PHP security settings. SYSTEM WARNING: ‘file_exists(): open_basedir restriction in effect. File(/usr/share/fonts/corefonts/) is not…
-
Netbeans Preparing Commit
If you ever tried to SVN commit a big project using Netbeans (Magento?) you have most likely seen that “Preparing Commit” message doing seemingly absolutely nothing for several minutes. Apparently the commit takes forever because Netbeans is scanning the entire projet to localize any changes done by external applications before committing. This is not really an…