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
Calendar Script CommunitySetup and InstallationInstallation and Setup (Moderators: scott, DanO, Marty)Administrator Login not working in calender_admin.pl
Pages: [1]   Go Down
Print
Author Topic: Administrator Login not working in calender_admin.pl  (Read 423 times)
0 Members and 1 Guest are viewing this topic.
Pedro
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: January 24, 2004, 07:00:00 AM »

After many days of trying to get Calendar Creator to work on my site (my stupid mistakes) calendar.pl seems to work perfectly but not calendar_admin.pl

When I try to login using the calender_admin.pl script it crashes with the following error;

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


Running on W2K3 Server

IE6

Debug.pl said all was well

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: January 24, 2004, 02:56:00 PM »

Make sure the DBFile.pm file is in the calendarscript/lib directory.

Others have complained of similar errors and on at least a couple of instances uploading
fresh copies of the script in ascii mode solved the problem. If you originally downloaded the
.zip file, you might try the .tar.gz version if you continue to get the same (or other) errors.

Dan O.


[This message has been edited by DanO (edited January 24, 2004).]

Logged
Pedro
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: January 24, 2004, 08:34:00 PM »

Checked DanO, it's there. I've upload the scripts endless amounts of times using CuteFTF, FP2002, install.bat...you name it. Here are the error messages. Remeber calendar.pl work perfect.

Software error:
Can't locate DBFile.pm in @INC (@INC contains: /www/cal/plugins /www/cal/lib C:/Perl/lib C:/Perl/site/lib .) at \\atl.hosting.int\storage\IPSWX0018ATL2\user1011058\www\Cal\calendar_admin.pl line 37.
BEGIN failed--compilation aborted at \\atl.hosting.int\storage\IPSWX0018ATL2\user1011058\www\Cal\calendar_admin.pl line 48.
For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

CalendarScript Debugger
Success!
No problems were found with your installation.
You should be able to run calendar and calendar_admin successfully!

Lines of calendar_admin.pl that were edited
BEGIN {
   # CHANGE THE LINE BELOW IF NECESSARY
   # Be sure to remove the # before $BASE_DIR, and change the path between the quotes
     $BASE_DIR = "/www/cal/";

All the calendarscript files are in a directory called cal
   
   # DO NOT CHANGE ANYTHING BELOW HERE!


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

[This message has been edited by Pedro (edited January 24, 2004).]

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: January 24, 2004, 09:19:00 PM »

Well the error message says INC includes /www/cal/plugins but your server says the script is running at
www\Cal\calendar_admin.pl

Also, when the instructions say:
#$BASE_DIR = "/...change.to.full.file.path.of.dir.../calendarscript/";
I would think it means more like:
/atl.hosting.int/storage/IPSWX0018ATL2/user1011058/www/Cal/
or whatever the host's CGI FAQs says you should use.

** . I've upload the scripts endless amounts of times using CuteFTF, FP2002, **

I wouldn't trust FrontPage to tie my shoes and have heard some problems using CuteFTP as well. Most people I know only trust WS_FTP.

Did you try using the tar.gz archive files instead of the .zip files?

I don't know what else to suggest to you. Maybe someone else will offer a suggestion?

Dan O.

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

Logged
Pedro
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #4 on: February 07, 2004, 10:45:00 AM »

Calendar_admin.pl is still not working!

Software error:
Can't locate DBFile.pm in @INC (@INC contains: /www/calendar/calendarscript/plugins /www/calendar/calendarscript/lib C:/Perl/lib C:/Perl/site/lib .) at \\atl.hosting.int\storage\IPSWX0015ATL2\user1016777\www\calendar\calendar_admin.pl line 46.
BEGIN failed--compilation aborted at \\atl.hosting.int\storage\IPSWX0015ATL2\user1016777\www\calendar\calendar_admin.pl line 57.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

Below are some of the many paths I have tried without any success,
based on suggestions form the Support Forum.

I have even uploaded the DBFile.pm file to
/www/calendar/calendarscript/plugins etc and it stil does not work.

# $BASE_DIR = "\\atl.hosting.int\storage\IPSWX0015ATL2\user1016777\www\calendar\";
   # $BASE_DIR = "\www\calendar\";
   # $BASE_DIR = "\www\calendar\calendarscript";
   # $BASE_DIR = "\\atl.hosting.int\storage\IPSWX0015ATL2\user1016777\www\calendar\calendarscript";
   # $BASE_DIR = "www\calendar\calendarscript";
   # $BASE_DIR = "www/calendar/calendarscript";
   # $BASE_DIR = "/atl.hosting.int/storage/IPSWX0015ATL2/user1016777/www/calendar/calendarscript";
   # $BASE_DIR = "/www/calendar/calendarscript/lib";
   # $BASE_DIR = "www\calendar\calendarscript\";
     $BASE_DIR = "/www/calendar/calendarscript/";

Above are some of the paths that I have tried.

My files are in a directory www/calendar on and Interland NT 2003 Server Blue Halo plan.

Strangely;

1   Calender works perfectly
2   Debug says all is well and both should run OK
3   Calendar_admin.pl never has run as such I can't use what looks like a fantasic program.


I have been at this for 3 weeks, changing FTP program (Used FP 2002, CuteFTP MS_FTP), uloading 100's of time is ASCII mode, used the .TAR.GZ
file. I'm at a loss. Feel free to vist the site and see for yourself.
http://www.floridakeysvillas.com/rates.htm

If Calendar does not work can you suggest another similar program as I really need the functionality.

My biggest question is that how comes debug says all is well and caledar works fine and Admin doesn't move.

Thanks for any assistance.

Pedro (my username on the support forum)

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

Logged
Jay
Guest
« Reply #5 on: October 26, 2005, 10:08:00 AM »

Did you ever figure out the problem??  I'm having the SAME issue.. on a windows machine..
(hates windows)
-Jay
Logged
Pages: [1]   Go Up
Print
Jump to: