View previous topic :: View next topic |
Author |
Message |
Jimi_l -
Joined: 16 Dec 2005 Posts: 33 Location: NH USA
|
Posted: Tue Dec 27, 2005 2:23 am Post subject: Running Command |
|
|
Hi All,
I am attempting to install Perlfect Search search engine on my Web site and following the instructions has gone well until this point-
Run the setup utility with the following command: perl setup.pl
I am not sure where to run this or how. On my paid for server it seems to me I just typed in in the browser after the root dir I.E.
www.mysite.com/perl setup.pl
But I have tried every variation I can think of to no avail. I have Active Perl installed and am pretty sure all the associations are correct. Again following the instructions as I went seem to do the trick. I also tried running the installer from the perl package manager. It prompts for a Y or N and when I select Y it just vanishes.
I made a test .pl script, put it in the root folder and can access it from the Web. I put the install script there and tried to run it but got a "for security reasons this cannot be called from a CGI script" message.
Thanks in advance for any help,
Jimi_l |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Dec 27, 2005 11:02 am Post subject: |
|
|
try yoursite.com/setup.pl. I think the instructions mean to run it from a command prompt or a shell. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Jimi_l -
Joined: 16 Dec 2005 Posts: 33 Location: NH USA
|
Posted: Tue Dec 27, 2005 11:21 am Post subject: |
|
|
No luck,
I get the "for security reasons" message. I have tried both locally and externally.
Jimi_l |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Dec 27, 2005 11:23 am Post subject: |
|
|
"for security reasons this cannot be called from a CGI script"
It must have to be run from a command prompt or shell then. Try it. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
Jimi_l -
Joined: 16 Dec 2005 Posts: 33 Location: NH USA
|
Posted: Tue Dec 27, 2005 12:28 pm Post subject: |
|
|
The Perl package manager looks like a command line screen (DOS) but doing a search yeilds that is cannot find it in the "repository". I cannot seem to find where the repository is supposed to be from the documentation. There is a folder called repository in the Perl directory but none of the files in it are found when searching from the package manager.
I tried it from START>RUN and up comes the package manager with the CONTINUE Y/N option. Choosing Y just makes it go away.
Jimi_l |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Tue Dec 27, 2005 2:08 pm Post subject: Re: Running Command |
|
|
Jimi_l wrote: | Run the setup utility with the following command: perl setup.pl |
This translates into the following instructions:
* Go to Start > Run
* Type cmd and press the return key (if you are on Windows 95/98/ME, type command instead).
* The Windows command line window will be opened.
* Type there:
Code: | cd X:\path\to\script\dir |
Of course replace X:\path\to\script\dir with the actual full path of the directory where your script is. Press return.
* Type:
and press return. X: is to be replaced here with the drive where your script directory is (if it is for example in D:\Program Files\Abyss Web Server\htdocs, type D:).
* Now type:
and press return to run the setup script as instructed in the script documentation. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Jimi_l -
Joined: 16 Dec 2005 Posts: 33 Location: NH USA
|
Posted: Tue Dec 27, 2005 2:16 pm Post subject: |
|
|
Runs!
Well it says I am missing DB modules but I can fix that. Apparently you cannot CD to the program files (or any two word) directory in XP (too many parameters)?
I moved the uncompressed folder to root and it trys to install.
Thanks,
Jimi_l |
|
Back to top |
|
|
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Tue Dec 27, 2005 2:24 pm Post subject: |
|
|
Jimi_l wrote: | Apparently you cannot CD to the program files (or any two word) directory in XP (too many parameters)? |
Code: | cd "C:\Program Files\" |
_________________
|
|
Back to top |
|
|
Jimi_l -
Joined: 16 Dec 2005 Posts: 33 Location: NH USA
|
Posted: Tue Dec 27, 2005 3:03 pm Post subject: |
|
|
Nay,
Too many parameters
Jimi_l |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Dec 28, 2005 5:31 pm Post subject: |
|
|
Jimi_l,
Are you sure you launched cmd and not command? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
Jimi_l -
Joined: 16 Dec 2005 Posts: 33 Location: NH USA
|
Posted: Thu Dec 29, 2005 12:24 pm Post subject: |
|
|
Your are correct Sir. It does indeed work that way.
I never realized they envoked different results!!
Jimi_l |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Dec 29, 2005 1:38 pm Post subject: |
|
|
Jimi_l wrote: | I never realized they envoked different results!! |
cmd and command are not the same beast. command is the old legacy DOS command line shell. It does not support long file names (well this is not fully right, it can support them but it's painful) and does not know about command extensions.
cmd is the modern command line shell. It supports long file names and most of DOS commands are extended if invoked inside it (which results in several new options and parameters even for the standard cd or md commands). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|