Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

API subscribe on Nginx
  • Vote Up0Vote Down almaysalmays
    Posts: 23Sendy user
    Hello. I am using Nginx for Sendy.
    On subscribe api call I get the following in the error log of Sendy

    FastCGI sent in stderr: "PHP Notice: Undefined index: i in /home/USER/sendy/subscribe.php on line 96" while reading response header from upstream, client: IP.IP.IP.IP, server:, request: "POST /subscribe HTTP/1.1", upstream: "fastcgi://", host: ""

    Any ideas? Is it nginx/php-upstream issue or Sendy?
  • Vote Up0Vote Down almaysalmays
    Posts: 23Sendy user
    Ok. I fixed the issue.
    In my case I was providing in the POST call Name and Email fields instead of name and email (case sensitive).
    Nevertheless, who is that $_GET['i']?
  • Vote Up0Vote Down BenBen
    Posts: 3,630Sendy support
    Ignore $_GET['i']. It's required for the API of the first version of Sendy.
This discussion has been closed.
All Discussions