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)Newbie Needs Assistance with Installation
Pages: [1]   Go Down
Print
Author Topic: Newbie Needs Assistance with Installation  (Read 535 times)
0 Members and 1 Guest are viewing this topic.
Scott Heine
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« on: April 13, 2004, 12:27:00 PM »

I've run the install.bat file as follows:

"C:\CalendarScript\install.bat" www.compasschurch.info  USERNAME PASSWORD wwwroot/cgi-bin/calendar

Everything looks like it installs correctly. I've checked the directory via FTP and I see the following files in the folder:

    [calendarscript]
    calendar.pl
    calendar_admin.pl
    debug.pl
    history.txt
    readme.txt

And the [calendarscript] folder has a series of subdirectories -- cache, calendar, lib, plugins, etc. -- each with their own files.

So far, so good...

But when I try to load the calendar.pl file in my browser for the first time (http://www.compasschurch.info/cgi-bin/calendar/calendar.pl), I receive a page listing the following information:

------------------------------
CGI Error

The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

Can't locate asp.inc in @INC (@INC contains: D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib C:/Perl/lib C:/Perl/site/lib .) at D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\calendar.pl line 29.

BEGIN failed--compilation aborted at D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\calendar.pl line 41.
------------------------------

I'm really not sure how to proceed at this point. Any help?

Here is other pertinent information, in case this helps you know how to help me from here:


I'm running Windows XP and Internet Explorer, and have checked the directories manually using SmartFTP.

I've successfully installed other scripts to this site, but I admit that I'm a real beginner when it comes to all this stuff. Be gentle... *grin*

Our host is Applied Innovations (www.appliedi.net). Some information they've provided:

*  "Your entire virtual server is scriptable and is in essence a cgi-bin folder. If you wish to create a specific folder for your scripts feel free to create a folder and copy your cgi-bin applications into it. You can name this folder anything you like and some common choices are: cgi-bin, cgi, scripts, and so forth."

*  "Applied Innovations does support CGI scripts and has already linked PERL to the .cgi and .pl extensions. If you wish to run a PERL script simply end the name of the file with a .cgi or .pl extension and call it."

*  "The entire virtual server is enabled for scripting so you can actually name the folder anything you like. Also, if you plan to use perl scripts you'll want to end them with a .cgi or .pl. PHP scripts are ended with a .php and ASP scripts with a .asp."

*  "We currently support ActiveState Perl 5.6.X"

*  "Under Windows NT/2000 there is no physical Perl path, simply end the file with a .pl or .cgi and the Perl interpreter will be initiated."

[This message has been edited by Scott Heine (edited April 13, 2004).]

Logged
Scott Heine
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #1 on: April 13, 2004, 12:44:00 PM »

Additional info:  I ran the debug.pl (http://compasschurch.info/cgi-bin/calendar/debug.pl) and it came back with the following information. What is this "D:\webppliance\conf\domains\compass\Inetpub..." thing, since it appears not only in the "file does not exist" info from the debugger, but also the error messages I'm getting when trying to run calendar.pl or calendar_admin.pl?

------------------------------
CalendarScript Debugger

There were problems detected with the files or directories needed by CalendarScript. These problems may be caused by one of the following:

"The file does not exist" problems are usually caused by the $BASE_DIR path being incorrect.
"No READ access" and "No WRITE access" problems are usually caused by forgetting to CHMOD the files or directories after transfer, or not giving the correct permissions in Windows.
"The file was not transferred in ASCII mode" problems are caused by not explicitly transferring files in ASCII mode in your FTP program. Some FTP programs make it appear like you're transferring in ASCII mode, when in fact you're in "Auto" mode or something similar, and this can cause problems.

The files with problems are listed below.

Problem File/Dir
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/config.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/users.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/permissions.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/users.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/users.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/users.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/permissions.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/permissions.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/permissions.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/config.txt.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/ssi.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/permissions_list.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/command_list.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/events.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/schedule.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/config.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/events.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/events.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/schedule.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/schedule.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/schedule.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/config.txt.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/default/events.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/config.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/config.txt.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/events.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/events.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/events.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/events.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/schedule.id
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/schedule.lock
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/schedule.properties
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/calendars/_template/schedule.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/TimeLocal.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/calendars.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/CGISession.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/User.pm
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/Date.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/HTML.pm
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/flock.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/asp.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/DBFile.pm
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/DBFileUtil.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/Event.inc
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/SimpleDateFormat.pm
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/lib/ConfigFile.pm
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/plugins/plugins.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/plugins/command_list.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/plugins/permissions_list.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/plugins/plugin_files.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/validations.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/_footer.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/_header.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/add_edit_event.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/add_edit_field.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/add_edit_user.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/feedback.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/approve.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/calendar_settings.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/setup1.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/change_password.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/setup2.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/setup_complete.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/customize_event_fields.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/customize_user_fields.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/dates.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/edit_delete_events.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/edit_delete_users.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/error.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/login.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/main.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/permissions.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/permissions_error.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/PopupWindow.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/manage_calendars.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/select_calendar.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/selectbox.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/styles.css
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/tabnext.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/template.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/util.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/_command_list.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/admin_interface.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/template_preferences.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/schedule_event_recurring.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/AnchorPosition.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/CalendarPopup.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/GetDate.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/ColorPicker.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/TimeValidations.js
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/messages.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/add_edit_calendar.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/setup3.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/schedule_event_non_recur.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/import_events.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/admin/English/plugins.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/default/login.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/default/error.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/default/default.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/default/ssi.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/default/preferences.pl
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/default/preferences.txt
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/login.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/error.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/_view.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/day.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/event_detail.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/search.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/default.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/styles_scripts.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/oldstyle/ssi.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/simple/default.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/simple/error.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/simple/login.html
•The file does not exist
D:\webppliance\conf\domains\compass\Inetpub\wwwroot\cgi-bin\calendar\/calendarscript/templates/calendars/simple/ssi.html

Once this problem is fixed, please re-run this debugger to check for any further errors!

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #2 on: April 13, 2004, 01:51:00 PM »

** What is this "D:\webppliance\conf\domains\compass\Inetpub..." thing, **

That is the path on your host's server (computer) where the files are stored. You can not usually see that path when you log in via FTP, etc.

** "The file does not exist" problems are usually caused by the $BASE_DIR path being incorrect. **

Try opening the calendar.pl, calendar_admin.pl and debug.pl files in a text editor, un-comment the $BASE_DIR variable and setting it like:

$BASE_DIR = "D:/webppliance/conf/domains/compass/Inetpub/wwwroot/cgi-bin/calendar/calendarscript/";

(should be on one line)

Reupload the files in ascii mode and try it gain.

Dan O.

[This message has been edited by DanO (edited April 13, 2004).]

Logged
Scott Heine
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #3 on: April 13, 2004, 03:53:00 PM »

Okay, I changed the calendar.pl & calendar_admin.pl to uncomment the $BASE_DIR variable line and set it as you suggest, then ascii uploaded the files again. But I'm still getting the same error messages for calendar.pl, calendar_admin.pl, and debug.pl.

Other ideas? (And THANKS for your help!!!!)

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #4 on: April 14, 2004, 09:10:00 PM »

** I'm still getting the same error messages **

Exactly identical??

Dan O.

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

Logged
bnjp
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: April 15, 2004, 12:52:00 PM »

Have you tried the Base_dir like this?  I don't know if it would work, but I saw someone do this once.

$BASE_DIR = "D:\\webppliance\\conf\\domains\\compass\\Inetpub\\wwwroot\\cgi-bin\\calendar\\calendarscript\\";

Hope this helps.  Since I'm the one who pointed you to Calendarscript I feel a little bit responsible.  

Bryan

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

Logged
Scott Heine
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #6 on: April 15, 2004, 01:36:00 PM »

Yeah, the error messages are the same with the new $BASE_DIR path. And trying it with the double slashes doesn't change it, either.

(You can see the problem at http://www.compasschurch.info/cgi-bin/calendar/calendar.pl  and http://www.compasschurch.info/cgi-bin/calendar/debug.pl).

I'm sure this is a totally dumb question, but does it have anything to do with the direction of the slashes? (i.e. "/" vs. "\")

In any case, here's the first few lines of my current calendar.pl file in case I've royally screwed it up by now:

------------------------------
#!/usr/bin/perl
#
# CalendarScript
# Version: 3.21
#
# Copyright 2003 Scott
# http://www.CalendarScript.com/
#

BEGIN {
   # CHANGE THE LINE BELOW IF NECESSARY
   # Be sure to remove the # before $BASE_DIR, and change the path between the quotes
        $BASE_DIR = "D:/webppliance/conf/domains/compass/Inetpub/wwwroot/cgi-bin/calendar/calendarscript/";
   
   # DO NOT CHANGE ANYTHING BELOW HERE!
------------------------------
(etc.)

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

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


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

** Yeah, the error messages are the same with the new $BASE_DIR path. And trying it with the double slashes doesn't change it, either. **

Previously you said, "I ran the debug.pl it came back with the following information...."

I said, "Try opening the calendar.pl, calendar_admin.pl and debug.pl files in a text editor, un-comment the $BASE_DIR variable and setting it like ... "

You replied, "Okay, I changed the calendar.pl & calendar_admin.pl to uncomment the $BASE_DIR variable line and set it as you suggest ... "

Did you do the same to the debug.pl file which I assume is still the one generating the error messages??

* does it have anything to do with the direction of the slashes? *

Unlikely since you said you tried it both ways.

JFYI. If you use backslashes ("\") you must escape them when inside a Perl script making each one a \\ as bnjp showed. AFAIK only Windows systems use paths formatted that way.

The simplest thing to do is to just use forward slashes for paths inside of CGI scripts. All servers should recognize them formatted that way.

Dan O.

[This message has been edited by DanO (edited April 15, 2004).]

Logged
bnjp
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: April 15, 2004, 02:45:00 PM »

Here's thread where someone had a similar problem.
http://www.calendarscript.com/support/forum/Forum2/HTML/000267.html

Are you SURE those files are there and that the BAT file installed everything?  I've never had good luck with the .bat file.  I've always uploaded everything manually and changed the config scripts manually.

Bryan

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

Logged
Scott Heine
New Member
*

Karma: 0
Offline Offline

Posts: 0

Pastor


WWW
« Reply #9 on: April 15, 2004, 04:45:00 PM »

Well, well, well... I took out all the files via FTP. Downloaded a fresh copy of the .ZIP file with the script. Built all the folders by hand via FTP, and moved over the script file by file once again. Suddenly... Walla! I've got a calendar! I can only assume something was messed up with the initial batch installation of the files (which, considering my lack of aptitude with this stuff, is no surprise).

In any case, so far so good. Now comes the tweaking. Thanks SOOOOOOO much for your help!!!!!

-- Scott

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

Logged
bnjp
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #10 on: April 15, 2004, 04:53:00 PM »

Cool. Glad you got it working.

See ya on the "other" forum.    Let me know if you want any of my templates.

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

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