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] 2   Go Down
Print
Author Topic: INSTALLATION WITH BAT FILE  (Read 3591 times)
0 Members and 2 Guests are viewing this topic.
TONY
Guest
« on: March 02, 2002, 12:53:00 AM »

Ok, I am telling you now that I am getting upset, and I will try not to ramble on indefinately here.

I want to instal the script, but the documentation that is provided on the website is not doing the trick.

I am running a windows machine, I have unzipped the file. I go to run the install where it will automatically FTP the program for me and set it up all nice and simple. The Problem is this:

HOW DO I CHANGE THE HOST NAME?
HOW DO I CHANGE THE USERNAME?
HOW DO I CHANGE THE PASSWORD?
HOW DO I CHANGE THE DIRECTORY?

These are all set to some weird settings, and I cannot for the life of me figure out how to change these settings.

All the help I can get on this would be helpful.

Logged
GoleyC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #1 on: March 02, 2002, 09:23:00 AM »


HOW DO I CHANGE THE HOST NAME?

You do not need to change the host name.

HOW DO I CHANGE THE USERNAME?

You do not change the username, there's one already setup for you when you login.  It will tell you what it is, but for your help, it will be "Administrator".

HOW DO I CHANGE THE PASSWORD?

The password is setup the first time you access the admin screen.  It ask for you to provide one, then you type in where the password would go the password you want.

HOW DO I CHANGE THE DIRECTORY?

The program, does this for you automatically.  It takes where you access the admin screen and login and places those paths in the config.txt file so that the next time you access the admin screen or view calendars, it has the correct paths already setup.

If your still having problems, let us know.

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

Logged
TONY
Guest
« Reply #2 on: March 03, 2002, 04:14:00 AM »

I do not think that you understand my plight.

The problem is this, I run the INSTALL.bat file and it is supposed to show the parameters that will allow it to connect to my ftp host and transfer the files automatically there. Well, the parameters are not correct. I need to change them so the program will connect to my web host and upload the files there for me. I cannot get to the admin page because there is no admin page to go to since the program is here on my Computer instead of on the server.

Does anyone know how to change these setings:

HOSTNAME:
USERNAME:
PASSWORD:
DIRECTORY:

IN the INSTALL.BAT file?

Logged
Scott
Guest
« Reply #3 on: March 03, 2002, 11:47:00 AM »

You pass those as parameters. See the documentation, or follow the instructions given when you run the batch file with no arguments. http://www.calendarscript.com/documentation/3.html

------------------
Scott
CalendarScript.com


Logged
TONY
Guest
« Reply #4 on: March 03, 2002, 08:44:00 PM »

OK, I need to know HOW to pass these parameters. I run the install program and nowhere does it ask me what these parameters should be. It just does it for me, but it is incorrect- someone , ANYONE please tell me this or we will have to get another script where people can provide support, thanks.
Logged
Scott
Guest
« Reply #5 on: March 03, 2002, 08:52:00 PM »

TONY, please don't resort to insults, it will get you nowhere.

Here's a line from the documentation:

An example: install.bat www.yoursite.com  username password www/cgi-bin/

There you go. Go to a command prompt, and type install.bat, followed by each parameter separated by a space. That's it.

If you run install.bat all by itself without any arguments, it should give you instructions on how to pass the parameters.

Of course, if for some reason this doesn't work you can install manually also.

Does that make sense?

------------------
Scott
CalendarScript.com


Logged
kymm
New Member
*

Karma: 0
Offline Offline

Posts: 0

Web Developer


WWW
« Reply #6 on: February 06, 2004, 01:30:00 PM »

Matt,

I'm glad you posted the exact instructions for using the BAT file. For those of us who aren't Command Prompt Friendly, it wasn't clear in the documentation *how* to "run the parameters". If you have time, I'm sure people would appreciate your adding step by step instructions to the documentation about running the BAT.

Now, having said that, I'm curious about that BAT. I'm following the instructions and am getting an error in the Command Prompt. It says "install.bat is not recognized as an internal or external command, operable program, or batch file."

I tried changing directories to the exact directory and entering the info again. Then I get "C: www.mysite.com  username password..." and also "C:\ is not  recognized as an internal or external command, operable program, or batch file." Where the heck is the C: coming from? I didn't type it and I wasn't even on the C: drive when I entered the parameters.

