View more context

 

wmk

yup, but then they can also accidently overwrite the original one

Dennis Basa Guinto

Hi guys! I'm working on this old project with SS3.1.13. Running a BuildTask seems to return a redirect to the login page.

  1. [~/www]# /usr/bin/php /home/some-project/www/framework/cli-script.php dev/tasks/SomeTask
  2. Status: 302 Found
  3. X-Powered-By: PHP/5.6.15

Dennis Basa Guinto

Just hoping that someone who encountered this before knows of a solution.

Firesphere

Yes, to run tasks you need to be either in dev mode or be logged in usually.

Firesphere

Although running from CLI shouldn't require that...

Dennis Basa Guinto

Yes. I've done stuff like this before and I just encountered this issue here. Maybe it's just really old.

Dennis Basa Guinto

Anyway, I think I got it sorted out after a break. I just used sake and it runs fine.

👍 (1)