The Technodrome Forums

The Technodrome Forums (http://forums.thetechnodrome.com/index.php)
-   Ninja Turtles Network (http://forums.thetechnodrome.com/forumdisplay.php?f=12)
-   -   CGI Form help! (http://forums.thetechnodrome.com/showthread.php?t=568)

HorseTechie 07-19-2002 02:04 PM

CGI Form help!
 
*long drawn out saaaaaaiii* yeah, yeah, yeah... I should be moving forward and finish off the NTN site design (I hope to get somewhere on that this Saturday, I hope!!)

But this little thorn in my side will not let me rest. On the Enterprise server site, I found this nifty little "freeware" cgi script for an order form. Unofrtuantely, since I'm still kinda rusty with Perl, I can't figure out what teh problem is. Everything else seems to be working, but the SMTP/email host for Neil's server looks to be giving me problems.

Soo... I wanna check, is it just that I gotta get the email host situation squared away with Neil.. or is there something else in the CGI script that I'm missing.

Here's the form, and I can sent yah the script for anyone who can help me!
http://www.entservers.com/apply.html

Krang 07-20-2002 06:26 AM

No, I don't think the problem is with the script, it has something to do with SMTP. I ran into the same problem when installing Ikonboard on Neil's server.

HorseTechie 07-20-2002 03:34 PM

Yeah... that's what I thought.

What had to be done to correct that? Or is it something that Neil has to situate.

Krang 07-21-2002 05:41 AM

Well, since it wasn't necessary for the Ikonboard to have the ability to send email, I just disabled the email functions on the board. I think Neil would have to have something on the server configured or installed to get SMTP working.

HorseTechie 07-30-2002 02:15 PM

And that, we are looking into now!

HorseTechie 08-02-2002 10:57 PM

Okay.. gotta new question, on the Newspro script (actually, this is for Krang)...

I have it working in it's general set up, but now I am running into problems having the "news.txt" code insertion to come up. I assume it's another lovely SSI problem again, because I get "HTTP Error 403 - Forbidden
Internet Explorer" error... when the file is named Index.shtml. But when I had the page as Index.htm, it did not even show. Also tried changing the "plug in"code to go to an absolute file path, still nothing.

I have noticed the index page will not come up if it's not saved exactly like "Index.htm", however.

Any other ideas?

Krang 08-03-2002 05:29 AM

I would have suggested using DirectoryIndex to point to Index.shtml if the server was running Apache, but since you can't use .htaccess files on IIS, try naming the file Default.asp and including news.txt like this:
Code:

<!--#include file="news.txt"-->
Also, make sure that news.txt is in a location accessible to the page including it (and to the NewsPro script), so it can't be in the cgi-bin or anywhere outside of the folder for NinjaTurtlesNetwork on the D: drive.

HorseTechie 08-03-2002 10:28 AM

Yeah, i had tried moving the news,txt file to the same area that the Index.htm page was, and had the plug in accordingly, but still nothing much.

But for the Default.asp... is that what i should try to rename the Index.htm file then?

Krang 08-04-2002 04:56 AM

Yep, just make sure to edit the default document first. If you have access to pcAnywhere, you can use the instructions here.


All times are GMT -6. The time now is 12:00 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.