php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21271 imap_sort returns irregular sort
Submitted: 2002-12-29 13:21 UTC Modified: 2003-01-20 13:46 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: leonardo at pcnet dot ro Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 4CVS-2002-12-29 (stable) OS: Windows 2000 Advanced Server
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: leonardo at pcnet dot ro
New email:
PHP Version: OS:

 

 [2002-12-29 13:21 UTC] leonardo at pcnet dot ro
Hi,

I built an webmail interface for  Courier-IMAP mail server and I use PHP version 4.4.0.
When i try to sort the messages from the mail server with imap_sort I always get a random sorting for Subject, To, From and Size; the Date sorting seems to work good.
I also had this problem with the previous versions of PHP: 4.2.1 ... 4.2.3

Is there a ptoblem with the imap client on Windows ? Should I upgrade some dll on server ?

Thank you for your time.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-13 03:36 UTC] pladen_nosp at mz_elv dot enic dot fr
hi

I'm experiencing the same problem on a Mandrake box

Mandrake 9.0 - 2.4.20 self-made kernel
php 4.3.0
pear 4.1.0

'./configure'
'--with-apache=../apache_1.3.27'
'--with-mysql'
'--with-gettext'
'--with-imap=../imap-2002a'
'--with-gd'
'--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local'
'--with-zlib-dir=/usr/local'
'--with-xml'
'--enable-ftp' 

imap sorting functions don't work at all. horde/imp work well but sorting (date, subject, sender...) is unavailable.

the imap server is a NT4 with mailsite email server
http://www.rockliffe.com/products/emailserver.asp

thx for your time

change _nosp@mz_ by @ to answer me directly
 [2003-01-14 04:14 UTC] pladen_nosp at mz_elv dot enic dot fr
After recompiling using the imap-2001-FINAL release the problem is solved.

I don't have any more clue, but it now works.

So imap-2002a/b doesn't work with my imap server and i still don't know why...
 [2003-01-20 13:46 UTC] iliaa@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Problem was resolved by upgrading(?) the IMAP library, not a PHP issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 22:01:29 2024 UTC