#33464 [NEW]: imap_open(...) error relate with http://bugs.php.net/bug.php?id=33457

From: Date: Fri, 24 Jun 2005 10:43:24 +0000
Subject: #33464 [NEW]: imap_open(...) error relate with http://bugs.php.net/bug.php?id=33457
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80960@lists.php.net to get a copy of this message
From: unnevermind at gmail dot com Operating system: Windows XP Pro SP2 PHP version: 5.0.4 PHP Bug Type: IMAP related Bug description: imap_open(...) error relate with http://bugs.php.net/bug.php?id=33457 Description: ------------ I couldn't add a comment for http://bugs.php.net/bug.php?id=33457 OK, I uninstalled Zend Optimizer but, I got the same result. Actualy, I'm making my personal webmail that working with Argo Mail Server Pro With Imap v 1.8.8.1 . Sometime I need to connect by using COM Object.... ------------------------------- <? $imap=imap_open("{localhost:143/imap}INBOX","xxx@local.com","xxxxx"); //do something else imap_close($imap) try{ $com=new COM("MailServerX.Users"); $com->Delete("xxx@local.com"); unset($com); }catch(Exception $e){ echo $e->getMessage(); } ?> I got an error... Source: MailServerX.Users Description: System Error. Code: 32. The process cannot access the file because it is being used by another process That seem the folder 'xxx' is locked or in used. ------------------------------- ------------------------------- <? try{ $com=new COM("MailServerX.Users"); $com->Delete("xxx@local.com"); unset($com); }catch(Exception $e){ echo $e->getMessage(); } ?> But only this code working right. Everything OK but,my script often use the IMAP functions. ------------------------------- ------------------------------- <? $imap=imap_open("{localhost:143/imap}INBOX","xxx@local.com","xxxxx",OP_PROTOTYPE); //$info=imap_mailboxmsginfo($imap); imap_close($imap) try{ $com=new COM("MailServerX.Users"); $com->Delete("xxx@local.com"); unset($com); }catch(Exception $e){ echo $e->getMessage(); } ?> Then I tried to resolve this problem by put the last argument (actualy I don't know at all of this parameter, just try). I put OP_PROTOTYPE ,yes it seems to work but, if I uncomment at line --> $info=imap_mailboxmsginfo($imap); I got an error... PHP has encountered an Access Violation at 010158CC That means I can not use other IMAP functions. ------------------------------- I'm not sure is that a php's bug?, maybe Argo's bug...just really need help. Thank you and sorry for my Enlish. -- Edit bug report at http://bugs.php.net/?id=33464&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33464&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33464&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33464&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33464&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33464&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33464&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33464&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33464&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33464&r=support Expected behavior: http://bugs.php.net/fix.php?id=33464&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33464&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33464&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33464&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33464&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33464&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33464&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33464&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33464&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33464&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33464&r=mysqlcfg

« previous php.bugs (#80960) next »