Jump to content

Call to undefined method Ebay::_postProcessCategory()


jonelet

Recommended Posts

Welcome, 

I find a problem I can't solve. After this "amazing" update of marketplace ebay module something got wrong. When I'm on second ebay module tab (2. Categories and pricing) pagination nor working. In console there is this error:

"modules/ebay/ajax/saveCategories.php?token=b0wBkoimWujZ0y8xgtHXdN0Lh9edVS&profile=2 500 (Internal Server Error)"

When I set debug mode on "true" than I have:
Fatal error: Call to undefined method Ebay::_postProcessCategory() in /home/dev/domains/name.ofdomain.com/public_html/modules/ebay/ajax/saveCategories.php on line 35

 

And I have no idea what next... I try to update presta, clear cash, remove and install this module again... nothing working...

  • Like 1
Link to comment
Share on other sites

I solve this problem. Thanks authors for "great" update. I edit saveCategories.php .
I had this code:

include(dirname(__FILE__).'/../../../config/config.inc.php');
require_once(dirname(__FILE__).'/../../../init.php');
include('../ebay.php');


if (!Tools::getValue('token') || Tools::getValue('token') != Configuration::get('EBAY_SECURITY_TOKEN'))
die('ERROR: Invalid Token');


$ebay = new eBay();
$ebay->_postProcessCategory();
And change it to:
include(dirname(__FILE__).'/../../../config/config.inc.php');
require_once(dirname(__FILE__).'/../../../init.php');
include('../ebay.php');


if (!Tools::getValue('token') || Tools::getValue('token') != Configuration::get('EBAY_SECURITY_TOKEN'))
die('ERROR: Invalid Token');
echo json_encode(array('valid'=>true));exit;
$ebay = new eBay();
$ebay->_postProcessCategory();

I'll see if it's good solution. For now it works
Edited by jonelet (see edit history)
  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...