Jump to:

4935 Posts in 16178 Topics by 1488 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Apple Macintosh install and operational issues

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

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

Page: 1 2 3
Go to End
Author Topic: 4068 Views
  • Maye
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    I appreciate your help guys,

    I'll be taking the php tutorials. Meanwhile I figured I should open the php.ini file with a text editor (I used Text Wrangler). Yet, after the search, I didn't find the "magic_quotes_gpc." All i found was:

    ; This directive describes the order in which PHP registers GET, POST, Cookie,
    ; Environment and Built-in variables (G, P, C, E & S respectively, often
    ; referred to as EGPCS or GPC). Registration is done from left to right, newer
    ; values override older values.
    variables_order = "EGPCS"

    ; This directive is deprecated. Use variables_order instead.
    gpc_order = "GPC"
    ; Magic quotes
    ;
    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off

    It looks like the wording changed. If I send you a copy of the php.ini file, would you look at it, and indicate me what I have to change?

    Thank you

    Attached Files
  • novaweb
    Avatar
    Community Member
    115 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Hi Maye,

    Please create a file called phpinfo.php and inside it write this:

    <?php phpinfo(); ?>

    Put this in your webroot on your computer (public_html, htdocs or www) then visit localhost/phpinfo.php in your browser.

    Then tell us what version of PHP you're running? (4.X.X or 5.X.X)

    Cheers,
    Josh

  • Maye
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Thank you Josh,

    It is PHP Version 5.3.6
    Why?

    Cheers

  • novaweb
    Avatar
    Community Member
    115 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Hi Maye,

    Are you using Apache/MySQL/Php you configured yourself, or are you using MAMP?

    I use MAMP on a Mac and have no issues with the Magic Quotes problem. If you configured your AMP yourself, I'd suggest downloading and installing MAMP, it's free.

    Cheers,
    Josh

  • Maye
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Thank you Josh,

    I downloaded MAMP before i posted the questions in the forum.

    I don't know then why i got this: "magic_quotes_gpc is set to '1' in php.ini. This should be turned off, as it can cause issues with cookies. More specifically, unserializing data stored in cookies."

    But now the thing is, I don't know how to enter/open and use the SilverStripe program. When I go to localhost/SilverStripe, all I get is:

    "Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS. You can now access the developer documentation, or begin the tutorials."

    But when I click on CMS, i have to enter an email and password, and it says:

    "Please choose an authentication method and enter your credentials to access the CMS."

    I don't remember myself setting up an email or password for SilverStripe, just for this forum.

    Is there something I am missing about SilverStripe installation?

    Maye

  • novaweb
    Avatar
    Community Member
    115 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Go to SilverStripe/mysite/_config.php and add this somewhere:

    Security::setDefaultAdmin('admin','password');

    and use admin in the email box, and password in the password box to log in.

    Cheers,
    Josh

  • Maye
    Avatar
    Community Member
    6 Posts

    Re: Apple Macintosh install and operational issues Link to this post

    Thank you!!

    4068 Views
Page: 1 2 3
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.