On Tue, 10 Dec 2002, Jim Chivas wrote: Greetings:
Jonathon: For all the information I have given you about the pref not being seen but defaulting to the default pref. I thought I would try something else as a final test for today. I set the php.ini register_globals back to the insecure mode of 'on'. With this oldish sm 1.2.6 style setting I can now make changes to any options and they stay. Does this add any more information to my troubles. I set register_globals to off (more secure )when I changed from sm 1.2.6 to sm 1.2.10 as that is what I think is being stated we should do now. Comments? Jim > > On Tue, 10 Dec 2002, Jonathan Angliss wrote: > > > Hello Jim, > > On Tuesday, December 10, 2002, Jim Chivas wrote... > > > > >>>>> I have been trying out sm 1.2.10 with the same plugins as my old > > >>>>> 1.2.6 version. I copied over my .pref file from the 1.2.6 area. > > >>>>> This included a couple of test filters to move certain emails to > > >>>>> another folder. When I now run 1.2.10 and look at my filters in > > >>>>> the options page I don't see any filters just the options to > > >>>>> create a new one or done. After logging out and look at my .pref > > >>>>> file in the data directory the lines that use to show the > > >>>>> filters are missing completely. > > > > >> What PHP are you using? And webserver? Browser? > > > > > php 4.2.1, apache 1.3.26, sun solaris platform. IE and netscape both > > > have same troubles. > > > > The browser itself shouldn't affect the saving of the preferences, so > > it'd seem somewhere along the lines, the loading of the prefs file is > > failing, and setting the defaults. > > > > > The more people I hear from the more the problem is that 'ALL' user > > > settings in the pref files are missing and appear to be at the > > > default ex: my personal options are now blank. > > > > Would it be possible to send me a sample .pref file from 1.2.6, you > > can remove any names and such, and if you have POP3 fetch stuff in > > there, that can be snipped out too. > > Will do. see attached files. > > I sent you my test email01 pref not the one for bsearle. > > A unix diff indicates a few differences. > > The other files in the data directory are ok. ex: notes addressbook. > > I do see errors in the apache log.(see attached). I generally ignore these > errors as I believe I have alwasy received these. DO these indicate my > problem or another problem all together. > > > # ls -la *sear* > -rw-rw-rw- 1 nobody nobody 0 Nov 28 13:11 bsearle.2002.cal > -rw-rw-rw- 1 nobody nobody 935 Dec 3 15:44 bsearle.abook > -rw-rw-rw- 1 nobody nobody 0 Oct 24 10:01 bsearle.notes > -rw------- 1 nobody nobody 1043 Dec 10 09:06 bsearle.pref > -rwx------ 1 nobody nobody 0 Dec 10 08:42 bsearle.si1 > -rw-rw-rw- 1 nobody nobody 171 Dec 10 08:42 bsearle.sig > # ls -ald > drwxrwx--- 2 nobody nobody 3072 Dec 10 09:07 . > # > > > > > > > WHat should the permissions be on the data directory. I have > > > included a sample users below. > > > > The data directory itself should be owned by the webserver user, and > > read/writeable by that user only. > > > > > Although the .pref permissions are the same as sm 1.2.6 I thought I > > > would change them to 660 and see if this helps. What I found was the > > > date stamp changed but the permissions were set back to 600. > > > > Yes, we make sure the file permissions don't get set to something > > ridiculous and allow anybody to read them. After all, sometimes some > > slightly sensitive information can be put in it, such as encrypted > > passwords in relation to POP3 retrieval. > > > > > # ls -ald > > > drwxrwx--- 2 nobody nobody 3072 Dec 10 09:07 . > > > # > > > > This is correct (if apache runs as nobody). > > > > > # ls -la *sear* > > > -rw-rw-rw- 1 nobody nobody 0 Nov 28 13:11 bsearle.2002.cal > > > -rw-rw-rw- 1 nobody nobody 935 Dec 3 15:44 bsearle.abook > > > -rw-rw-rw- 1 nobody nobody 0 Oct 24 10:01 bsearle.notes > > > -rw------- 1 nobody nobody 1043 Dec 10 09:06 bsearle.pref > > > -rwx------ 1 nobody nobody 0 Dec 10 08:42 bsearle.si1 > > > -rw-rw-rw- 1 nobody nobody 171 Dec 10 08:42 bsearle.sig > > > > Well, I can say you don't have a second signature, and your calendar, > > and notes files are both empty. Were they before? The default > > preference file with 1.2.11[cvs] (which will be the same going back to > > at least 1.2.7 and probably earlier) is 82bytes, so your files aren't > > being reset back, just not being read properly by the looks of it. > > > > >>> Does the other fact that I mentioned above about any other options > > >>> setting also not taking affect point to something else? > > > > >> Well, I was partially thinking a caching issue in your browser, or > > >> possibly on the server. When you log back in, I'm assuming your old > > >> settings are restored, but you have no filters listed in the > > >> file... > > > > > As mentioned above it looks like all users settings have been replaced by > > > the system defaults. > > > > This would appear to be so, as I said, only if it couldn't read the > > prefs files. > > > > -- > > Jonathan Angliss > > ([EMAIL PROTECTED]) > > > > > > -- --------------------------------------------------------------------- > > Jim Chivas email: [EMAIL PROTECTED] > Information And Computing services fax: (604) 323-5349 > Langara College Voice: (604) 323-5390 > 100 West 49th Avenue http://www.langara.bc.ca > Vancouver, B.C., Canada > V5Y 2Z6 > > > > -- --------------------------------------------------------------------- Jim Chivas email: [EMAIL PROTECTED] Information And Computing services fax: (604) 323-5349 Langara College Voice: (604) 323-5390 100 West 49th Avenue http://www.langara.bc.ca Vancouver, B.C., Canada V5Y 2Z6 ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
