Re: cgi error
I'm not sure, but in your CGI script, where you have
import cgi
or
import cgi
import cgitb; cgitb.enable()
there sometimes come error if place any other modules over it.
I don't now if it is that, 'cus i don't have seen more of your code.
so if your code is:
importFTPHost
import cgi
import cgitb; cgitb.enable()
#Some code here
# and here
... then prove this:
import cgi
import cgitb; cgitb.enable()
import FTPHost
#Some code here
# and here
.
Relevant Pages
- Re: Automatic chmod
... import cgitb; cgitb.enable ... import MySQLdb ... import cgi ... print '''Content-Type: text/plain ... (freebsd-questions) - Re: An error ?
... I am confronted with an odd question in the python cgi module! ... import cgitb; cgitb.enable ... but apache give me a 'Server internal error!' ... header from script. ... (comp.lang.python) - cgi undefined?
... I'm trying to learn how to use python for cgi scripting. ... import cgitb; cgitb.enable ... (comp.lang.python) - Re: Get parameters from URL using CGI
... import cgi ... import cgitb; cgitb.enable# Optional; for debugging only ... abcd wrote: ... (comp.lang.python) - dynamic lib ignored even after "found" in "install_driver(Oracle) failed: Cant load..." cgi problem
... here's a problem it seems a lot of people are seeing when running a CGI script ... after installing the the sqlplus client on my linux machine (and testing it on the command line, successfully connecting to our oracle db), and then installing the perl moduleneeded to make connections in perl scripts and cgis, i find, like so many others i've seen complain about this, that my cgi script runs fine from the command line, but fails when it is run as a CGI via my machine's apache webserver. ... (perl.dbi.users) |
|