Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions

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

Static Publisher Issue


Reply

12 Posts   1656 Views

Avatar
ttyl

9 October 2010 at 5:35am Community Member, 114 Posts

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

Avatar
ttyl

13 October 2010 at 7:50am Community Member, 114 Posts

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!

Avatar
ttyl

14 October 2010 at 3:12am Community Member, 114 Posts

anybody?

Avatar
hello_world

20 November 2010 at 5:32am (Last edited: 20 November 2010 5:36am), Community Member, 17 Posts

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