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


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: calendar_admin.pl problem  (Read 553 times)
0 Members and 1 Guest are viewing this topic.
turbonelly
New Member
*

Karma: 0
Offline Offline

Posts: 0

Web Developer


WWW
« on: July 19, 2006, 05:11:00 AM »

Getting a blank screen from calendar_admin.pl so assume script is terminating prematurely. Calendar.pl works fine. All permissions set correctly on FreeBSD virtual host and have tried changing $BASE-DIR manually and running debug.pl (all fine).

Server error log gives:

Undefined subroutine &main::populateTemplateVariables called at /virtual.../cgi-bin-local/calendar2/calendar_admin.pl line 66

and occasionally:

Can't locate DBFile.pm in @INC (@INC contains: /virtual/.../cgi-bin-local/calendar2/plugins /virtual.../cgi-bin-local/calendar2/lib /usr/local/lib/perl5/site_perl/5.8.2/mach /usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach /usr/local/lib/perl5/5.8.2 .) at /virtual.../cgi-bin-local/calendar2/calendar_admin.pl line 37

Many thanks in advance for any help,

Neil.

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #1 on: July 19, 2006, 10:48:00 AM »

Has it ever worked?

Are the paths reported *exactly* correct?

Dan O.

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

Logged
turbonelly
New Member
*

Karma: 0
Offline Offline

Posts: 0

Web Developer


WWW
« Reply #2 on: July 19, 2006, 11:10:00 AM »

Never worked.

The paths all look right apart from the ones for plugins and lib folders which should be like
cgi-bin-local/calendar2/calendarscript/plugins
rather than
cgi-bin-local/calendar2/plugins

How can I change the path to these without affecting the path to calendar.pl and calendar_admin.pl which are correct?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #3 on: July 19, 2006, 01:57:00 PM »

**
cgi-bin-local/calendar2/calendarscript/plugins
rather than
cgi-bin-local/calendar2/plugins
**

Are you certain cgi-bin-local/calendar2/plugins is where those files are?? The first looks correct.

** How can I change the path to these without affecting the path to calendar.pl and calendar_admin.pl which are correct? **

You can't and the above line isn't the path which sould be causing the problem, the /virtual.../cgi-bin-local/calendar2/lib
would be as that is where the stated missing file should be located and it too should be more like
/virtual.../cgi-bin-local/calendar2/calendarscript/lib  unless you defined other than the standard installation.

Dan O.

[This message has been edited by DanO (edited July 19, 2006).]

Logged
turbonelly
New Member
*

Karma: 0
Offline Offline

Posts: 0

Web Developer


WWW
« Reply #4 on: July 26, 2006, 08:25:00 AM »

**
Are you certain cgi-bin-local/calendar2/plugins is where those files are?? The first looks correct.
**

Dan, that's what I was saying - the paths should be like
cgi-bin-local/calendar2/calendarscript/plugins
rather than
cgi-bin-local/calendar2/plugins

Surely this must be causing a problem?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #5 on: July 29, 2006, 04:01:00 PM »

** that's what I was saying - the paths should be like cgi-bin-local/calendar2/calendarscript/plugins **

Than set the $BASE_DIR variable in the (3) scripts.

Dan O.

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

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