Jump to:

23361 Posts in 18124 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Static Publisher Issue

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2
Go to End
Author Topic: 1595 Views
  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Static Publisher Issue Link to this post

    nope, tried permissions and ownership a few different ways. it's very odd.

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Static Publisher Issue Link to this post

    bumping this, really hoping somebody has an idea or suggestion of what to do. literally the last major step in a many months long project!

  • ttyl
    Avatar
    Community Member
    114 Posts

    Re: Static Publisher Issue Link to this post

    anybody?

  • hello_world
    Avatar
    Community Member
    17 Posts

    Re: Static Publisher Issue Link to this post

    ttyl says
    you have to be authenticated to do that ...

    You can also change Environment Type in _config.php like i do:

    // Tryb pracy (dev|live|test)
          if($_SERVER['REMOTE_ADDR'] =="<your_ip>") {$mode = "dev";} else {$mode ="live";}
          Director::set_environment_type($mode) ;

    Now You can induce /dev/buildcache from <your_ip> without authentication.
    I have a separate Cron server, so try with 127.0.0.1.
    I use this and work perfectly.

    best regards

    1595 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.