Hi Essam,
be sure you install all the appropriate modules -- you are missing
"DateTime".
Also, from my testing of RTx-Calendar-0.04 I had issues with DevelopMode
on + FastCGI -- it would break the calendar view. Turning it off works
nicely.
Lidio.
Date: Fri, 3 Aug 2007 15:21:53 +0000
From: "Essam EL MESSOUSSI" <[EMAIL PROTECTED]>
Subject: [rt-users] Re: Prob in installing RTx-Calendar-0.04
To: [email protected]
Hello everybody,
Finaly I replace in etc/RT_SiteConfig.pm the following line:
Set($HomepageComponents, [qw(MyResolvedTickets.OLD Quicksearch
OurOpenTickets MyResolvedTickets MyTickets MyClosedTickets MyModifiedTickets
MyAdminQueues MySupportQueues)]);
by the line
Set($HomepageComponents, [qw(MyResolvedTickets.OLD Quicksearch MyCalendar
OurOpenTickets MyResolvedTickets MyTickets MyClosedTickets MyModifiedTickets
MyAdminQueues MySupportQueues)]);
but when I Choose the "Calendar" in the menu "Tickets" it post me the
following error :
*System error*
*error:* Can't locate object method "today" via package "DateTime"
(perhaps you forgot to load "DateTime"?) at
/opt/rt3/share/html/Search/Calendar.html line 136.
*context:* *...*
*132:* my @DateTypes = qw/Created Starts Started Due LastUpdated
Resolved/; *133:*
*134:* my $rtdate = RT::Date->new($session{'CurrentUser'}); *135:*
*136:* my $today = DateTime->today; *137:* my $date =
RTx::Calendar::FirstMonday($Year, $Month + 1); *138:* my $end =
RTx::Calendar::LastSunday($Year, $Month + 1); *139:*
*140:* # use this to loop over days until $end *...*
*code stack:* /opt/rt3/share/html/Search/Calendar.html:136
/opt/rt3/share/html/autohandler:279
raw error <#raw>
please, if someone have any idea how to resolve this problem, I will be very
grateful.
Essam
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com