Menu

Date function errors out of the blue

Help
Bob
2012-05-06
2013-05-30
  • Bob

    Bob - 2012-05-06

    I am using V 4.3.0 SVN running php5.2.x  My site was running good until just the other day and I started getting date() errors all over the pages.
    I suspect that it is host related?  Any clues to what it might be so I can ask intelligent question of my host.

     
  • Bob

    Bob - 2012-05-06

    Sorry for the second post but I couldn't figure out how to edit my first post:
    My host info page said to put a .htaccess in the upper most directory of my application (PGV) with the lines:
    AddHandler custom-php .php .pcgi .phtml .inc .phtml~ .php~ .inc~ .html~
    Action custom-php /cgi-sys/php5.3
    That didn't seem to work either.

     
  • Stephen Arnold

    Stephen Arnold - 2012-05-06

    Looks like they updated your PHP into the 21st century (php 5.2 is ANCIENT). v5.3 requires you to specify the datetime function in your php.ini (either master, local or perhaps - in your case - your .htacess (ouch)).

    Simply GOOGLE this (or look through this or the webtrees forum) for threads about this function. It is not critical, but annoying, and easily remedied.
    -Stephen

     

Log in to post a comment.