Roundcube Spellcheck not working

rligg

Well-Known Member
Sep 16, 2003
275
0
166
Anyone know how I can fix this. Apache is compiled with Open SSL support. I see no errors related in the log. Spell just acts as if it is working, but reports no errors found when there is. Thanks.
 

blkjck

Well-Known Member
Sep 17, 2003
64
0
156
I never noticed it before, google plugin checks it as I type... I think I see the problem though. If you create two phpinfo test files
Code:
<?php phpinfo(); ?>
place one in
/usr/local/cpanel/base/3rdparty/roundcube/info.php Assuming that is your roundcube install directory.
and one in
/home/user/www/info.php
Once you have been authenticated through roundcube manually put in the info.php path. https://domain.com:2096/3rdparty/roundcube/info.php
And open the other in another tab. Now compare the ./configure line between each. Different php version and different configs '--with-openssl' is not under the cpanel port. When roundcube is being accessed in the 3rdparty path (port 2096) there is no openssl. How to fix it??? I don't know. I would think any changes made under cpanel config will be over written on update. Maybe the cpanel proxy works. http://forums.cpanel.net/showthread.php?t=67598 Someone else will need to answer this.
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
I never noticed it before, google plugin checks it as I type... I think I see the problem though. If you create two phpinfo test files
Code:
<?php phpinfo(); ?>
place one in
/usr/local/cpanel/base/3rdparty/roundcube/info.php Assuming that is your roundcube install directory.
and one in
/home/user/www/info.php
Once you have been authenticated through roundcube manually put in the info.php path. https://domain.com:2096/3rdparty/roundcube/info.php
And open the other in another tab. Now compare the ./configure line between each. Different php version and different configs '--with-openssl' is not under the cpanel port. When roundcube is being accessed in the 3rdparty path (port 2096) there is no openssl. How to fix it??? I don't know. I would think any changes made under cpanel config will be over written on update. Maybe the cpanel proxy works. http://forums.cpanel.net/showthread.php?t=67598 Someone else will need to answer this.

I will assume you are correct. I can't access the info.php in /home/user/www/info.php

shouldn't that be: ttp://servername/info.php ? I get file not found.

php info from roundcube port:

./configure --enable-static --with-ldap=/usr/local/cpanel/3rdparty --with-iconv --enable-mbstring --with-mbstring=all --enable-mbstr-enc-trans --with-gd --with-dom --enable-mbregex --with-zlib --with-jpeg --with-png --with-imap=../../bsd/imap --enable-ftp --with-gettext --with-xml --enable-track-vars --enable-sockets --with-mysql=/usr --with-pgsql --with-config-file-path=/usr/local/cpanel/3rdparty/etc --prefix=/usr/local/cpanel/3rdparty

No SSL

So anyone running roundcube under cpanel port does not have spell check working.
 

blkjck

Well-Known Member
Sep 17, 2003
64
0
156
Yeah if you put it in the www folder it would be domain.com/info.php If you created it from root check the ownership of the file to match the account name. Also if you have followed any of the security tweak guides you might have phpinfo set in the disabled functions in the sites php.ini disable_functions If set disabled you will get a message "Warning: phpinfo() has been disabled for security reasons..." instead. The cpanels php.ini it is not disabled.
If you are not looking to put roundcube site wide from the cpanel mail, you could install it in a user directory under www and just edit the config for the changes. A subdomain would be an option. It will then run under the normal php environment.
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
No I definitely need Roundcube sitewide. I know I can install it outside of cpanel's realm, but I want to keep it integrated with the rest.
 

rligg

Well-Known Member
Sep 16, 2003
275
0
166
So we can assume that spell check will not work for anyone who installs roundcube into /usr/local/cpanel/base
 

cPanelNick

Administrator
Staff member
Mar 9, 2015
3,481
35
208
cPanel Access Level
DataCenter Provider
curl isn't included in cPanel default php build. There is still a reliability issue on some platforms to work out before it is put in. It should _hopefully_ make it in the 11.23.4 release.
 

paulkoan

Well-Known Member
Nov 24, 2006
80
0
156
Has there been any progress with this?

Is it possible to enable curl and openssl in the 3rdparty php so that we can get spellcheck working?

