Coder Social home page Coder Social logo

Comments (4)

jaimeguzman avatar jaimeguzman commented on May 27, 2024

HI, can you paste your access_log suphp exec and maybe errorlog ?
I recently don't have any problem with the library

Regards

from amazon-ecs-php-library.

mahmoodsd2001 avatar mahmoodsd2001 commented on May 27, 2024

Hi Jamie,
I don't know what this suphp, i am excuting the code in xampp (windows).
But, the code work fine with one amazon configuration, but with the second didn't work and get error above!!

What do you think about this ?
I created new amazon account, and create access and secret key from here:
https://console.aws.amazon.com/iam/home#users

And create associate tag (Tracking ID) from here:
https://affiliate-program.amazon.com/

from amazon-ecs-php-library.

jaimeguzman avatar jaimeguzman commented on May 27, 2024

Well at first you have to be sure your ID from amazon console are rigth and second make some debug your code. I use this library for integrate with a Drupal CMS, but you use codeigniter. Do you have some function for trace more exactly the error, may be is some bad request that you produce a Internal error.

  /**
   * Prepares the responsegroups and returns them as array
   *
   * @return array|prepared responsegroups
   */
  protected function prepareResponseGroup()
  {
    if (false === strstr($this->responseConfig['responseGroup'], ','))
      return $this->responseConfig['responseGroup'];

    return explode(',', $this->responseConfig['responseGroup']);
  }

I recommend you, read again the examples and make some test every case, and if you have all ok with your keys, your only have problem with the code.

Regards

from amazon-ecs-php-library.

mahmoodsd2001 avatar mahmoodsd2001 commented on May 27, 2024

Hi Jamie,
I found the problem, it was in the ID's

Thank you πŸ‘

from amazon-ecs-php-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.