{"id":4346,"date":"2012-09-09T18:47:32","date_gmt":"2012-09-09T09:47:32","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=4346"},"modified":"2012-09-10T00:58:26","modified_gmt":"2012-09-09T15:58:26","slug":"amazonmws-client-php-on-line-710%e3%81%a7undefined-offset-1%e3%82%a8%e3%83%a9%e3%83%bc%e6%99%82%e3%81%ae%e5%af%be%e5%87%a6","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/4346","title":{"rendered":"[AmazonMWS] Client.php on line 710\u3067&#8221;Undefined offset: 1&#8243;\u30a8\u30e9\u30fc\u6642\u306e\u5bfe\u51e6"},"content":{"rendered":"<p>\n\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8<br \/>\n<pre lang=\"x\">\nPHP Notice:  Undefined offset: 1 in ...\\src\\MarketplaceWebServiceProducts\\Client.php on line 710\n<\/pre>\n<br \/>\n<br \/>\n\u3053\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u6642\u306f\u3001\u304a\u305d\u3089\u304f\u30e6\u30fc\u30b6\u306eID\u8a2d\u5b9a\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\n<br \/>\n<br \/>\n<br \/>\nID\u8a2d\u5b9a\u306f\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u884c\u3044\u307e\u3059\u3002<br \/>\n<pre lang=\"x\">\nsrc\\MarketplaceWebServiceProducts\\Samples\\.config.inc.php\n<\/pre>\n<br \/>\n<br \/>\n\u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u306b6\u3064define\u6587\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u306e6\u3064\u3092\u57cb\u3081\u3066\u3044\u304d\u307e\u3059\u3002<br \/>\n<pre lang=\"x\">\n   \/************************************************************************\n    * REQUIRED\n    * \n    * Access Key ID and Secret Acess Key ID, obtained from:\n    * http:\/\/aws.amazon.com\n    ***********************************************************************\/\n    define('AWS_ACCESS_KEY_ID', '<Your Access Key ID>');\n    define('AWS_SECRET_ACCESS_KEY', '<Your Secret Key>');  \n\n   \/************************************************************************\n    * REQUIRED\n    * \n    * All MWS requests must contain a User-Agent header. The application\n    * name and version defined below are used in creating this value.\n    ***********************************************************************\/\n    define('APPLICATION_NAME', '<Your Application Name>');\n    define('APPLICATION_VERSION', '<Your Application Version or Build Number>');\n\n   \/************************************************************************\n    * REQUIRED\n    * \n    * All MWS requests must contain the seller's merchant ID and\n    * marketplace ID.\n    ***********************************************************************\/\n    define ('MERCHANT_ID', '<Your Merchant Id>');\n    define ('MARKETPLACE_ID', '<Your Marketplace Id>');\n<\/pre>\n<br \/>\n<br \/>\n\u307e\u305a\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001\u9069\u5f53\u3067OK\u3067\u3059\u3002<br \/>\n<br \/>\n\u5909\u66f4\u524d<br \/>\n<pre lang=\"x\">\n    define('APPLICATION_NAME', '<Your Application Name>');\n    define('APPLICATION_VERSION', '<Your Application Version or Build Number>');\n<\/pre>\n\u2193<br \/>\n\u4fee\u6b63\u5f8c<br \/>\n<pre lang=\"x\">\n    define('APPLICATION_NAME',    'TestApp');\n    define('APPLICATION_VERSION', '1.0.0.0');\n<\/pre>\n<br \/>\n<br \/>\n\u6b21\u306b,\u30e6\u30fc\u30b6ID\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<br \/>\n<pre lang=\"x\">\n    define('AWS_ACCESS_KEY_ID', '<Your Access Key ID>');\n    define('AWS_SECRET_ACCESS_KEY', '<Your Secret Key>');  \n    define('MERCHANT_ID', '<Your Merchant Id>');\n    define('MARKETPLACE_ID', '<Your Marketplace Id>');\n<\/pre>\n<br \/>\n\u3053\u306eID\u306f\u30a2\u30de\u30be\u30f3\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30fc\u30b9\u306b\u5927\u53e3\u51fa\u54c1\u8005\u3068\u3057\u3066\u767b\u9332\u3055\u308c\u3066\u3044\u306a\u3044\u3068\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3002<br \/>\n<br \/>\nID\u306e\u53d6\u5f97\u65b9\u6cd5\u306f\u3001\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3092\u53c2\u8003\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n(\u6700\u5f8c\u306e\u753b\u50cf\u306b\u51fa\u54c1\u8005ID\u3068\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9ID\u3057\u304b\u6620\u3063\u3066\u307e\u305b\u3093\u304c\u3001\u305d\u306e\u4e0b\u306b2\u3064ID\u304c\u51fa\u3066\u307e\u3059)<br \/>\n<a href=\"http:\/\/nanoappli.com\/blog\/archives\/1251\">Amazon\u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30fc\u30b9\u7528\u30a2\u30d7\u30ea\u306e\u4f7f\u7528\u6642\u306b\u5fc5\u8981\u306a\u6e96\u5099\u4f5c\u696d(\u51fa\u54c1\u8005\u5411\u3051)<\/a><br \/>\n<br \/>\n\u3053\u3093\u306a\u611f\u3058\u306e\u30da\u30fc\u30b8\u304c\u51fa\u308b\u306e\u3067\u30014\u3064\u306eID\u3092\u63a7\u3048\u307e\u3059\u3002<br \/>\n<a href=\"http:\/\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/09\/20120909_07.jpg\"><img loading=\"lazy\" src=\"http:\/\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/09\/20120909_07.jpg\" alt=\"\" title=\"20120909_07\" width=\"393\" height=\"271\" class=\"alignnone size-full wp-image-4348\" \/><\/a><br \/>\n<br \/>\n<br \/>\n\u53d6\u5f97\u3057\u305f4\u3064\u306eID\u3092\u3001\u5148\u307b\u3069\u306edefine\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br \/>\n<pre lang=\"x\">\n    define('AWS_ACCESS_KEY_ID',     '<Your Access Key ID>');        \/\/ AWS\u30a2\u30af\u30bb\u30b9\u30ad\u30fcI\n    define('AWS_SECRET_ACCESS_KEY', '<Your Secret Key>');           \/\/ \u79d8\u5bc6\u30ad\u30fc\n    define('MERCHANT_ID',           '<Your Merchant Id>');          \/\/ \u51fa\u54c1\u8005ID\n    define('MARKETPLACE_ID',        '<Your Marketplace Id>');       \/\/ \u30de\u30fc\u30b1\u30c3\u30c8\u30d7\u30ec\u30a4\u30b9ID\n<\/pre>\n<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8 PHP Notice: Undefined offset: 1 in &#8230;\\src\\MarketplaceWebServiceProducts\\Client.php on line 710 \u3053\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u6642\u306f\u3001\u304a\u305d\u3089\u304f\u30e6\u30fc\u30b6\u306eID\u8a2d\u5b9a\u304c\u884c\u308f\u308c\u3066\u3044\u307e\u305b\u3093\u3002 ID\u8a2d\u5b9a\u306f\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u884c\u3044\u307e\u3059\u3002 src\\MarketplaceWebServiceProducts\\Samples\\.config.inc.php \u30d5\u30a1\u30a4\u30eb\u306e\u5148\u982d\u306b6\u3064define\u6587\u304c\u3042\u308b\u306e\u3067\u3001\u3053\u306e6\u3064\u3092\u57cb\u3081\u3066\u3044\u304d\u307e\u3059\u3002 \/**********************************************\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[1],"tags":[35],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4365,"url":"http:\/\/nanoappli.com\/blog\/archives\/4365","url_meta":{"origin":4346,"position":0},"title":"[AmazonMWS]Required parameter MarketplaceId not found \u30a8\u30e9\u30fc\u6642\u306e\u5bfe\u5fdc\u65b9\u6cd5","date":"2012\u5e749\u67089\u65e5","format":false,"excerpt":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u4f8b Notice: Undefined offset: 1 in src\\Marke\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4341,"url":"http:\/\/nanoappli.com\/blog\/archives\/4341","url_meta":{"origin":4346,"position":1},"title":"[AmazonMWS] PHP Notice: Undefined variable: serviceUrl in&#8230; \u30a8\u30e9\u30fc\u304c\u51fa\u308b\u6642\u306e\u5bfe\u51e6","date":"2012\u5e749\u67089\u65e5","format":false,"excerpt":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8 PHP Notice: Undefined variable: serviceUr\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4409,"url":"http:\/\/nanoappli.com\/blog\/archives\/4409","url_meta":{"origin":4346,"position":2},"title":"C#\u3067Amazon\u306eMWS\u3092\u4f7f\u7528\u3057\u3066,\u30de\u30b1\u30d7\u30ec\u306e\u51fa\u54c1\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b","date":"2012\u5e749\u670810\u65e5","format":false,"excerpt":"Amazon\u3067\u306f\u3001Marketplace WebService API(Amazon MWS)\u3092\u4f7f\u7528\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/09\/20120910_06.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":1980,"url":"http:\/\/nanoappli.com\/blog\/archives\/1980","url_meta":{"origin":4346,"position":3},"title":"&#8220;\u30d5\u30a1\u30a4\u30eb\u307e\u305f\u306f\u30a2\u30bb\u30f3\u30d6\u30ea &#8216;CrystalDecisions.CrystalReports.Engine &#8230; \u304c\u8aad\u307f\u8fbc\u3081\u307e\u305b\u3093&#8221;\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3068\u304d\u306f","date":"2012\u5e743\u670830\u65e5","format":false,"excerpt":"Windows\u3067\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3068\u304d\u306b\u3001CrystalDecisions.CrystalRe\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/03\/20120330_05.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":4643,"url":"http:\/\/nanoappli.com\/blog\/archives\/4643","url_meta":{"origin":4346,"position":4},"title":"[HI-TECH C]__CONFIG()\u3067undefined identifier &#8220;CP_OFF&#8221;\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u5834\u5408","date":"2012\u5e749\u670822\u65e5","format":false,"excerpt":"\u51fa\u529b\u3055\u308c\u308b\u30a8\u30e9\u30fc\u306e\u4f8b [192] C:\\project\\pic\\16F84A_Ctest\\main.\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4336,"url":"http:\/\/nanoappli.com\/blog\/archives\/4336","url_meta":{"origin":4346,"position":5},"title":"[AmazonMWS]\u3000Caught Exception: Unable to establish connection&#8230; \u30a8\u30e9\u30fc\u304c\u51fa\u308b\u6642\u306e\u5bfe\u51e6","date":"2012\u5e749\u67089\u65e5","format":false,"excerpt":"\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8 Caught Exception: Unable to establish con\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/4346"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=4346"}],"version-history":[{"count":5,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/4346\/revisions"}],"predecessor-version":[{"id":4378,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/4346\/revisions\/4378"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=4346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=4346"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=4346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}