Koken bug : api loopback

I recently installed koken, just for playin, and I have the ‘api loopback problem’ : “API Error. The theme is not able to contact Koken’s API. Ensure that your host is not blocking loopback connections.”

Here is a generic patch against Koken 0.17.3 :

For Gandi hosting (that provide Varnish in front so that $_SERVER[‘SERVER_ADDR’] resolve to an RFC1918 IP), here is my patch :

Note the line 8 : you have to change this to the CNAME hostname of your Gandi’s vhost.

2 thoughts on “Koken bug : api loopback”

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.