Back to LanguageTool Homepage - Privacy - Imprint

No errors found


(David) #1

I have just begun testing the tool and, after installing, I only get the message "No errors found", no matter what sort of mispelling I write.

Is the process working?


(Daniel Naber) #2

I have just begun testing the tool and, after installing, I only get
the message "No errors found", no matter what sort of mispelling I
write.

How exactly did you test and with what sentence? The most common error
is that people use "English" and don't get spelling corrections because
for some languages you need to specify a variant, e.g. "American
English", to get spell checking.

Regards
Daniel


(David) #3

Hello,

Thanks for your reply.

I have just copy'n'paste according to

http://www.languagetool.org/website-integration/

and when I click "check" I get "No errors found" with any text I write.


(Daniel Naber) #4

I have just copy'n'paste according to

http://www.languagetool.org/website-integration/ [1]

and when I click "check" I get "No errors found" with any text I
write.

Can you post the URL of the page where you are integrating
LanguageTool? Otherwise it's difficult to tell what might be wrong. You
could try Firebug (getfirebug.com) to see if the request to the proxy is
sent and what is returned.

Regards
Daniel


(David) #5

Hello,

The page for testing is http://sima.cat/langtool/.

I could not see any difference with the page you have for testing.

Thanks again.


(Daniel Naber) #6

The page for testing is http://sima.cat/langtool/ [1].

Firebug reveals this error message from proxy.php:

Warning: cannot yet handle MBCS in html_entity_decode()! in
p:\sima.www\langtool\proxy.php on line 7

This is probably because your version of PHP isn't recent enough. You
could try to upgrade it / ask your hosting company to upgrade it.

You can see which PHP version is active by creating a page with only
<?php phpinfo(); ?> in it and calling that.

Also, the error message says that curl_init() isn't supported. Your PHP
will need support for curl. This is also something that you need your
hosting company to help you with.

Regards
Daniel


(David) #7

Hello,

Thanks for your reply. I was on holidays in August.

PHP has been finally upgraded to version 5 and curl activated.

Now the error is "There was a problem communicating with the service. Try again in one minute."

I have tested proxy.php with curl.exe and got no response (blank result, nul, nothing).

I have recopied index.htm and proxy.php from install page, too, to avoid any outdated problem.

Thanks again,

DVD


(Daniel Naber) #8

Could you try commenting out this line from proxy.php?

curl_setopt($curl, CURLOPT_REFERER, $SERVER['HTTPREFERER']);

I have updated http://languagetool.org/website-integration/ a few days
ago, it now contains the "curl" command with which the proxy.php script
can be tested directly.


(David) #9

Hello,

I tried with that line both commented and uncommented and nothing changes.

Thanks again for your interest.


(Daniel Naber) #10

This will need to be debugged by someone who knows PHP and has access to the server. Sorry I cannot be more of a help.


(David) #11

I have access to the server and know PHP. What should I watch?


(Daniel Naber) #12

You will need to debug this. I'm not an expert in PHP, but turning on all PHP warnings and printing to see how far the script works might help.


(David) #13

I am debugging proxy.php and even showing all errors and warnings, the only response I get is "There was a problem communicating with the service. Try again in one minute."

What does that error mean?

Thanks.


(Daniel Naber) #14

Please see the curl command at http://languagetool.org/http-api/, you first need to get that working, i.e. it needs to return an XML file (with your proxy URL, not the one on languagetool.org).