{Giúp với} Lỗi VirtueMart

Thảo luận trong 'Gói mở rộng - Extensions' bắt đầu bởi nguyenthi, 7/9/14.

  1. nguyenthi

    nguyenthi Rất tích cực

    Bài viết:
    59
    Likes :
    2
    Hôm qua mình cài Virtuemart thì bình thường, nhưng làm sai số đoạn mình tính làm lại. Khi xong hết cho joomla 2.5, đến phần cài các module virtuemart, thì bị báo lỗi thế này:

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting ')' in C:\AppServ\www\banhang\plugins\vmpayment\realex_hpp_api\realex_hpp_api.php on line 667

    theo nguồn tới mã code nó thế này:


    $payment = $realexInterface->getTransactionData($payments, array($realexInterface::REQUEST_TYPE_SETTLE));
    if (!$payment) {
    return false;
    }
    return $payment->created_on;
    }


    private function transactionIsDcc ($realexInterface, $payments) {
    if (!$this->_currentMethod->dcc) {
    return false;
    }

    $payment = $realexInterface->getTransactionData($payments, array($realexInterface::REQUEST_TYPE_SETTLE));
    if (!$payment) {
    return false;
    }
    return true;
    }

    private function transactionIsAuth ($realexInterface, $payments) {
    $payment = $realexInterface->getLastTransactionData($payments, array(
    $realexInterface::REQUEST_TYPE_AUTH,

    mong mọi người giúp đỡ.
     
    Last edited: 7/9/14
  2. nguyenthi

    nguyenthi Rất tích cực

    Bài viết:
    59
    Likes :
    2
    Mình cài lại bản Virtuemart 2.6.0 và đã ok hết.

    Bản mình bị lỗi trên là từ Virtuemart 2.6.8 --> 2.6.10. Có một đoạn code plugin payment bị lỗi. Thanks xem qua
     
comments powered by Disqus
: virtuemart

Chia sẻ trang này