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.

Installing SilverStripe /

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

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

Apple Macintosh install and operational issues


Go to End
Reply


23 Posts   4396 Views

Avatar
Maye

Community Member, 6 Posts

5 March 2012 at 1:06pm

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
Avatar
novaweb

Community Member, 115 Posts

5 March 2012 at 1:13pm

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

Avatar
Maye

Community Member, 6 Posts

5 March 2012 at 2:04pm

Thank you Josh,

It is PHP Version 5.3.6
Why?

Cheers

Avatar
novaweb

Community Member, 115 Posts

5 March 2012 at 2:10pm

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

Avatar
Maye

Community Member, 6 Posts

5 March 2012 at 2:34pm

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

Avatar
novaweb

Community Member, 115 Posts

5 March 2012 at 2:37pm

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

Avatar
Maye

Community Member, 6 Posts

5 March 2012 at 5:01pm

Thank you!!

Go to Top