In the 4.2.3 version of PhpGedView running on PHP 5.5.3, Warning messages about the date() function requiring timezone information appear all over the page.
I have added the appropriate entry in php.ini to supply the timezone information:
date.timezone = "America/New_York"
but still the error message is displayed.
The weird thing is that once I have logged-in as the "admin" user, the error messages are no longer displayed.
Only after I log off of the "admin" account do I receive the error messages again.
To see these error messages, just visit my PhpGedView installation here:
In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.
Must be malformed in php.ini. This has been a requirement since PHP 5.2+ I believe. I am not familiar with PHP v5.5.3 as the latest stable release is PHP v5.3.3.
Be sure you are running the latest SVN code, not v4.2.3. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
And after changing (the right) php.ini, did you restart Apache to make use of it?
Also, if you've just gone to php 5.3.x you might need to investigate the error reporting option. If you haven't already set this, it might be an idea to.
error_reporting = E_ALL & ~E_DEPRECATED
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-10-25
Gads, yes, I'm running PHP 5.3.3 - not 5.5.3.
I did restart apache after making the update. I also suspected that the issue was a malformed php.ini and took the php.ini.rpmnew and modified it appropriately and it too did not resolve the issue.
The strange thing is that the error goes away after I've logged-in to the web site - it only seems to occur when authentications hasn't been completed. Also, I see other many other sites that use phpGenView that are also having the same issue.
I'll try the error_reporting change for now, but that is just masking the problem at hand.
Finally, is there any reason that there hasn't been a release of PhpGedView in about a year?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Annorax
If the PHP.INI is correct, you will need to update PGV with a tarball download as IIRC, this was addressed in a bug fix, after the release of 4.2.3, There are several important security flaw fixes and over 100 minor bug fixes since 4.2.3 was released.
As to the code, I guess you have not been reading these forums much, as there are numerous discussions about the new SF rules prohibiting (restricting) code and the decision by the lead programmer and most of the support crew to fork over the code to a new project, webtrees. PGV has no current lead programmer and there will be only minor updates until (if) someone assumes the role and takes up the sword. -Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2010-10-25
I did them wimpy thing and migrated to webtrees to get around this issue.
:-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the 4.2.3 version of PhpGedView running on PHP 5.5.3, Warning messages about the date() function requiring timezone information appear all over the page.
I have added the appropriate entry in php.ini to supply the timezone information:
date.timezone = "America/New_York"
but still the error message is displayed.
The weird thing is that once I have logged-in as the "admin" user, the error messages are no longer displayed.
Only after I log off of the "admin" account do I receive the error messages again.
To see these error messages, just visit my PhpGedView installation here:
http://www.krenim.org/phpGedView/
My phpinfo is available at http://www.krenim.org/phpinfo.php
Thanks!
Must be malformed in php.ini. This has been a requirement since PHP 5.2+ I believe. I am not familiar with PHP v5.5.3 as the latest stable release is PHP v5.3.3.
Be sure you are running the latest SVN code, not v4.2.3.
-Stephen
And after changing (the right) php.ini, did you restart Apache to make use of it?
Also, if you've just gone to php 5.3.x you might need to investigate the error reporting option. If you haven't already set this, it might be an idea to.
error_reporting = E_ALL & ~E_DEPRECATED
Gads, yes, I'm running PHP 5.3.3 - not 5.5.3.
I did restart apache after making the update. I also suspected that the issue was a malformed php.ini and took the php.ini.rpmnew and modified it appropriately and it too did not resolve the issue.
The strange thing is that the error goes away after I've logged-in to the web site - it only seems to occur when authentications hasn't been completed. Also, I see other many other sites that use phpGenView that are also having the same issue.
I'll try the error_reporting change for now, but that is just masking the problem at hand.
Finally, is there any reason that there hasn't been a release of PhpGedView in about a year?
Thanks!
Annorax
If the PHP.INI is correct, you will need to update PGV with a tarball download as IIRC, this was addressed in a bug fix, after the release of 4.2.3, There are several important security flaw fixes and over 100 minor bug fixes since 4.2.3 was released.
As to the code, I guess you have not been reading these forums much, as there are numerous discussions about the new SF rules prohibiting (restricting) code and the decision by the lead programmer and most of the support crew to fork over the code to a new project, webtrees. PGV has no current lead programmer and there will be only minor updates until (if) someone assumes the role and takes up the sword.
-Stephen
I did them wimpy thing and migrated to webtrees to get around this issue.
:-(