From: Michael D. <md...@ho...> - 2006-04-03 11:29:05
|
Hi Tomas That sounded like a good idea, but I couldn't log in at all to webmail after doing that Changing ownership of the /var/www/squirrelmail-data folder to holisticgp(owner)/holisticgp (group) from holisticgp/ apache did NOT work either Sincerely Michael -----Original Message----- From: squ...@li... [mailto:squ...@li...] On Behalf Of Tomas Kuliavas Sent: Monday, 3 April 2006 8:08 PM To: squ...@li... Subject: RE: [SM-USERS] AddressBook Import-Export Plugin Error: default_pref file > $data_dir = "../../squirrelmail-data/"; Set it to $data_dir = SM_PATH . '../squirrelmail-data/'; If you set it to '../../squirrelmail-data/', plugins will look for data directory in /var/www/squirrelmail/squirrelmail-data/ and not in /var/www/squirrelmail-data/ If relative path is used in SquirrelMail, it must use SM_PATH constant and it must be relative to SquirrelMail top directory. > There is a default_pref file in /var/www/squirrelmail-data, it is 644, > owner again is holisticgp > > I uploaded test.php to the /squirrelmail dir --> via > www.holistigp.com.au/squirrelmail/test.php ---> PHP Version 4.3.2 etc etc > > I ran uname -v and uname - a - they were the commands I could find - and > that was all the info returned. Sorry. I could email the third party web > service provider, to get more info. Understand that is not really > sufficient > info > > Please advise what you can. > > Tomas, could it be that /var/www/squirrelmail-data is owned by apache, > rather than by holisticgp??? > > Sincerely > Michael > > > -----Original Message----- > From: squ...@li... > [mailto:squ...@li...] On Behalf Of Tomas > Kuliavas > Sent: Monday, 3 April 2006 6:42 PM > To: squ...@li... > Subject: Re: [SM-USERS] AddressBook Import-Export Plugin Error: > default_pref > file > >>>Please provide information about >> >>>used SquirrelMail data directory setting: >> /var/www/squirrelmail-data is 775, owned by apache >> (as is /var/www/squirrelmail-attachments but /var/www/squirrelmail >> itself >> is owned by holisticgp) > > what you have in SquirrelMail config.php $data_dir setting? > >>> data directory permissions and ownership: >> for files within /var/www/squirrelmail-data, all are owned by >> holisticgp, >> but files ending in .abook are 644 whereas those ending in .pref are 600 > > do you have default_pref file in /var/www/squirrelmail-data directory? > > ls -l /var/www/squirrelmail-data/default_pref > >>>php safe mode settings, >> No safe mode (when I run my test.php file) > > How do you run test.php script? > > Have you used '/usr/bin/php test.php' command or accessed > 'http://your-server/squirrelmail/test.php' URL? > >>>used OS, >> uname -v indicates: Linux Wed 18th Aug 2004 > > Could you be more specific? Which Linux distribution is used? Please > understand that there might be issues specific to some Linux distribution > and if you don't provide enough information .... > >>>used SquirrelMail version >> 1.4.4 >> >>>and any modification made in SquirrelMail scripts? >> None I am aware of >> >> Sincerely >> >> Michael >> >>>> Dear List >>>> cc Andy Brook Maintainer >>>> I have installed the addressBook Import-Export Plugin, but get the >>>> following when attempting to import a csv file: >>>> >>>> ERROR >>>> Error opening ../../data/default_pref >>>> Default preference file not found or not readable! >>>> >>>> I have looked at the advice at: >>>> http://www.squirrelmail.org/wiki/DataPermission >>>> but that does not help >>>> >>>> Any help would be appreciated >>> >>> Please provide information about used SquirrelMail data directory >>> setting, >>> data directory permissions and ownership, php safe mode settings, used >>> OS, >>> used SquirrelMail version and any modification made in SquirrelMail >>> scripts? >>> > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > -- > squirrelmail-users mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squ...@li... > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > -- > squirrelmail-users mailing list > Posting Guidelines: > http://www.squirrelmail.org/wiki/MailingListPostingGuidelines > List Address: squ...@li... > List Archives: > http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user > List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 > List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squ...@li... List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users |