WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#23342 new defect (bug)

php error is display when using the spellchecker with php that doesn't include the openssl module

Reported by: mark-k Owned by:
Priority: normal Milestone: Awaiting Review
Component: TinyMCE Version: 3.5
Severity: minor Keywords:
Cc: ian_dunn@…

Description

I get the following error when trying to spell check on wordpress running on vanila install of wamp

Error response: <br />
<b>Warning</b>: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://www.google.com:443 (Unable to find the socket transport &quot;ssl&quot; - did you forget to enable it when you configured PHP?) in <b>D:\wamp\www\wp342\wp-includes\js\tinymce\plugins\spellchecker\classes\GoogleSpell.php</b> on line <b>86</b><br /> Could not open SSL connection to google.{"id":null,"result":[],"error":null}

Enabling the module solves the problem.

Suggesting to made is something human readable if it is possible.

Change History (2)

comment:1 SergeyBiryukov5 months ago

  • Component changed from Editor to TinyMCE

comment:2 iandunn5 months ago

  • Cc ian_dunn@… added

It seems like the problem is actually with TinyMCE trying to open an SSL socket without checking if openssl is available, so it needs to be fixed upstream. I've opened bug 5702 on TinyMCE's tracker.

Note: See TracTickets for help on using tickets.