fresh install works great except PEAR error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

fresh install works great except PEAR error

Postby snowonweb » 23. October 2010 03:24

When I go to localhost/xampp and choose PEARinfo() I get the following errors

Warning: date() [function.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 '-4.0/DST' instead in C:\xampp\php\PEAR\PEAR\Info.php on line 911

PS. I am trying to run OSdate on localhost. It works fine except that during INSTALL I get an error

Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\wymarzonypartner.pl\libs\Pear\DB.php on line 311
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\wymarzonypartner.pl\libs\Pear\DB.php on line 384
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\wymarzonypartner.pl\libs\Pear\DB.php on line 889
Warning: strftime() [function.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/New_York' for '-4.0/DST' instead in C:\xampp\htdocs\wymarzonypartner.pl\libs\Smarty\Smarty_Compiler.class.php on line 400

Both seem to be related. I wonder where did I go wrong during installation.

Any Advice.
Thank You
snowonweb
 
Posts: 4
Joined: 23. October 2010 02:28

Re: fresh install works great except PEAR error

Postby Altrea » 23. October 2010 09:45

After xampp was unzipped do you run the command line tool setup_xampp.bat?
If not, you should do, because this script sets a default timezone in your php.ini.

Your problem with OSdate is different. The Version of OSdate you use does not support PHP 5.3
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11933
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: fresh install works great except PEAR error

Postby snowonweb » 23. October 2010 18:47

I did that and at the end it even tells you it changed the time zone to 'newyork..." Still the same error, so I ran setup_xampp with Admin privilages but still same error.

Warning: date() [function.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 '-4.0/DST' instead in C:\xampp\php\PEAR\PEAR\Info.php on line 911

i am such a noob. How can I fix it by editing the file?

Windows 7 x64
XAMPP 1.7.3
C:/xampp/
snowonweb
 
Posts: 4
Joined: 23. October 2010 02:28

Re: fresh install works great except PEAR error

Postby meows » 22. December 2010 01:43

I have the same problem with the Date, wish there was a fix. I was using 1.7.2 and did the update to 1.7.3 in hopes it would be fixed.

It did not work. I hope someone knows how to edit the line. :?:
Code: Select all
       $packages .= str_replace('{lastmodified}',
the line that is the error >>>  date('Y-m-d', $installed['lastmodified']),
                        $ptpl);

                }

                $packages .= '
meows
 
Posts: 44
Joined: 31. January 2007 10:28


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 255 guests