Jump to:

4906 Posts in 7035 Topics by 1474 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » SS 3.0.3

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 218 Views
  • an_Eskimo
    Avatar
    Community Member
    10 Posts

    SS 3.0.3 Link to this post

    I have read a thread that mentioned that some anonymous functions might not work when using Silverstripe 3.* on a server that is running PHP 5.3 (in this case 5.3.3).

    I was wondering if this would effect parent::canEdit($member).

    As I have an effect that means that certain types of users can edit certain pages depending on their roles.

    Any help would be appreciated!

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: SS 3.0.3 Link to this post

    On 5.3.3 you just can't use '$this' (as it was introduced in 5.4)

    http://us2.php.net/manual/en/functions.anonymous.php

    218 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.