What am I doing wrong?

Thanks,
Kymm


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

[This message has been edited by kymm (edited February 06, 2004).]

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: February 06, 2004, 05:59:00 PM »

Kymm,

Do you have an FTP program?

Dan O.

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

Logged
liberty
Guest
« Reply #8 on: March 04, 2004, 12:38:00 AM »

i see everyone here seems to be having trouble using the install file.  the "install.bat" file does not seem valid. i viewed the file with notepad and this was the sole content:
"C:\ www.mysite.com  username password /home/user/cgi-bin/"
this does not seem like a legit bat file

going to the command prompt and running...
c:/install.bat myactualsitename.com myactualusername mypassword public_html/calendar/
does not work
just doulbe clikcing the install.bat file does not work
it just opens a dos window with a c: prompt
trying to then run it from that window doe not work

the install.bat file does not work
it doesn't seem to be a legit file
Huh?

Logged
Scott
Guest
« Reply #9 on: March 05, 2004, 10:19:00 PM »

I just checked 3 times, and the install.bat file included in the zip file and the tar.gz file definitely _is_ valid, and is _not_ what you say here.

I'm totally confused as to why your file would only contain that line.

If you aren't familiar with how to go to a DOS prompt or how to run batch files from the command-line, then I would suggest having someone help you with the install.

------------------
Scott
CalendarScript.com


Logged
liberty
Guest
« Reply #10 on: March 06, 2004, 12:43:00 AM »

i don't know how it happened, but that was extent of my "install.bat" file. i just d/l'ed again and unzipped and it was a legit bat file.  somehow i must've overwrtitten the bat file??!

with the functional file i was able to install correctly.  i am just now testing, but it seems to be working.

thx.

Logged
bla
Guest
« Reply #11 on: May 04, 2005, 09:27:00 AM »

hello!
I'm wondering which program opens .bat files??
tnx for anwser in advance
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

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


WWW
« Reply #12 on: May 04, 2005, 09:21:00 PM »

** I'm wondering which program opens .bat files?? **

You can open it (and look at it or edit it ) in a in any text editor (Notepad, Textpad, etc.) not a word processor (Word?, Wordpad, MS Write, Wordstar, etc.)*.

.bat (short for batch) files are run by the operating system (DOS or Windows?).

JFYI

Dan O.

*It is possible but not recommended

[This message has been edited by DanO (edited May 04, 2005).]

Logged
frimpme
Guest
« Reply #13 on: May 27, 2005, 02:09:00 PM »

The way you *pass* the parameters to the install.bat is by simply adding the parameters after the command.

Details:
Let's assume your website is www.mywebsite.com,  and your username is "username" and your password is "password".  Let's also assume you unzipped your ZIP file to "c:\cs-unzipped\".  Finally, let's further assume your cgi folder is in "/htdocs/cgi-bin/" (but it might be significantly longer).

You'll open a command prompt (START -> RUN -> type "cmd" and hit ENTER) and change directory to where the install.bat file was unzipped to (type "cd \cs-unzipped\" and hit ENTER.  Your prompt should change to reflect.

Then (remember all the stuff we assumed at the beginning) you'll run the install.bat file.  If all the assumptions above are correct, then you would type "install www.mywebsite.com  username password /htdocs/cgi-bin/" and hit ENTER.

It should truly be that simple.

Logged
SHYC
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #14 on: August 17, 2005, 06:16:00 PM »

On my frist try I made it further than most here.

I was able to transfer the files using the install.bat, although the calendarscript folder was installed in the root folder not the cgi-bin folder where I think it is to go?

I tried running the calendar.pl file from both the cgi-bin that it was not located in and www.mysite.com\calendar.pl  location where it was located and in both cases got a file not found.

This is what I used to transfer the files.

C:\Documents and Settings\Owner\My Documents\My Documents\SHYC\CalendarScript install.bat www.mysite.com  username password /home/custX/userXXXX/cgi-bin/

Yet as I mentioned above it put the calendarscript folder and readme type docs in the root?

I have deleted all the files and folders off my server and wish to try again. Your help...Thank you, Russ

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

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