No errors found

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?

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

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.

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

Hello,

The page for testing is Index of /langtool/.

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

Thanks again.

The page for testing is Index of /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

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

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

curl_setopt($curl, CURLOPT_REFERER, $_SERVER[‘HTTP_REFERER’]);

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.

Hello,

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

Thanks again for your interest.

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.

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

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.

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.

Please see the curl command at LanguageTool 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).