First time here? Check out the FAQ!
1

callback invoke error: error on upvote
 

I get a callback invoke error on upvote/downvote/mark correct answer. My nginx server logs seems to suggest something is wrong with the POST request.

2012/11/20 05:33:33 [error] 200#0: *835 "/home/dotcloud/current/www/home/questions/2/vote/index.html" is not found (2: No such file or directory), client: 10.159.0.149, server: localhost, request: "POST /questions/2/vote/ HTTP/1.1", host: "recem-shoibalc.dotcloud.com", referrer: "http://recem-shoibalc.dotcloud.com/forum/question/2/how-do-i-write-math-on-the-forum/"

What is the resolution here?

Everythin else works fine.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
shoibalc's avatar
11
shoibalc
asked 12 years ago, updated 12 years ago

Comments

see more comments

1 Answer

0

This has something to do with the "root url" of your site being other than "/". I will follow up on this tomorrow and hopefully find a fix.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
answered 12 years ago
link

Comments

Askbot is running at http://recem-shoibalc.dotcloud.com/forum/questions/ I use nginx to manage traffic to it. Here's the relevant part of nginx.conf. location /forum/ { gzip off; include /etc/nginx/uwsgi_params; uwsgi_param SCRIPT_NAME /forum; uwsgi_modifier1 30; uwsgi_pass unix:///var/dotcloud/askbot.sock; uwsgi_param UWSGI_SCRIPT wsgi; include uwsgi_params; } What should I change in askbot's settings.py? Thanks a lot

shoibalc's avatar shoibalc (12 years ago)

Hi Evgeny. Can you suggest a fix for the problem. thanks.

shoibalc's avatar shoibalc (12 years ago)
see more comments