rothkj1022 / phppickem

PHP Pick 'Em is a free php web application that allows you to host a weekly NFL pick 'em football pool on your website.
MIT License
30 stars 57 forks source link

Getting PHP errors relating to the timezone on various pages #2

Closed chrisyerkes closed 8 years ago

chrisyerkes commented 10 years ago

Hi, I just installed your app using 2013 data to see how it works and I'm getting a bunch of error messages throughout the app.

On the schedules.php page, I get this:

Strict Standards: strtotime(): 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/New_York' for 'EST/-5.0/no DST' instead in /homepages/32/d507359157/htdocs/pickem/schedules.php on line 79

on the results.php page:

Strict Standards: date(): 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/New_York' for 'EST/-5.0/no DST' instead in /homepages/32/d507359157/htdocs/pickem/results.php on line 11

on scores.php:

Strict Standards: strtotime(): 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/New_York' for 'EST/-5.0/no DST' instead in /homepages/32/d507359157/htdocs/pickem/scores.php on line 91

on schedule_edit.php:

Strict Standards: strtotime(): 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/New_York' for 'EST/-5.0/no DST' instead in /homepages/32/d507359157/htdocs/pickem/schedule_edit.php on line 217

I'm running PHP 5.4 on my server.

Let me know if you want access to my site to review. I can setup an admin account. Thanks.

chandler0207 commented 10 years ago

hi is this software any good?

XJonnyP commented 10 years ago

Hi chandler0207, the application is good. There are a few people who have contributed over the last year or so to make some enhancements. We're working with the original dev to bring those to people who want them.

Even without those, it's good. I've been using it for a few years.

chandler0207 commented 10 years ago

thank you trying to figure out how to install it on my server so i can play with it

On Fri, Mar 7, 2014 at 10:37 PM, Jon notifications@github.com wrote:

Hi chandler0207, the application is good. There are a few people who have contributed over the last year or so to make some enhancements. We're working with the original dev to bring those to people who want them.

Even without those, it's good. I've been using it for a few years.

Reply to this email directly or view it on GitHubhttps://github.com/rothkj1022/phppickem/issues/2#issuecomment-37089003 .

Live life to the fullest

hollywood-canuck commented 9 years ago

Would like to see a system wide change of time. Even if I set the offset, it doesn't change the start times of the games. Essentially anywhere there is a date/time, I would like to see it displayed with the offset, and I would like to be able to specify the timezone, so wherever it says EST, change to XXX to reflect my offset.

rothkj1022 commented 8 years ago

Some changes were made to handling timezones in v2.2.2. Please let me know if you have any further issues.

hollywodd-canuck: Unfortunately I do not plan on implementing your feature request. I plan on keeping all game times listed in Eastern time as NFL.com does.