Jump to content

Call to undefined method Ebay::_postProcessCategory()


jonelet
 Share

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

Share this post


Link to post
Share on other sites

I don't know how to use debug but I have a pagination problem in "categories and pricing also".   When I click on the page numbers or forward arrow at the top of the page the catagories won't move beyond page one.

 

Irene

 

 

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hi,

thanks for this tricky solution.

Now the pagination in category association works!

 

There are still two bugs:

-pagination in the 5th tab category association of own shop

-cron settings does not save

 

Thank again

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More