PDA

View Full Version : Refer a Friend Script problems


Paulanator
08-30-2001, 03:33 AM
I have recently moved to FQ, and had my script working great at the other location.

Now, I cannot get the darn thing to work correctly on this server.

It is a pretty simple script, one html doc, and one cgi script.

I have the html doc named referral_form.html calling

/cgi-bin/referral.cgi

The cgi doc has been saved in a perl editor, and no returns, and uploaded in ascii, also stripped returns out with the CNC tool.

The cgi script is called referral.cgi, and is at 755, and is the cgi-bin directory.

I have a domain redirected to the main domain, but I have even tried getting it to work in the main root domain directory, and it still comes up with a 500 error.

The logs say there is a compile error in the last line.

My brother has two domains very similar set up, and exact same script, and it works fine. In just testing it, my files work fine on his server. We are on different servers here, could they be set up different? Could the paths be different?

It almost seems like the send mail is not in the path

/usr/lib/sendmail

Any help or suggestions would be greatly appreciated!

dank
08-30-2001, 03:47 AM
My brother has two domains very similar set up, and exact same script, and it works fine.
When you say the exact same script, do you mean the exact same copy (file) of the same script or different copies of the exact same script? If the latter, I would suggest first trying his working copy and see if some mysterious little troll didn't slip into the testing phase... If that's not it, I can't think of anything else off hand that is a likely culprit.

Dan

Paulanator
08-30-2001, 04:05 AM
Originally posted by dank:

When you say the exact same script, do you mean the exact same copy (file) of the same script or different copies of the exact same script? If the latter, I would suggest first trying his working copy and see if some mysterious little troll didn't slip into the testing phase... If that's not it, I can't think of anything else off hand that is a likely culprit.

Dan

Thanks for the response Dan.

We used the same exact script. I set it up for what should have worked on my site, and it did not. Zipped up the two files, he loaded them on his site, and those files work.

He has this program running with his own files already, but as he tested it, it worked on his site with no changes on the files at all.

With that test, the only thing I can see is that there is some different paths or setup on my server?

Any other ideas appreciated!

www.ableworkshop.com

Terra
08-30-2001, 04:35 AM
I checked your script error log, and the error is plain as day... ;)

/big/dom/xpaulswood/logs_cgi/script

In short, you have a truncated file...

--
Terra
--$perl -c referral.cgi--
FutureQuest