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--DBFile.pm Error  (Read 340 times)
0 Members and 1 Guest are viewing this topic.
troyhieb
New Member
*

Karma: 0
Offline Offline

Posts: 0

Network Administrator


WWW
« on: January 21, 2004, 09:46:00 AM »

Hello,

I've been getting the following error only when trying to run or use functions that use the calendar_admin.pl.

"Can't locate DBFile.pm in @INC (@INC contains: /atl.hosting.int/storage/IPSWX0018ATL2/user778450/www/cgi-bin/calendar/calendarscript/plugins /atl.hosting.int/storage/IPSWX0018ATL2/user778450/www/cgi-bin/calendar/calendarscript/lib C:/Perl/lib C:/Perl/site/lib .) at \\atl.hosting.int\storage\IPSWX0018ATL2\user778450\www\cgi-bin\calendar\calendar_admin.pl line 37.
BEGIN failed--compilation aborted at \\atl.hosting.int\storage\IPSWX0018ATL2\user778450\www\cgi-bin\calendar\calendar_admin.pl line 48."

I've downloaded the newest files from here and debug works fine with no errors, plus I can view all calendars.  I've also tried removing and reinstalling all files.

I've tried looking for a solution here, but haven't found one and I've run out of ideas.

Everything is still it's original default file names and it's on a Windows 2003 server.

Any help would be greatly appreciated.

Thanks,
Troy

Logged
troyhieb
New Member
*

Karma: 0
Offline Offline

Posts: 0

Network Administrator


WWW
« Reply #1 on: January 21, 2004, 11:15:00 AM »

I finally got it fixed.  I have no idea why, but only on the calendar_admin.pl file I had to set the $base_dir manually at the top of file where it's been REM'd out.

The calendar.pl file I can use with no problems without setting the $base_dir manually.

Troy

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

Logged
Pedro
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: January 24, 2004, 07:21:00 AM »

What did you set it to Troy the CGI directorry or the directory where the file that it cant find is?

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

Logged
troyhieb
New Member
*

Karma: 0
Offline Offline

Posts: 0

Network Administrator


WWW
« Reply #3 on: January 26, 2004, 08:58:00 AM »

I set it to "$BASE_DIR = "cgi-bin/calendar/calendarscript/"

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

Logged
troyhieb
New Member
*

Karma: 0
Offline Offline

Posts: 0

Network Administrator


WWW
« Reply #4 on: January 26, 2004, 09:02:00 AM »

I'd done some testing with the calendar_admin/pl file.  The regular calendar.pl file has one extra include line plus it also uses the DBFile.pm file, so I know it wasn't that file was corrupt.  I ended up added the extra include line to the first include of the admin file(which the DBFile.pm was the first) and the error change to the new include file.

The only thing I could try next was to try changing the path.  

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

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