我下载了 php 的 Feeds API 部分客户端库,但没有 config.inc.php 文件。我什至在其他 api 库中搜索了配置文件。谁能指导我解决问题???为了解决这个问题,我创建了自己的config.inc.php文件并包含了必要的凭据,并在SubmitFeedSample.php中进行了必要的更改。但是我收到" 找不到类'MarketplaceWebService_Model_SubmitFeedRequest'"错误。帮助!!!
是的,config.inc.php
实际上是.config.inc.php
的,它也是隐藏的。对于MarketplaceWebService_Model_SubmitFeedRequest
,您需要按如下方式include
或require_once
require_once 'FeedsAPIClass/src/MarketplaceWebService/Client.php';
require_once 'FeedsAPIClass/src/MarketplaceWebService/Model/SubmitFeedRequest.php';
config.inc.php有一个前导"."(.config.inc.php),它应该在样本目录中。