PDA

View Full Version : Help on psnews cgi script problem


scannepa
03-14-2007, 05:17 AM
I hope you guys can help me fix a little problem I am having with a cgi script. I recently moved my website from Hypermart hosting to Network Solutions and I am trying to re-install a cgi script. The cgi script I am using is PSNEWS. This script is a news posting cgi script. When I used this script on Hypermart, everything worked great, no problems. Now that I'm trying to use this script on Network Solutions I am running into a couple of problems. The first problem that I had was when I uploaded everything to the server and then chmoded it correctly, it didn't work. I contacted support and they fixed it somehow. I believe they chmoded the files to a different number other than 755, which I thought was what it should have been. Still waiting on an answer for that one. Anyway. So they got the script to run. I then tried to run the install program at http://www.scannepa.com/cgi-bin/psnews/psnews.cgi. When I go to the url the page comes up as it should. But when I hit submit, to log in, it then goes to this url http://www.scannepa.com/~1199975.1278557//cgi-bin/psnews/psnews.cgi. As you can see it inserts a section of numbers into the url throwing everything off. Now I had this problem with another cgi script before, and I contacted the author who told me to switch two pieces of coding and then after that it worked fine. I don't know how to fix this one and I humbly ask your help. Thanks guys.

KevinADC
03-14-2007, 08:12 AM
No code, no help. Too much code, no help. You have to narrow the problem down to a specific section of your script and post that section of the script.

Personally, I don't think you should use Network Solutions, I've seen tons of problems over the years related to trying to use scripts on ther servers.

scannepa
03-14-2007, 05:36 PM
Yes I can see why you think Network Solutions is a problem. I think I might just cut my loses and move back to hypermart. But I will try to post a piece of the code here.