PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro Bug Reports (http://www.photopost.com/forum/photopost-pro-bug-reports/)
-   -   Problems with PHP 5.31 (http://www.photopost.com/forum/photopost-pro-bug-reports/142157-problems-php-5-31-a.html)

vFranky February 23rd, 2010 05:43 AM

Problems with PHP 5.31
 
Hello,

I upgraded to PHP 5.31 and get the following errors with PhotoPost 7.01 -->

Deprecated: Function ereg_replace() is deprecated in ...

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.

Warning: localtime() [function.localtime]


What can I do?

Kind regards,
Frank

Chuck S February 23rd, 2010 06:08 AM

Are you using the latest code? I mean because you should not be seeing ereg_replace errors

Your date issue could be maybe your date format what format did you place in global settings?

vFranky February 23rd, 2010 06:29 AM

Quote:

Originally Posted by Chuck S (Post 1262954)
Are you using the latest code? I mean because you should not be seeing ereg_replace errors.

My version is perhaps a month old. Not the newest 7.01.

Quote:

Originally Posted by Chuck S (Post 1262954)
Your date issue could be maybe your date format what format did you place in global settings?

dd.mm.yyyy

Chuck S February 23rd, 2010 07:23 AM

Okay well go ahead and update your files and lets see where we are.

vFranky April 14th, 2010 11:29 AM

Hello Chuck,

now I use the latest version of PhotoPost. My date format is dd.mm.yyyy. These are the errors when I activate PHP 5.3.2 -->

Warning: localtime() [function.localtime]: 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/Berlin' for 'CEST/2.0/DST' instead in /home/www/domains/aegypten-bilder.de/pp-inc.php on line 1924

Warning: localtime() [function.localtime]: 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/Berlin' for 'CEST/2.0/DST' instead in /home/www/domains/aegypten-bilder.de/pp-inc.php on line 1953


... and much more. :eek:

Any idea?
I reset PHP to 5.2.13.

Regards,
Frank

Chuck S April 14th, 2010 11:51 AM

well not without actually updating my site to 5.32 can I comment. Latest I can do is 5.3.1 currently

vFranky April 14th, 2010 12:05 PM

Quote:

Originally Posted by Chuck S (Post 1266778)
well not without actually updating my site to 5.32 can I comment. Latest I can do is 5.3.1 currently

I can only choose between 5.2.13 or 5.3.2. :(
Perhaps something with the german settings?

Chuck S April 14th, 2010 12:09 PM

well 5.2.13 works then

vFranky April 14th, 2010 04:24 PM

Quote:

Originally Posted by Chuck S (Post 1266785)
well 5.2.13 works then

Yes, 5.2.13 works.

Chuck S April 14th, 2010 09:40 PM

Okay thanks

vFranky April 15th, 2010 11:48 AM

Quote:

Originally Posted by Chuck S (Post 1266839)
Okay thanks

If found this informations: "Different timezone defaults in PHP 5.3", "Just use your correct timezone string instead of UTC" :confused::confused:

There must be some changes in PHP 5.3x. Perhaps no problem in your timezone, but in mine. :(

Here is a solution from Drupal, but should also work in PhotoPost?! -->

Code:

Content visible to verified customers only.

Chuck S April 15th, 2010 12:07 PM

ah got ya so its just something one would put in the global file thanks I will research and see if anything else is needed

vFranky April 15th, 2010 12:45 PM

Quote:

Originally Posted by Chuck S (Post 1266869)
ah got ya so its just something one would put in the global file thanks I will research and see if anything else is needed

Thank you in advance. B=0

Chuck S April 15th, 2010 10:29 PM

Not a problem my friend


All times are GMT -5. The time now is 11:29 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97