Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Secure Files Module trunk r5 broken

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 998 Views
  • x75
    Avatar
    Community Member
    42 Posts

    Secure Files Module trunk r5 broken Link to this post

    Hi,

    i just downloaded the current Version of the SecureFiles Module and moved it to our Server. When I run /dev/build/?flush=1
    I get the following error:
    # SecureFilePermission
    Parse error: syntax error, unexpected T_STRING in /var/syscp/webs/x75/kwf/securefiles/code/SecureFileController.php on line 24

    It's SilverStripe 2.3.4.

    Anyone else get this error?
    Johannes

  • socks
    Avatar
    Community Member
    190 Posts

    Re: Secure Files Module trunk r5 broken Link to this post

    Looks like on line 23 it's missing the last quote
    $rewrite .= "RewriteBase " . (BASE_URL ? BASE_URL : "/") . "\n;

    $rewrite .= "RewriteBase " . (BASE_URL ? BASE_URL : "/") . "\n";

    I also found a carriage return after the ?> on a few of the PHP pages,
    But there is still some other bug that's causing an "Error Saving Content" in the Files & Images section.

    998 Views
Page: 1
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.