Hi,
I have a calendar page which actually loads fine.
The calendar code starts like this.
Code:
require_once("include/inc_calendar.class.php");
$oCalendar = new inc_calendar();
$month = $_REQUEST['month'];
$year = $_REQUEST['year'];
$oCalendar->dateNow($month,$year);
Though I am able to see the calendar, each time I navigate to this page the errorlog logs the below notice.
I believe that the notice is indicating that the index value month is not set.
Please suggest measures to fix this.
Code:
[Sat May 03 14:29:50 2008] [error] [client 127.0.0.1] PHP Notice: Undefined index: year in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mysite\\view_calendar.php on line 5, referer: http://localhost:8080/mysite/menu.php
[Sat May 03 14:32:08 2008] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant sortcriteria - assumed 'sortcriteria' in C:\\Program Files\\Apache Group\\Apache2\\htdocs\\mysite\\kbmain.php on line 43, referer: http://localhost:8080/mysite/kbcategory.php :)
Thank you
Sriram