View more context

 

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)
r3v3rb

quick question, is there a way to have an SS install fall back to index.html when the framework/cms/modules are being upgraded easily in HTAccess?

dorsetdigital

Easily enough to to it manually in htaccess, if that's what you mean