0

I downloaded the Feeds API Section Client Library for php but there is no config.inc.php file. I even searched for the config file in other api library. Can anyone guide me through the problem??? To solve the issue, I created my own config.inc.php file and included the essential credentials, and made necessary changes in the SubmitFeedSample.php. But I am getting " Class 'MarketplaceWebService_Model_SubmitFeedRequest' not found" error. Help!!!

aynber
  • 22,380
  • 8
  • 50
  • 63
Neeraj Dangol
  • 223
  • 1
  • 12

2 Answers2

1

The config.inc.php has a leading '.' (.config.inc.php) and it should be in the Samples directory.

jjdebarros
  • 115
  • 1
  • 2
  • 6
1

Yes config.inc.php is actualy .config.inc.php and it is hidden as well. And for MarketplaceWebService_Model_SubmitFeedRequest you need to include or require_once as below

require_once 'FeedsAPIClass/src/MarketplaceWebService/Client.php';
require_once 'FeedsAPIClass/src/MarketplaceWebService/Model/SubmitFeedRequest.php';
Griwes
  • 8,805
  • 2
  • 43
  • 70
Keyur Padalia
  • 2,077
  • 3
  • 28
  • 55