Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8026 Posts in 1851 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: 3.2 to 3.21 problem  (Read 419 times)
0 Members and 1 Guest are viewing this topic.
macuser
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: September 14, 2004, 12:47:00 PM »

Hi,

When I upgraded to 3.21 from 3.2,  I get the following error when I try to view the individual event from the populated calendar:

"ERROR PROCESSING TEMPLATE
There was an error in your template file. Below is the template file and also the perl code generated from it to help you with debugging.

Undefined subroutine &Template::getEvent2 called at (eval 1) line 66. "


The Line 66 says:
$EVENT2->{'schedule'} = &getEvent2($in{'event_id'});

Can u please help me out asap.

Thank You
macuser

P:S: additional info:
1.  I am using Mac OS X
2. Browser is Safari
3. Did chmod after uploading in ASCII mode
4. No change in extensions or $BASE_DIR
5. Did not try debug.pl
6. Checked the documentation, didn't find any relevant help

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: September 14, 2004, 01:05:00 PM »

** The Line 66 says: $EVENT2->{'schedule'} = &getEvent2($in{'event_id'}); **

Line 66 of what?

Dan O.

------------------

Logged
macuser
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: September 14, 2004, 01:29:00 PM »

Line 66 of generated template file from calendar.pl
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

Please don't PM me. Post in the open forum.


WWW
« Reply #3 on: September 14, 2004, 04:48:00 PM »

** Line 66 of generated template file from calendar.pl **

The calendar.pl uses (ie. reads) templates, it doesn't generate them. Since it can display any number of different templates, I'm afraid that doesn't help too much.

Are you using something other than the original default.html template as the calendar's main one??

There is a hack listed in the forum which uses getEvent2 (see Start/End Time on Event View). If you've use it, you may now need to redo it for the upgraded file(s).

Dan O.

------------------

Logged
macuser
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: September 14, 2004, 05:39:00 PM »

Yes,

That was the case, I had to modify the upgraded files (I.e calendar.pl)  with the getEvent2 function, as it was using the different template other then default.html which was calling getEvent2 function.

Thank You Very much.  Its working fine now, after the modifications.

macuser

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 221

Please don't PM me. Post in the open forum.


WWW
« Reply #5 on: September 15, 2004, 11:45:00 AM »

Glad to hear it.

Dan O.

------------------

Logged
macuser
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #6 on: September 15, 2004, 01:10:00 PM »

Hey,

Now I am facing this new problem that, whenver I request for calendar_admin.pl, instead of opening the admin file, my browser redirects me to some url- http://foo.example.com/cgi-bin/tester

Any idea whats wrong??

Please help asap...

Logged
macuser
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #7 on: September 15, 2004, 02:00:00 PM »

never mind...
I had to chmod -R 777 calendarscript

-macuser

Logged
Pages: [1]   Go Up
Print
Jump to: