Category Archives: PHP

All what covers php such as tuneup, code snippets,…

Magento ignores email-inline.css (Transactional Emails)

I created a few custom emails and it didn’t work. The following code doesn’t work (it excludes the email-inline.css): $mailTemplate->sendTransactional( $templateID, Mage::getStoreConfig(Mage_Customer_Model_Customer::XML_PATH_REGISTER_EMAIL_IDENTITY, $storeId), $customer->getEmail(), $customer->getName(), array( ‘customer’ => $customer, ‘shipping’ => $customer->getPrimaryShippingAddress(), ‘billing’ => $customer->getPrimaryBillingAddress(), ‘store’ => Mage::app()->getStore( $this->getCustomerStoreId($customer) ), … Continue reading

Posted in Magento, PHP | Leave a comment

XDebug not working Ubuntu PHP 5.6

I faced the issue that Ubuntu with PHP 5.6 didn’t load xDebug. I installed xDebug by entering: sudo apt-get install php5-xdebug First issue that I encountered was that the xdebug.ini was not added to apache. Enter: find / -name ‘xdebug.so’ … Continue reading

Posted in Linux, PHP | Leave a comment

mkdir(): Too many links in * on line *

By now I’m working on an foto upload script and encountered the following error: mkdir(): Too many links in * on line * When I took a deeper look at it I discovered sth: shell # ls -d */ | … Continue reading

Posted in Linux, PHP | Leave a comment

Boonex Dolphin extending default modules,…

Since many years we’re working with Boonex Dolphin. In the beginning it was a bit messed up but the new versions are really different. In old editions dolphin 6.x modules wasn’t really useful. If a client requested a change we … Continue reading

Posted in PHP | Leave a comment

Apache (bug) Killer – urgent security issue!

By now I read some news that should be shared to all web developers. There is a newly discovered hole in apache sources. It can bring apache down and force you to restart the service. It’s done by partial get/post … Continue reading

Posted in PHP | Leave a comment