Go Back   Science Fiction Fantasy Chronicles: forums > General > The Lounge

The Lounge Take a chill pill and just relax in the general lounge area.

Closed Thread
 
LinkBack Thread Tools Rate Thread
Old 3rd October 2000, 11:01 AM   #1 (permalink)
First Prime of ASciFi
 
MythingLink's Avatar
 
Join Date: Jul 2000
Posts: 1,597
Angry

I'm trying to work with a very simple little cgi script and I've decided I just don't know what is happening with it. If there is someone out there who is proficient at cgi, could you please help me?

Thanks,
MythingLink is offline  
Old 4th October 2000, 02:57 AM   #2 (permalink)
THE Messiah
 
Corzafa's Avatar
 
Join Date: Aug 2000
Location: Australia
Posts: 937
hey mything what script is it??? and what kind??? i might be able to help.
Corzafa is offline  
Old 4th October 2000, 07:23 AM   #3 (permalink)
Aussies RULE the world
 
Martouf's Avatar
 
Join Date: Aug 2000
Posts: 4,288
cgi's a little beyond me Mything! But I'm good with basic html!
Corza has had 'history' with cgi scripts he would be as good as anyone to help!
Martouf is offline  
Old 4th October 2000, 08:15 AM   #4 (permalink)
System Lord of ASciFi.com
 
padders's Avatar
 
Join Date: Jul 2000
Posts: 2,133
I should be able to sort it out, send it over and i will have a look..

you set the paths correctly? if you have it on thehocket.com then you need

/usr/bin/perl/ as path to perl
/usr/sbin/sendmail/ as path to sendmail
and
/home/thehocket/www/cgi-bin as path to cgi-bin.

make sure you chmod to 755 or it won't work.

padders is offline  
Old 4th October 2000, 08:56 AM   #5 (permalink)
First Prime of ASciFi
 
MythingLink's Avatar
 
Join Date: Jul 2000
Posts: 1,597
I didn't put it on Hocket because I wasn't sure if it would work there, but I might do that and then you can take a look at it there - couldn't you? The problem is with the freakin' paths. Every server I've been on has different ways to do them and I'm continually confused.

It's a simple little cgi that writes the user input from a form to a viewable text file on the site. I can get all the pages to come up correctly, but it's not writing. All the permissions are set right too.

Cheers,
MythingLink is offline  
Old 4th October 2000, 09:28 AM   #6 (permalink)
First Prime of ASciFi
 
MythingLink's Avatar
 
Join Date: Jul 2000
Posts: 1,597
Guess what? I got it to work on the hocket. Now all I need to do is get the voting program to work and I'm all set. If you want to see what I'm working on, it's at http://www.thehocket.com/andromeda

Cheers,
MythingLink is offline  
Old 4th October 2000, 05:08 PM   #7 (permalink)
System Lord of ASciFi.com
 
padders's Avatar
 
Join Date: Jul 2000
Posts: 2,133
Do you need me to still take a look at the script then (the one you emailed)?

If it is not writing to a file then that is a permission error. One thing, sometimes servers don't like writing to files that are kept inside the cgi-bin so you may need to move the file that is to be written to outside the cgi-bin and then chmod it to 777 (essential for a file to be written to) then it should work ok.

Any problems ask away.
padders is offline  
Old 5th October 2000, 08:54 AM   #8 (permalink)
First Prime of ASciFi
 
MythingLink's Avatar
 
Join Date: Jul 2000
Posts: 1,597
Quote:
Do you need me to still take a look at the script then (the one you emailed)?
Yes please. I've tried having it write to a file in the Andromeda folder and in the cgi-bin folder. Neither one works. I'm going to play some more with it this morning, but after a couple of hours with it yesterday I just got frustrated.

Cheers,
MythingLink is offline  
Old 5th October 2000, 02:00 PM   #9 (permalink)
System Lord of ASciFi.com
 
padders's Avatar
 
Join Date: Jul 2000
Posts: 2,133
hehe, they have a habbit of doing that.

When i looked at your andromeda page there was a problem though, you were calling the script that was not in the cgi-bin. This will NOT work.

The script MUST be in the cgi bin. It is the data files that it writes to that may or may not need to be inside the cgi bin. If the poll program does not let you change where the datafiles go then maybe get a different one.

I will have a look but my problem is i am using my laptop that has none of my ftp, etc... programs on it and my normaly computer won't connect to the university ethernet for some reason. Bare with me though;
padders is offline  
Old 5th October 2000, 09:23 PM   #10 (permalink)
First Prime of ASciFi
 
MythingLink's Avatar
 
Join Date: Jul 2000
Posts: 1,597
The script on the page isn't the one I'm using. {G} I thought about using that one, but can't find all the pieces parts to it. I haven't changed the code yet on the page is all. The script I need checked is in the email I sent you. If you need me to send it again, I will. I don't want to post it here because it's password protected and I don't want to ... well you know.

Cheers,
MythingLink is offline  
Old 5th October 2000, 10:05 PM   #11 (permalink)
System Lord of ASciFi.com
 
padders's Avatar
 
Join Date: Jul 2000
Posts: 2,133
I will have a look, it is in the pile of emails... pain that my computer is not working correctly as i can't ftp.. need to get the program... agghh...

will try 2morrow if i can..
padders is offline  
Old 6th October 2000, 09:13 AM   #12 (permalink)
First Prime of ASciFi
 
MythingLink's Avatar
 
Join Date: Jul 2000
Posts: 1,597
I'm starting at the bottom of the list and moving up today. Don't want to get in a rut.

Thanks padders.

Cheers,
MythingLink is offline  
Old 6th October 2000, 10:02 AM   #13 (permalink)
System Lord of ASciFi.com
 
padders's Avatar
 
Join Date: Jul 2000
Posts: 2,133
lol

can i put a little hold on it, check out the thread about the andromeda site. We will have to work out how we are going to fit it in. I need to get the domain dns sorted out, will do that.. agghh.. so much!
padders is offline  
Closed Thread

« Padders | cybers »
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 02:41 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2 ©2011, Crawlability, Inc.