Ask Your Question
1

callback invoke error: error on upvote

asked 2012-11-19 23:46:01 -0500

shoibalc gravatar image

updated 2012-11-24 20:56:41 -0500

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-11-20 00:13:29 -0500

Evgeny gravatar image

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.

edit flag offensive delete link more

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 gravatar imageshoibalc ( 2012-11-20 00:57:53 -0500 )edit

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

shoibalc gravatar imageshoibalc ( 2012-11-24 20:52:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-11-19 23:46:01 -0500

Seen: 112 times

Last updated: Nov 24 '12