Support Center

Recent questions

About Koken

This Help Center provides support for Koken, a free content management system designed for photographers, artists and designers.

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

API Error

Johannes

Sep 24, 2014 04:51AM EDT

Hey guys,

my Koken installation isn't working properly. I'm not checking my website daily, but first known occurrence was aber upgrade to Koken 0.18. Sometimes the site works, sometimes there is no image content, just the navigation sidebar, and sometimes I get the error message:

"The theme is not able to make contact with your Koken installation. Contact your host to see if they are blocking loopback connections."

I tried many calls to /api.php in my browser. The server responses sometimes contain the JSON string, and sometimes they are plain empty.

I turned on error reporting in api.php, but haven't seen a single PHP error.

Do you have any suggestions? There are no known general issues the the server.

Kind regards,
Johannes

Up 0 rated Down

Team NetObjects Koken Agent

Sep 24, 2014 11:50AM EDT

Johannes – Does the server have an error_log that you can access? Perhaps there is more info there on the failures.

Up 0 rated Down

Johannes

Oct 01, 2014 10:46PM EDT
Thanks Brad,

the error logs where empty, that's why it took some time to find the cause of my problem.

It turned out that I had a DNS lookup problem with cURL. Either cURL did not resolve my domain name at all, or cURL had a timeout after 5 seconds (as configured in Koken code), or cURL did resolve the domain and complete the request successfully. Either way the result of each request was undetermined.

As a (temporary) solution I wrote my domain name into my /etc/hosts file and now my Koken site works flawlessly again. I'll look into this problem again to fix this DNS issue properly.

Kind regards
Johannes

This question has received the maximum number of answers.

support@koken.me
http://assets0.desk.com/
false
koken
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete