Monthly Archives: February 2017

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

phph

Array

Posted in Allgemein | Leave a comment