Menu

Month view problems

Help
hodges
2008-11-24
2013-05-01
  • hodges

    hodges - 2008-11-24

    I get this on every day when I go to month view:

    Warning: date() expects parameter 2 to be long, string given in /Library/WebServer/Documents/scheduling/monthview.php on line 274

    Warning: date() expects parameter 2 to be long, string given in /Library/WebServer/Documents/scheduling/monthview.php on line 279

    Plus, if I try to click forward to the next month it refuses to go to Jan. 2009 - just skips back to Nov. 2008.

    ?????????????????

    Please and Thank You

     
    • Jeremy Shaver

      Jeremy Shaver - 2008-11-24

      Regarding the warnings, this is a known issue (although it is fixed in the SVN trunk). The solution:

      Edit lines 274 and 279 in monthview.php and add "0+" before the "$HTTP_POST_VARS['____time']" variable:

         if (date("m/d/Y",$datestamp) == date("m/d/Y",0+$HTTP_POST_VARS['starttime']) &  ...

        } elseif (date("m/d/Y",$datestamp) == date("m/d/Y",0+$HTTP_POST_VARS['endtime']) & ...

       
    • hodges

      hodges - 2008-12-10

      Thanks for the quick response.
      Tried the fix, but still no luck.

       

Log in to post a comment.