Running Squirrelmail 1.4.0 on Redhat Linux 8 with php-4.2.2-8.0.7 and apache httpd-2.0.40-11.5 (I hope that's enough info)
I have noticed some articles on the shared calendar and people clicking options for Calendars and Users and getting no results. I did a little research and here is what I found. Although I have no idea how to fix it correctly I did write a little fix that makes it work.
For some reason my forms are changing the values of some variables. Here is an example:
When you click on Calendars or Users from the Shared Calendar Maintenance screen here is what happens... $submit should be "Calendars" or "Users" depending on the button pressed. The problem is when you look at the array $_POST. On the first load of the page $submit == "Calendarssubmit=Calendars". For some reason 'Calendarssubmit=' is getting added to the variable string. What even more strange is that if you manually set $submit to equal "Calendar" you will get the calendar setup. If you submit to add or delete a calendar (now that you can get those options) the concatenation does not occur and the variable $submit appears correctly as "Calendar". I added the following lines:
if ($submit == "Calendarssubmit=Calendars") {$submit = "Calendars";} if ($submit == "Userssubmit=Users") {$submit = "Users";}
and now my calendar works flawlessly. I don't think this is the right way to fix it.
Now I am noticing a similar thing happening in my folders. I recently added a user who created some folders and wants to delete them now. They can't delete them because variables are doing the same strange things. If I try to unsubscribe from a mailbox here are the variable results:
Array ( [mailbox] => Array ( [0] => Earthlinkmailbox[]=Earthlink ) )
[0] should be equal to 'Earthlink' not 'Earthlinkmailbox[]=Earthlink
What is going on here, can anyone help?
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php -- 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