Lots of customers asking for it.

Thanks,

Paul
 

paulkoan

Well-Known Member
Nov 24, 2006
80
0
156
We are running the latest RELEASE version, which is 11.24.2. And SSL is not enabled:

Code:
'./configure' '--enable-static' '--with-mcrypt=/usr/local/cpanel/3rdparty' '--with-ldap=/usr/local/cpanel/3rdparty'
 '--with-iconv' '--enable-mbstring' '--with-mbstring=all' '--enable-mbstr-enc-trans' '--with-gd' '--with-dom' '--enable-mbregex'
 '--with-zlib' '--with-jpeg' '--with-jpeg-dir=/usr/lib64' 
'--with-png' '--with-png-dir=/usr/lib64' '--with-imap=../../bsd/imap' '--enable-ftp' '--with-gettext' '--with-xml' '--enable-track-vars' '--enable-sockets' '--with-mysql=/usr/lib64' '--with-pgsql'
 '--enable-cgi' '--with-config-file-path=/usr/local/cpanel/3rdparty/etc' '--prefix=/usr/local/cpanel/3rdparty'
Which version are you referring to, and when will it become RELEASE?

Thanks,

Paul
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
We are running the latest RELEASE version, which is 11.24.2. And SSL is not enabled:

Code:
'./configure' '--enable-static' '--with-mcrypt=/usr/local/cpanel/3rdparty' '--with-ldap=/usr/local/cpanel/3rdparty'
 '--with-iconv' '--enable-mbstring' '--with-mbstring=all' '--enable-mbstr-enc-trans' '--with-gd' '--with-dom' '--enable-mbregex'
 '--with-zlib' '--with-jpeg' '--with-jpeg-dir=/usr/lib64' 
'--with-png' '--with-png-dir=/usr/lib64' '--with-imap=../../bsd/imap' '--enable-ftp' '--with-gettext' '--with-xml' '--enable-track-vars' '--enable-sockets' '--with-mysql=/usr/lib64' '--with-pgsql'
 '--enable-cgi' '--with-config-file-path=/usr/local/cpanel/3rdparty/etc' '--prefix=/usr/local/cpanel/3rdparty'
Which version are you referring to, and when will it become RELEASE?

Thanks,

Paul
I'm looking at an unmodified /var/cpanel/easy/apache/profile/makecpphp.profile.yaml which is used by /scripts/makecpphp on cPanel 11.24.7-E37011. However, using an EA3 profile to configure cPanel's internal PHP has been in place for a while and should be on all builds.

Try just running /scripts/makecpphp to see if that alone adds CurlSSL support for you.
 

Dkeymel

Registered
Jul 10, 2008
3
0
51
Spell Check icon grayed out

I have come across this thread looking into why round cube spellcheck button was disabled. You can see it but not click it, its grayed out slightly. I looked into some things that might be a cause, and came across this thread. I have followed the direction here to rebuild the CPPHP and this included curl and such, but the issue still remains, the spell check appears to be disabled somehow. Any thoughts on whats causing this?
 

mikelegg

Well-Known Member
Mar 29, 2005
330
3
166
Open usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php

and make sure that this line is NOT commented out -
$rcmail_config['enable_spellcheck'] = TRUE;

and that this one IS commented out -
$rcmail_config['enable_spellcheck'] = FALSE;
 

mikelegg

Well-Known Member
Mar 29, 2005
330
3
166
I've just realised that my Roundcube spell checker isn't working either.

Even though I've compiled Apache/PHP with all of the necessary requirements, I've just realised that Roundcube runs on an entirely different PHP installation (presumably cPanel's own internal one)

So how do I modify this installation to include the necessary components to allow the spell checker to run?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
I've just realised that my Roundcube spell checker isn't working either.

Even though I've compiled Apache/PHP with all of the necessary requirements, I've just realised that Roundcube runs on an entirely different PHP installation (presumably cPanel's own internal one)

So how do I modify this installation to include the necessary components to allow the spell checker to run?
As mentioned earlier in the thread you need to use /scripts/makecpphp to customize the PHP binary used by cPanel. Also you can craft a profile via EasyApache to be used with the makecpphp script.