Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Installing extensions Problem - Affiliate tracking code
 
pang42
Jr. Member
 
Total Posts:  3
Joined:  2012-08-11
 

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());
$_order_subtotal= $order->getSubtotal();
<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

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top