Menu

Call to undefined function: gregoriantojd() ?

Help
KosherJava
2003-08-12
2003-08-13
  • KosherJava

    KosherJava - 2003-08-12

    Hi,
    can anyone tell me what this means? I just moved my site to a new host and got the following error in 2.14 beta when using the setting of Use Hebrew Dates: Yes

    Fatal error: Call to undefined function: gregoriantojd() in /public_html/phpGedView/functions.php on line 1668

     
    • John Finlay

      John Finlay - 2003-08-12

      This is from the php.net site about the calendar functions that are used: http://us4.php.net/manual/en/ref.calendar.php

      "To get these functions to work, you have to compile PHP with --enable-calendar.

      The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions."

      It looks like I should move away from these functions, but I don't know the hebrew calendar well enough to write a gregorian to hebrew translator myself.

      --John

       
    • KosherJava

      KosherJava - 2003-08-13

      Thanks.
      The hosting company recompiled and all is working. Thanks again.  About implementing the calendar yourself, I don't think you should bother. It is very complex.

       

Log in to post a comment.