Hi 

I am getting the following the error messages when i run

./index.cgi 

Use of uninitialized value $SELF_URL in substitution (s///) at 
./index.cgi line 30.

Use of uninitialized value $params{"url"} in concatenation (.) 
or string at ./index.cgi line 54.

./translate.cgi

<h1>Software error:</h1>
<pre>No URL? at ./translate.cgi line 208.</pre>
<p>

# get value of URL param, make sure it's absolute

my $url = CGI->new->param ('url');
die "No URL?" unless $url;   // this is line 208   
$url = "http://$url"; unless ($url =~ m!^[a-z]+://!);

do i have to specify something here for url?

I have installed apache web server and tried executing the script
through another pc on my network and i got the following message when
i type the location of the html file which is on the server and 
click translate:

Insecure dependency in eval while running with -T switch at
/usr/share/perl5/HTTP/Message.pm line 390.

I think its the Html file location that i want to translate 
has just text and nothing else. Could this be the problem?

Any help would be appreciated as i have to give 
an online demonstration ?

Thanks

Vineet

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to