Discussion Forums  >  Uncategorized

Replies: 4    Views: 235

cameijers
Aspiring developer
Profile
Posts: 3
Reg: Nov 12, 2011
Heerlen
30
11/13/11 07:53 AM (14 years ago)

BTServer 2.0: It is not safe to rely on the system's timezone settings.

Hi just installed the server. Got the webserver running at home with IIS serveral webpage en gaming server My SQL and PHP are the latest and i think i made a BOOBoo All works fine except a time issue preventing me making any apps After installation and login i get this Warning: 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 'Europe/Paris' for '1.0/no DST' instead in J:\cameijers\androidbt\includes\utilityFunctions.php on line 769 What do i change.???? Thanks in advance Chris
 
cameijers
Aspiring developer
Profile
Posts: 3
Reg: Nov 12, 2011
Heerlen
30
like
11/13/11 11:58 AM (14 years ago)
$gmdate = strtotime($theDate); $gmdate = date($dateFormatString, $gmdate - (3600*($offset)) ); return $gmdate; } in what do i change strtotime ????
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/14/11 01:21 AM (14 years ago)
This is because you are not running the package as it's designed. A windows box is not a LAMP stack. The package is designed to run on a LAMP stack, not a windows backend. Linux, Apache, MySql and PHP run different than PHP / mySQL on Windows. Windows IIS and PHP are NOT apache and Linux. Not sure what you'll need to change. Maybe you can figure it out and help others too? I'm guessing it's more than just the time issue.
 
cameijers
Aspiring developer
Profile
Posts: 3
Reg: Nov 12, 2011
Heerlen
30
like
11/15/11 09:11 AM (14 years ago)
Well it`s a generic setting so legit question. But thanks for the reply i will look into it and share the answer when i get it
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
11/15/11 11:04 AM (14 years ago)
Cool. Thx.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.