View Full Version : Everyone - Find the path easily
12-11-01, 05:19 AM
For everyone trying to install miscellaneous perl scripts and are having trouble, download a little utility file called Perl Diver . It will tell you all your path and server information with the click of your mouse.
Here's how it works:
Go to: www.scriptsolutions.com
You don't need to configure anything!
FTP it to your CGI-Bin on your host server
Set chmod to 755
Go to your browser and pull up:
http://www.yoursite.com/cgi-bin/perldiver.cgi (or whatever it or you named it :) )
That's it! Hopefully this will resolve half of the problems that everyone is encountering.
12-12-01, 11:44 PM
I went there but I can't find Perldiver anywhere. Where is it?
12-13-01, 12:07 AM
hehe...my bad. I had the URL wrong. Here's the right one:
12-13-01, 12:22 AM
thanks - got it now.
I'm still working on my problem maybe this will help. I cannot access anything that is in my cgi-bin
I use FTP Commander and I cannot find any way to select upload in ASCII or binary. I don't know which it is doing. It uploads normal html pages to htdocs OK.
I also am having trouble with setting permissions. My cgi bin folder is set to drwxr-xr-x - which I believe is 755 (?) but the files inside are -rw-rw-r and I cannot seem to change them. These are things that I suspect might be problems.
12-13-01, 02:13 AM
You might consider getting a different FTP program to make it easier to set the permissions. CuteFTP and WSFTP Pro are two good choices.
If the directory is set to 755 but the files inside are not the same then that may not matter. However, the files inside the directory may have to be set at a certain permission. Usually it's a 644 or possibly 777 depending on what they are (if it's a .dat file for example it needs to be 'writable'). If they are .cgi or .pl they should be at 755.
i tried this on my site but it don't work
put hell i can't get anything to work on it
200 PORT command successful.
Opening data connection IP: 192.168.1.101 PORT: 3702.
150 Opening ASCII mode data connection for 'perldiver.cgi'.
7264 bytes send successful. (7.09 KBps) (00:00:01).
226 Transfer complete.
just to show it was in ascii mode
SITE CHMOD 755 perldiver.cgi
200 CHMOD command successful.
i did change the permissions
u can check it out yourself
but hell no go
some help would be nice
or either that or something it messed up with the server i'm on
thanks for any help
12-24-01, 05:03 AM
Sounds like you did everything right. What FTP program are you using? There's been some discussions about WSFTP Pro (new version) not setting the permissions.
The Perldiver program is pretty bullet proof as far as running it. There's no path to perl to set or anything of that nature. Just the chmod and away you go.
Let me know the FTP program. If you need, I can FTP to your site and try it. Just email me the info.
Well i use smart ftp i tried cute ftp and ws ftp
but that did help either
i pm'ed u the info to give it a shot yourself
well i got it to work but it only work in my htdocs folder
or should i get ahold for powweb and ask them bout it?
12-24-01, 07:12 AM
I was having the same problem with the perldiver but I wrote my URL without www. and everything went ok, I don't know why but it helped me, maybe it was just a coincidence.
Sim, I want know how to erase all my ikonboard stuff off. I deleted everything that I recognized as an ikonboard thing, but I still can't get it run, I even downloaded new version again. I think the is some kind of cookie thing inside so that I can't run installer.cgi again.
12-24-01, 07:17 AM
Try FTP Voyager at http://www.ftpvoyager.com/
12-24-01, 08:32 AM
Omni...you need to FTP to your site and delete the directories and files you set up for IB.
Also, and very important, be SURE that when you install it that you chmod ALL the directories as well. Including the 'ikonboard' directory (to 755) that you set up in your cgi-bin.
The instructions for installing IB are very specific. DON'T try to name the directories anything other than what they have there. PLUS, the ones in uppercase NEED to be in uppercase when you create them. Otherwise...no workie :)
If all else fails I do IB3.0 installs for $25 if anyone wants professional installation :)
12-24-01, 12:18 PM
Hi! me again,
I did everything correct as you did, I didn't change any name etc.
I am going to put those scripts outside my cgi-bin that is located in my htdocs, I have a feeling and a little bit of proof that it doesn't work inside the cgi-bin as most of the scripts instructed. I put my classified ad (yep, I have too many scripts to install for my little brain) outside and it started to work, I will did the same with my guest book and it's working good now, and I am going to do the same thing with my ikonboard, I'll let you know what happened. I am tired of trying different combination of chmod with my cgi-bin stuff.
Now, I have one little problem, I wonder if you can help me. I created 'classified' folder in my htdocs and inside I created 'classifieds' and put my banners and logos. If I define my $classdir = "www/d/dollarmaker/htdocs/classified"; and $htmldir = "classifieds"; my banners are showing fine, in fact everything except 'ad ads' is working. What should I do? When I post the ad it goes blank, the page, and there is no e-mail notification or record in my class. files. Oh, too long, sorry
12-24-01, 12:59 PM
I just installed IB3 three times on PowWeb servers this past week. ALL of them inside the cgi-bin. You can, however, run them from the htdocs directory but I wouldn't recommend it due to security issues.
In regards to your other question, you need to have the full path for the $htmldir= statement. Not just 'classifieds'. Also, be sure to chmod your directory folders as well :)
12-25-01, 07:32 AM
I still can't get my classifieds running. When I type full path to $htmldir it goes like this
opening logo.gif www/d/dollarmaker/htdocs/classified/www/d/dollarmaker/htdocs/classified/classifieds and can't find the picture.
So I naturally thought if I put only 'classifieds' it will be ok, and it is ok to find the logo. but it is not ok to send ads to the file, I recieved a dead.letter it said that my ad was posted and it gave me the first password and it counted 1. Ok You can see if you have time
I hope you are having a good time :)
12-25-01, 12:10 PM
Your path is all screwy. It's got a 'repeat' of your path in it:
I use the same script as you, E-Classifieds, on one of my sites. I'm positive that it will run in the cgi-bin as intended. It also requires a directory for the data in your htdocs directory.
Try setting it up this way:
chmod the 'classifieds' directory 755! then, chmod the classifieds.cgi file to 755.
The directory for your images needs to go under the htdocs directory, like this:
chmod it to 777 (the 'classifieds' directory and the /images directory).
Set the other permissions as indicated in the install instructions. Should run fine!
Here's mine as an example:
12-29-01, 03:57 AM
I tried this per the program instructions, set permissions right transferred with ascii etc and it still did not run it says internal server error? Now what?
12-29-01, 10:23 AM
Send me the config file so I can take a look at it. :)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.