Roundcube Community Forum

 

Fatal error: ini_set/set_include_path does not work.

Started by jpkelly, December 02, 2008, 05:41:43 PM

Previous topic - Next topic

jpkelly

I had RC 1.1 working fine on server with PHP 5.2.5. I tried upgrading to RC 2b and i get the error: "Fatal error: ini_set/set_include_path does not work."

Any ideas on how to fix this?

JohnDoh

take a look at #1484675 (ini_set-problem with RC on PHP 5.2.5) ? RoundCube Webmail ? Trac do you have any values set in your php.ini set with php_admin_value which RC is trying to override and cant?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more...

jpkelly

that was it.
php_admin_value include_path was set in my apache config.
thanks!

thug

Hello,

I have some problem about roundcube script. I setup RoundCube Webmail scripti to my server. It was working 2 months ago. However, I upgrade php version to 5.2.9 and it doesnt work now.

When i join folder that setup roundcube Mail script;

Fatal error: ini_set/set_include_path does not work.

it is giving error and  if i setup this script again;

Check for required 3rd party libs
This also checks if the include path is set correctly.


Net_SMTP: NOT OK(Failed to load Net/SMTP.php; See Net_SMTP)
Mail_mime: NOT OK(Failed to load Mail/mime.php; See Mail_Mime)
iilConnection: NOT OK(Failed to load lib/imap.inc)

Checking php.ini/.htaccess settings

magic_quotes_gpc: NOT OK(is '0', should be '1')

are giving error. How can i fix this error? Do u have any opinion ?

jrisberg

#4
My setup:
Plesk 9.5
PHP 5.3.2.1
Fedora Core 8 (I know)
Roundcube .85 installed in place of Horde

After a PHP upgrade broke Roundcube I went in circles with this error until I realized it meant that it couldn't define the include_path because it was already set elsewhere.

The solution in my case was to comment out the four instances of "php_admin_value include_path" in the /etc/httpd/conf.d/zzz_horde_vhost.conf file and restart apache. This cleared up the error immediately and Roundcube is working perfectly again.

It was frustrating to find many forum posts over the years asking for help with this error and no adequate responses other than the occasional "I fixed it -- nevermind" or "it's not a bug in Roundcube" non-response. Hope this is more helpful.

Joel Risberg

EthraZa

Quote from: jrisberg on February 07, 2013, 01:14:55 PM
My setup:
Plesk 9.5
PHP 5.3.2.1
Fedora Core 8 (I know)
Roundcube .85 installed in place of Horde

After a PHP upgrade broke Roundcube I went in circles with this error until I realized it meant that it couldn't define the include_path because it was already set elsewhere.

The solution in my case was to comment out the four instances of "php_admin_value include_path" in the /etc/httpd/conf.d/zzz_horde_vhost.conf file and restart apache. This cleared up the error immediately and Roundcube is working perfectly again.

It was frustrating to find many forum posts over the years asking for help with this error and no adequate responses other than the occasional "I fixed it -- nevermind" or "it's not a bug in Roundcube" non-response. Hope this is more helpful.

Joel Risberg

RC 1.4RC1 + PHP 7.1 here and I've just found out you are still right. Thank you sir.