Serializer/Pear.php issue

  • Sticky
    Posted in: Fundingpress  
  • Keymaster
    g0dspeed
    October 22, 2014 at 5:00 pm #51327

    Hi all,

    Problem can be caused by two reasons:

    1. Pear not installed
    2. Pear location is not default

    Theme doesn’t work in all servers because some servers alter PEAR locations for some reason and we cannot know all location in all servers. We use default location which is provided by PayPal too.

    You have two options:

    1. Call hosting provider and tell them about the problem so they can fix the path.
    2. Do it manually in theme:
    -funding/lib/PayPal/Serializer/Serializer.php
    -funding/lib/PayPal/Serializer/Unserializer.php
    -funding/lib/PayPal/Serializer/XML/Parser.php

    you are looking for:

    if(require_once(‘System.php’)){
    require_once(‘PEAR.php’);
    }else{
    require_once dirname(__FILE__).’/../pear/PEAR.php';
    }

    EDIT: For theme version 4+ this is located in:
    \funding\lib\paypal\paypal-sdk-core-php-811c13c\lib\PayPal\Core\PPHttpConfig.php
    line 11 CURLOPT_SSLVERSION

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.