Ask a Question related to PHP Bugs, Design and Development.
-
wil at codeciti dot com #1
#40513 [NEW]: Notice: Unknown: List index out of bounds (0) (errflg=2) in Unknown on line 0
From: wil at codeciti dot com
Operating system: WinXP
PHP version: 5.2.1
PHP Bug Type: IMAP related
Bug description: Notice: Unknown: List index out of bounds (0) (errflg=2) in Unknown on line 0
Description:
------------
When I try to move mail from one directory to another I get that notice
and on the mail server log it tells me that the command is invalid and
ignores it.
Notice: Notice: Unknown: List index out of bounds (0) (errflg=2) in
Unknown on line 0
Reproduce code:
---------------
<?php
$Prefix = 'codeciti.com';
$Pass = 'xxxxxxxx'; <-- blanked for security
$Email = 'wil@codeciti.com';
$Mailserver = '{192.168.1.121:143}';
$Mailbox = 'Inbox';
$Link=imap_open($Mailserver.$Mailbox,$Email,$Pass) or die("can't connect:
" . imap_last_error());
$arr = array(0 => '1', 1 => '2', 2 => '3');
$messageset = implode(',',$arr);
imap_mail_move($Link, $messageset, 'Trash');
imap_close($Link);
?>
Expected result:
----------------
Should move the mail from the current folder to the trash.
Actual result:
--------------
Nothing gets moved it just echos that notice statement.
--
Edit bug report at [url]http://bugs.php.net/?id=40513&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40513&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40513&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40513&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40513&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40513&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40513&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40513&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40513&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40513&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40513&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40513&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40513&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40513&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40513&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40513&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40513&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40513&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40513&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40513&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40513&r=mysqlcfg[/url]
wil at codeciti dot com Guest
-
#40068 [NEW]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..
From: triphius at tripslair dot com Operating system: FreeBSD 6.1 PHP version: 5.2.0 PHP Bug Type: Scripting Engine problem... -
#34667 [Com]: Notice: Unknown: Unable to find the wrapper "compress.bzip2".....
ID: 34667 Comment by: saulovallory at yahoo dot com Reported By: webmaster at 24-99-92-156 dot no-ip dot com Status: ... -
#25195 [Com]: Failed opening phpinfo.php ... in Unknown on line 0
ID: 25195 Comment by: jusdoit442 at yahoo dot com Reported By: mhawkins at ukeu dot com Status: Closed Bug... -
#25195 [Fbk->Csd]: Failed opening phpinfo.php ... in Unknown on line 0
ID: 25195 User updated by: mhawkins at ukeu dot com Reported By: mhawkins at ukeu dot com -Status: Feedback... -
#24882 [Dup->Fbk]: Failed opening phpinfo.php ... in Unknown on line 0
ID: 24882 Updated by: sniper@php.net Reported By: mhawkins at ukeu dot com -Status: Duplicate +Status: ... -
wil at codeciti dot com #2
#40513 [Opn]: Notice: Unknown: List index out of bounds (0) (errflg=2) in Unknown on line 0
ID: 40513
User updated by: wil at codeciti dot com
Reported By: wil at codeciti dot com
Status: Open
Bug Type: IMAP related
-Operating System: WinXP
+Operating System: WinXP Pro
PHP Version: 5.2.1
New Comment:
Changed it to winxp pro
Previous Comments:
------------------------------------------------------------------------
[2007-02-16 20:32:13] wil at codeciti dot com
Description:
------------
When I try to move mail from one directory to another I get that notice
and on the mail server log it tells me that the command is invalid and
ignores it.
Notice: Notice: Unknown: List index out of bounds (0) (errflg=2) in
Unknown on line 0
Reproduce code:
---------------
<?php
$Prefix = 'codeciti.com';
$Pass = 'xxxxxxxx'; <-- blanked for security
$Email = 'wil@codeciti.com';
$Mailserver = '{192.168.1.121:143}';
$Mailbox = 'Inbox';
$Link=imap_open($Mailserver.$Mailbox,$Email,$Pass) or die("can't
connect: " . imap_last_error());
$arr = array(0 => '1', 1 => '2', 2 => '3');
$messageset = implode(',',$arr);
imap_mail_move($Link, $messageset, 'Trash');
imap_close($Link);
?>
Expected result:
----------------
Should move the mail from the current folder to the trash.
Actual result:
--------------
Nothing gets moved it just echos that notice statement.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40513&edit=1[/url]
wil at codeciti dot com Guest
-
tony2001@php.net #3
#40513 [Opn->Bgs]: Notice: Unknown: List index out of bounds (0) (errflg=2) in Unknown on line 0
ID: 40513
Updated by: [email]tony2001@php.net[/email]
Reported By: wil at codeciti dot com
-Status: Open
+Status: Bogus
Bug Type: IMAP related
-Operating System: WinXP Pro
+Operating System: WinXP
PHP Version: 5.2.1
New Comment:
The error messages you see are coming from c-client library.
Unfortunately we can't fix and/or change it, since it's a third party
library.
Previous Comments:
------------------------------------------------------------------------
[2007-02-16 23:27:18] wil at codeciti dot com
Changed it to winxp pro
------------------------------------------------------------------------
[2007-02-16 20:32:13] wil at codeciti dot com
Description:
------------
When I try to move mail from one directory to another I get that notice
and on the mail server log it tells me that the command is invalid and
ignores it.
Notice: Notice: Unknown: List index out of bounds (0) (errflg=2) in
Unknown on line 0
Reproduce code:
---------------
<?php
$Prefix = 'codeciti.com';
$Pass = 'xxxxxxxx'; <-- blanked for security
$Email = 'wil@codeciti.com';
$Mailserver = '{192.168.1.121:143}';
$Mailbox = 'Inbox';
$Link=imap_open($Mailserver.$Mailbox,$Email,$Pass) or die("can't
connect: " . imap_last_error());
$arr = array(0 => '1', 1 => '2', 2 => '3');
$messageset = implode(',',$arr);
imap_mail_move($Link, $messageset, 'Trash');
imap_close($Link);
?>
Expected result:
----------------
Should move the mail from the current folder to the trash.
Actual result:
--------------
Nothing gets moved it just echos that notice statement.
------------------------------------------------------------------------
--
Edit this bug report at [url]http://bugs.php.net/?id=40513&edit=1[/url]
tony2001@php.net Guest



Reply With Quote

