View Full Version : No_path_translated


mark
05-12-2004, 10:20 AM
Hi

I've downloaded and installed the downloader script, sorted out my basepath and permissions and now am on to the following error:

clarahost2.clara.net:8080/error.cgi?e=NO_PATH_TRANSLATED

I get this if I either try to download something or log in as admin

my baspath.cgi script works fine (excepting that it finds the wrong path!)

My scripts can be activated from www.gracegs/downloadertest.htm

Do you have any ideas?

Jafo
05-12-2004, 07:02 PM
This would seem to me to be an error with your host and you should probably refer the question to them.

I think it may have something to do with Sendmail, or maybe your Sendmail path as it only happens when the script invokes it.

Please let me know what your host says.

mark
05-26-2004, 01:08 PM
Host says:

"Basically, the cgi_wrapper (used for .cgi scripts) does not rewrite the
SCRIPT_NAME variably, which would normally contain the URI to the
script. This means that any .cgi script will be presented with
SCRIPT_NAME as the cgi_wrapper itself.

"The script in question uses SCRIPT_NAME to populate the action field in
its html output. This obviously doesnt work.

"To fix the problem, they need to either use REQUEST_URI, or maybe fill
in manually the URI of the script instead of using SCRIPT_NAME. "

I've changed SERVER_NAME to REQUEST_URI and the script noew runs.