From: daniel a. <dab...@gm...> - 2011-04-12 13:40:02
|
Hey all!! Problem fixed adding date_default_timezone_set( "America/Sao_Paulo" ); right on the start of the script.... if somebody face this problems substitute "America/Sao_Paulo" for your timezone. ... and yes, I know nothing about PHP, I'm really sorry guys... lol Thx a lot!! Att, Daniel Hi Francisco, could you explain why installing mysar on "/usr/local/mysar" would solve that error? i'm afraid that maysar isn't "importing" the time system data when I execute the mysar-importer.php... is it associated with the directory? Unfortunatelly i've installed mysar again in that dir and the problem continues to appear I really need your help, guys Thanks! 2011/3/25 Francisco Arencibia Quesada <fra...@ch...> > Hi you must install mysar in this directory /usr/local/mysar/ > > and after create a virtual host for it..Please read the installation > instructions! > > Good Luck! > > > > Hi guys, > > > > My english isn't so accurate... I hope you understand what I'm typing :) > > ... > > > > I'm facing a kind of error message everytime I execute the > > mysar-importer.php > > > > here follows the message: > > > > *_PHP Warning: 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 'EDT/-4.0/DST' > > instead in /srv/www/htdocs/mysar/bin/mysar-importer.php on line 152* > > * > > * > > *PHP Warning: 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 'EDT/-4.0/DST' > > instead in /srv/www/htdocs/mysar/bin/mysar-importer.php on line 153* > > * > > * > > *PHP Warning: 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 > 'EDT/-4.0/DST' > > instead in /srv/www/htdocs/mysar/bin/mysar-importer.php on line 154* > > * > > * > > *PHP Warning: mktime(): 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 'EDT/-4.0/DST' > > instead in /srv/www/htdocs/mysar/bin/mysar-importer.php on line 107* > > > > It's created a kind of looping due those 4 messages appers a lot of > times, > > then it's suddenly finishes... can anyone help me with it? > > > > Thanks a lot!! > > > > -- > > Daniel > > > ------------------------------------------------------------------------------ > > Enable your software for Intel(R) Active Management Technology to meet > the > > growing manageability and security demands of your customers. Businesses > > are taking advantage of Intel(R) vPro (TM) technology - will your > software > > be a part of the solution? Download the Intel(R) Manageability Checker > > today! > > > http://p.sf.net/sfu/intel-dev2devmar_______________________________________________ > > mysar-support mailing list > > mys...@li... > > https://lists.sourceforge.net/lists/listinfo/mysar-support > > > > > -- > "Hay una fuerza motriz más poderosa que el vapor, la electricidad y la > energía atómica: la voluntad." > Albert Einstein. .. > > "One machine can do the work of fifty ordinary men. No machine can do the > work of one extraordinary man". > Elbert Hubbard US author (1856 - 1915) ... > > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > mysar-support mailing list > mys...@li... > https://lists.sourceforge.net/lists/listinfo/mysar-support > -- att, ** *Daniel Bridun* (11) 6566-6321 <http://www.polosit.com.br/> |