Daniel Naber wrote:

> On 10.03.2013, 17:31:17 Dominique Pellé wrote:
>
> Hi Dominique,
>
>> <b>Notice</b>: Use of undefined constant ENT_HTML401- assumed
>> 'ENT_HTML401' in
>
> that constant was added in PHP 5.4.0 so you need that or a later version.
> Or could you try if it works when you remove "ENT_HTML401" from proxy.php?

I tried that (since doc says that the values used are the
default anyway), but then another constant was unknown
(CURLOPT_SSLVERSION) a few lines below.  I commented
the line setting CURLOPT_SSL_VERSION in proxy.php,
but then I see this error:

There was a problem communicating with the service. Try again in one minute

At that point I stopped. I don't need to run the demo anyway.
It was just an experiment. I can't change the php version on
free.fr server of course. It's using an old version: php-5.1.3RC4-dev
which causes those problems.

> If PHP 5.4.0 is needed, I'll document that, but not needing
>  it would be even better.

I could not find a page indicating what version of PHP is needed
for those constants. But if you know which minimal PHP version
is needed, then the proxy.php script should check it and given a
clearer error. On the other hand, keeping it simple is also good.

Regards
Dominique

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Languagetool-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to