Mac OS X vanilla installation

1 view
Skip to first unread message

Mark Suman

unread,
Jan 20, 2010, 1:28:02 PM1/20/10
to zoop-...@googlegroups.com
I've run into a couple snags when setting this up on Mac OS X 10.6 (Client and Server).

1. I needed to go into php.ini and set the short_open_tag to On.
2. I'm getting an error about default time:
Warning: "strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' instead" in file /Users/eng/Developer/zoopframework/framework/vendor/smarty/lib/Smarty_Compiler.class.php ( on line 393)

What should I do for this second one? Is this something that zoop can handle out of the box?

Mark

Rick Gigger

unread,
Jan 22, 2010, 2:27:03 AM1/22/10
to zoop-...@googlegroups.com
On Jan 20, 2010, at 11:28 AM, Mark Suman wrote:

> I've run into a couple snags when setting this up on Mac OS X 10.6 (Client and Server).
>
> 1. I needed to go into php.ini and set the short_open_tag to On.

This was a problem with ZoneDefault in the basic stationary. I pushed a fix out to git hub.

> 2. I'm getting an error about default time:
> Warning: "strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' instead" in file /Users/eng/Developer/zoopframework/framework/vendor/smarty/lib/Smarty_Compiler.class.php ( on line 393)
>
> What should I do for this second one? Is this something that zoop can handle out of the box?

This is actually something that you just need to do when you configure PHP. There isn't really anything that Zoop or PHP can do about it out of the box. I think PHP used to try to figure it out but it was an error prone process so they now just prompt you to set it to whatever it ought to be.

Thanks,

Rick

Mark Suman

unread,
Jan 22, 2010, 9:34:48 AM1/22/10
to zoop-...@googlegroups.com

> 2. I'm getting an error about default time:
> Warning: "strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Denver' for 'MST/-7.0/no DST' instead" in file /Users/eng/Developer/zoopframework/framework/vendor/smarty/lib/Smarty_Compiler.class.php ( on line 393)
>
> What should I do for this second one? Is this something that zoop can handle out of the box?

This is actually something that you just need to do when you configure PHP.  There isn't really anything that Zoop or PHP can do about it out of the box.  I think PHP used to try to figure it out but it was an error prone process so they now just prompt you to set it to whatever it ought to be.

Yeah, I figured it out right after sending this email. I just needed to set the timezone to something. For Mac OS X users, this is something to keep in mind if using the built-in versions of Apache2 and PHP5.

Mark 
Reply all
Reply to author
Forward
0 new messages