Gossamer Forum
Home : General : Perl Programming :

"Save as" while Executing links admin.cgi

Quote Reply
"Save as" while Executing links admin.cgi
hi,
after having uploaded my admin script of links2, i always get the "Save as" window of IE.

i tried uploading it in ASCII mode, chmoded it 755, and so... but nothing changed.

note : the other script are working just fine : nph-build.cgi... what solution do you have ?

thanks, bye.
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
Makes sure that your Perl path is correct in admin.cgi. Also make sure that you have properly referenced the required files in the admin.cgi file.

Regards.

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
yes, i also thought about the required files. they are correctly set and i checked them on the server.

i also made sure all required files were uploaded in ASCII mode.

what could it be???
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
Contact your Hosting Company to see what the problem is. I have provided all the suggestions that I thought would fix the problem.

Regards.

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
the problem is the result of bad coding..

most likely you modded nph-build.cgi and messed something up.. if you have error logs the problem can be easily fixed..

jerry
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
Is your server configured to allow nph files to run from the browser?

--mark
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
Eliot : done, i'm waiting for the answer

widgetz : well, it is not THAT modded, only the admin password mod... i looked more than twice at the code, but nothing wrong to me Frown

mark : i'm not sure to understand your remark, but all the nph-?????.cgi are working just fine (nph-build, nph-verify, etc.)

ok, i am going to upload the original (non modded) admin.cgi and let you know.

Thanks for the feedback, JeB.
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
save the file.. it should give you something useful.. IN links sql it returns the error..

jerry
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
In my experiences, a dowload prompt means that you are not sending the correct header info.


------------------
WFMY-TV Webmaster
Quote Reply
Re: "Save as" while Executing links admin.cgi In reply to
Chris071371 : Got it !

I just added

&html_print_headers();

in front of every function and all went perfect.

Thanks again to all links gurus ! JeB!