Opened 3 years ago

Closed 3 years ago

#1486868 closed Bugs (fixed)

Googie Spell stopped working after PHP 5.3.1/OpenSSL 0.9.8l update

Reported by: rosali Owned by:
Priority: 5 Milestone: 0.4-stable
Component: Core functionality Version: 0.4-beta
Severity: normal Keywords:
Cc:

Description

if ($fp = fsockopen($host, $port, $errno, $errstr, 30)){

$out = "POST $path HTTP/1.0\r\n";
$out .= "Host: $host\r\n";
$out .= "Content-Length: " . strlen($data) . "\r\n";
$out .= "Content-Type: application/x-www-form-urlencoded\r\n";
$out .= "Connection: Close\r\n\r\n";
$out .= $data;
fwrite($fp, $out);

while (!feof($fp))

$store .= fgets($fp, 128);

fclose($fp);

}

... returns "503 Moved".

My workaround is to use cURL.

See attached mods.

Attachments (4)

spell_googie.inc (3.6 KB) - added by rosali 3 years ago.
Kopie von spell_html_googie.inc (4.8 KB) - added by rosali 3 years ago.
spell_googie.2.inc (3.5 KB) - added by rosali 3 years ago.
spell_html_googie.inc (4.8 KB) - added by rosali 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by rosali

Changed 3 years ago by rosali

comment:1 Changed 3 years ago by rosali

spell_html_pspell.inc was attached by fault. How to remove? 'kopie von spell_html_googie.inc' is 'spell_html_googie.inc' ... I should not be so fast with the submit button ;-)

comment:2 Changed 3 years ago by rosali

  • Component changed from Addressbook to Core functionality
  • Milestone changed from later to 0.4-stable

comment:3 Changed 3 years ago by lacri

thx rosali works fine for me

comment:4 Changed 3 years ago by rosali

So had the same problem? I will post new files later. This ones are causing PHP warning log entries ...

comment:5 Changed 3 years ago by lacri

yes since updates from alec on spellchecking (trunk) in think since 8 Weeks.

thanks Rosali

Changed 3 years ago by rosali

Changed 3 years ago by rosali

comment:6 Changed 3 years ago by thomasb

  • Resolution set to fixed
  • Status changed from new to closed

Problem was ssl:// in HTTP header. Fixed in [52c0f762]

Note: See TracTickets for help on using tickets.