spell check : Tiny MCE editor - ssl

i am getting this error while i am enter some text and click on spellcheck icon in tinyMCE Editor..
Error response:
Warning: fsockopen(): php_network_getaddresses:
getaddrinfo failed: Temporary failure in name resolution in
/home/web/rattspar.se/scripts/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php
on line 86 Warning: fsockopen(): unable to connect to
ssl://www.google.com:443 (php_network_getaddresses: getaddrinfo failed:
Temporary failure in name resolution) in
/home/web/rattspar.se/scripts/tiny_mce/plugins/spellchecker/classes/GoogleSpell.php
on line 86 Could not open SSL connection to google.{"id":null,"result":[],"error":null}
help me out/uday

Hi finally i got the answer. we have to Un-comment the line extension=php_curl.dll and extension=php_openssl.dll in php.ini and then restart the server.;-)

Related

i am trying to run the command "pacman -Syu" on "msys2" and it doesn't work

I just installed the window64 version of msys2 and I try to update the package database and base packages running the "pacman -Syu" command.
I get this error :
$ pacman -Syu
:: Synchronizing package databases...
mingw32.db failed to download
mingw64.db failed to download
ucrt64.db failed to download
clang32.db failed to download
clang64.db failed to download
error: failed retrieving file 'mingw32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'ucrt64.db' from mirror.msys2.org : SSL connection timeout
warning: too many errors from mirror.msys2.org, skipping for the remainder of this transaction
error: failed retrieving file 'clang32.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'clang64.db' from mirror.msys2.org : SSL connection timeout
error: failed retrieving file 'mingw32.db' from repo.msys2.org : SSL connection timeout
if anyone has an idea i would appreciate it.

How to fix 'unknown user 'redis' in statoverride file'

I'm installing redis, everytime I run this command sudo apt install redis-server I got an unrecoverable fatal error
I already tried many solutions to completly remove redis, redis-server, but nothing worked, this is the error
dpkg: unrecoverable fatal error, aborting:
unknown user 'redis' in statoverride file
E: Sub-process /usr/bin/dpkg returned an error code (2)
I solved it by opening the statoverride file using
sudo nano /var/lib/dpkg/statoverride
then removing the line with the user called "redis" along with any blank lines.

How can I fix this bug with ScyllaDB?

I'm trying to work through the ScyllaDB tutorial series here: https://www.scylladb.com/2017/11/30/mutant-monitoring-system-day-1/
I've got a Docker container running (on Windows, using Powershell) and have cloned their repo, and run it with Docker Compose:
PS C:\repos\scylla-code-samples\mms> docker-compose up -d
mms_scylla-node3_1 is up-to-date
mms_scylla-node2_1 is up-to-date
Creating mms_scylla-node1_1 ... done
Trying to check its status with the nodetool returns a container restarting error:
PS C:\repos\scylla-code-samples\mms> docker exec -it mms_scylla-node1_1 nodetool status
>>
Error response from daemon: Container c2940e14078fcdbbcf70f60392b05eb3d5c90273a15970c8575aad46cd797a02 is restarting, wait until the container is running
The logs show these unexpected end of file errors:
2019-03-05T09:39:36.882128500Z /start.sh: line 36: syntax error: unexpected end of file
2019-03-05T09:40:38.038237500Z /start.sh: line 4: $'\r': command not found
2019-03-05T09:40:38.038383700Z /start.sh: line 36: syntax error: unexpected end of file
2019-03-05T09:41:38.922861400Z /start.sh: line 4: $'\r': command not found
2019-03-05T09:41:38.923067400Z /start.sh: line 36: syntax error: unexpected end of file
2019-03-05T09:42:39.801821900Z /start.sh: line 4: $'\r': command not found
2019-03-05T09:42:39.802078500Z /start.sh: line 36: syntax error: unexpected end of file
2019-03-05T09:43:40.696641100Z /start.sh: line 4: $'\r': command not found
2019-03-05T09:43:40.696928800Z /start.sh: line 36: syntax error: unexpected end of file
How can I fix this, preferably without writing code?
The \r is indicative of windows-style carriage returns, so maybe it is related to your Windows environment somehow. Advise is to try this on a Linux box, and in parallel open a bug with the scylla-code-samples.git project so that it can be fixed.
On windows, you can try using the Docker Toolbox which uses a Virtual Box based docker host rather than the one that's part of the new "Docker for Windows". This ensure that you are running on Linux without having a Linux box.
Even though it says "Legacy Desktop Solution" It still works well.
https://docs.docker.com/toolbox/toolbox_install_windows/

simplehtmldom - SSL operation failed with code 1. OpenSSL Error messages

I'm using http://simplehtmldom.sourceforge.net/ and file_get_contents() in my webApp. The file_get_contents() work fine on localhost. But when upload webApp on server(Windows server 2012 r2) i get this error. How to fix this error?
> Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Warning: file_get_contents(): Failed to enable crypto in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Warning: file_get_contents(https://www.markafoni.com/kadin/): failed to open stream: operation failed in E:\cfnic.com\includes\class\PHP_Simple_HTML_DOM_Parser.php on line 75
Fatal error: Call to a member function find() on boolean in E:\cfnic.com\includes\theme\category.php on line 159
You basically have to set the environment variable SSL_CERT_FILE to the path of the PEM file of the ssl-certificate downloaded from the following link : http://curl.haxx.se/ca/cacert.pem.
It took me a lot of time to figure this out.
For a detailed answer, you can have a look here: https://stackoverflow.com/questions/34590842/cannot-install-composer-on-mac-os-x/34617315

Apache does not install on FreeBSD 8.4

today i tried to install a Webserver on FreeBSD 8.4... I updated the ports, but apache gives me this message:
pkg_create: make_dist: tar command failed with code 256
*** Error code 1
Stop in /usr/ports/devel/p5-Locale-gettext.
*** Error code 1
Stop in /usr/ports/misc/help2man.
*** Error code 1
Stop in /usr/ports/misc/help2man.
*** Error code 1
Stop in /usr/ports/devel/autoconf.
*** Error code 1
Stop in /usr/ports/www/apache24.
*** Error code 1
Stop in /usr/ports/www/apache24.
How can I resolve?
Thank you and sorry for bad english
The error is probably in the line before the error cascade you posted.
The error is not in apache but in p5-Locale-gettext. Most likely it is missing some files.
Workaround:
cd /usr/ports/misc/help2man
make config
disable the NLS option
...and try again.
After this, i tried to install PHP 5.3, but i got this message
configure: error: xml2-config not found. Please check your libxml2 installation.
And it says to give you the config.log
Here you are:
http://notepad.cc/share/c8K36t3G3x