Current time: 03-14-2025, 01:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
can mail-users change their password
Author Message
quci Offline


Posts: 3
Joined: Mar 2007
Reputation: 0
Post: #6
RE: can mail-users change their password
Hi kilburn

Sorry for my late reply, but I was very busy the last days.

kilburn Wrote:Can you post the full error message please (you may need to enable display_errors in php.ini)?

I already tried this. Also with display_errors enabled "Could not find Pear DB library" was the only message I got. Then I checked the code in functions.php and saw that the squirrelmail plugin change_sqlpass has a debug mode which will show PHP errors. I enabled the debug mode and then I saw that /usr/share/pear wasn't in the path list of the open_basedir php setting. I corrected this and now it's working like it should Smile so everything is good now! Thank you for your help and hope this thread is helpful for others facing the same problem.

Kind regards, quci

PS: The problem may only affect CentOS/RedHat based systems. I saw that the directory /usr/bin/php is already listed in the open_basedir setting set by ISPCP. This directory doesn't exists on my CentOS system, so I checked another server of mine running with ubuntu. There I saw that the directory php is existing but no pear directory under /usr/share. The directory /usr/share/php on Debian/Ubuntu systems contains the same stuff as the /usr/share/pear one on CentOS/RedHat systems. So I made a link named /usr/share/php pointing to my pear directory. This way I don't have to alter the way ISPCP works. To make it short: CentOS/RedHat users have to do a
$ ln -s /usr/share/pear /usr/share/php
on their server and change_sqlpass will immediately work.
(This post was last modified: 07-13-2008 12:52 PM by quci.)
07-13-2008 12:09 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Could not find Pear DB library - quci - 07-06-2008, 11:05 AM
RE: can mail-users change their password - quci - 07-13-2008 12:09 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)