Hi. I am having to different problems.
Installing extensions Problem
My first problem is when i am trying to install any extension throught magento connect . For example cashondelivery it installs successfully. But when i navigate on backend at system->config->cashondelivery i get server error 500. Same happens with most extension i ve tried. I am using magento installation 1.7. I ve double check complatibility + there is no message in intallation logs about any problem.
Affiliate tracking code
My second problem is that when i am trying to integrate an affiliate code into my success.phtml page. I get a blank main column layout on success page. The code i am using is:
$order = Mage::getModel(’sales/order’)->load(Mage::getSingleton(’checkout/session’)->getLastOrderId());
<script src="http://network.clickbanner.gr/i_sale_third/10527/<?php echo $_order_subtotal; ?>/<?php echo $this->getOrderId()?>/OPTIONAL_INFORMATION&sale;_status=P"></script>
<noscript><img src="http://network.clickbanner.gr/i_track_sale/10527/<?php echo $_order_subtotal; ?>/<?php echo $this->getOrderId()?>/OPTIONAL_INFORMATION&sale;_status=P"></noscript>
By removing the first 2xlines it works again , but the tracking code sends a blank subtotal amount. Any help to resolve these issues will appreciate!! Thank u in advance