php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33464 imap_open(...) error relate with http://bugs.php.net/bug.php?id=33457
Submitted: 2005-06-24 12:43 UTC Modified: 2005-06-25 09:32 UTC
From: unnevermind at gmail dot com Assigned:
Status: Not a bug Package: IMAP related
PHP Version: 5.0.4 OS: Windows XP Pro SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
23 - 11 = ?
Subscribe to this entry?

 
 [2005-06-24 12:43 UTC] unnevermind at gmail dot com
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-06-24 12:45 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

>I couldn't add a comment
Don't add comments, you're the author of the report, *edit* it.
 [2005-06-24 17:49 UTC] unnevermind at gmail dot com
OK, I downloaded the lastest CVS version from

http://snaps.php.net/win32/php5-win32-latest.zip

installed as isapi no any extension added. runing on iis 5.1

But, nothing better still got error...OH! one thing is better, it's faster a little bit.
 [2005-06-24 17:57 UTC] tony2001@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.


 [2005-06-24 19:33 UTC] unnevermind at gmail dot com
Oh! god, what a proper reproducing script 10-20 lines?

I gave you a few example script, how to make a proper reproducing script 10-20 lines starts with <?php and ends with ?> ?

Why don't you look at my script and diagnose the problem ?

-->does not require any external resources such as databases

I suspect, are you bot? I need a human, think like human.

Ok, nerver mind, take it easy...just leave this bug.

Bye bot.... -"-
 [2005-06-25 09:32 UTC] derick@php.net
We're not here to debug your scripts, we've better things to do like giving attention to users who are willing to work together to identify bugs. We're not a company, but volunteers who implemented a scripting language which you're using totally free - don't ever forget that.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC