Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Authentication needed? #2

Closed
mirkosassetti opened this Issue · 2 comments

2 participants

@mirkosassetti

I can't get queuedjobs to work on a live server.
I setup the cron job (tried with cli-script.php and sake) and it appear to run, but every time i get this:

Status: 302 OK
X-Powered-By: PHP/5.3.8
Content-Type: text/html; charset="utf-8"
Location: /Security/login?BackURL=%2Fdev%2Ftasks%2FProcessJobQueueTask

That tell me that the request was redirect to login.

@nyeholt
Owner

That output looks like it's being caused by the "php" on your commandline actually being the CGI interpreter, not the true PHP cli binary. What does the output of php -v show? It should look like the following (the important bit being the (cli) thing in there

$ php -v
PHP 5.3.5-1ubuntu7 with Suhosin-Patch (cli)

You might actually have a proper cli binary available as php-cli or something like that, so try executing the cli-script.php using that instead?

@mirkosassetti

Solved.
It's amazing that no one among all the post in the forums I read had mentioned this ... :)
Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.