Page 1 of 1
problem with s9y 1.0 / POPfetcher 1.13
Posted: Tue Jul 11, 2006 9:05 am
by michelsweb
I have a problem with s9y 1.0 / POPfetcher 1.13:
After installing the POPfetcher I tried to fetch the test mail from the server.
This is the result:
POPfetcher v1.13 @ Tue Jul 11 8:57:46 CEST 2006
FEHLER: Während des Abholvorgangs sind Fehler aufgetreten.:
Fatal error: Call to a member function on a non-object in /home/htdocs/web0/html/blog/plugins/serendipity_event_popfetcher/serendipity_event_popfetcher.php on line 520
Line 520 looks like this:
$pop3->quit();
Does anyone have the same problem with his POPfetcher?!?
Regards,
Michael
Re: problem with s9y 1.0 / POPfetcher 1.13
Posted: Tue Jul 11, 2006 1:52 pm
by garvinhicking
Hi!
How did you configure your popfetcher? To me this sounds as if the POP3 login fails or the server is not properly configured/entered?
Regards,
Garvin
Re: problem with s9y 1.0 / POPfetcher 1.13
Posted: Tue Jul 11, 2006 2:00 pm
by michelsweb
garvinhicking wrote:Hi!
How did you configure your popfetcher? To me this sounds as if the POP3 login fails or the server is not properly configured/entered?
Regards,
Garvin
The POP3 settings work fine with my email client. I chose the default folder for storage purposes.
Is it possible that this failure occures due to safe_mode restrictions as safe_mode is set to "on" by default on my root server?!?
Regards,
Michael
Re: problem with s9y 1.0 / POPfetcher 1.13
Posted: Tue Jul 11, 2006 2:10 pm
by garvinhicking
Hi!
Are you sure that you are connecting to a POP3 account, and not an IMAP account?
To see what is happening, maybe you could open the plugin file at around line 517 and change that if block to this:
Code: Select all
// Should have an array. If not, there was an error
if ( (!$MessArray) or (gettype($MessArray) != "array")) {
$output = MF_ERROR4.': '.$pop3->ERROR;
echo '<br />'.$output.'<br />';
print_r($pop3);
print_r($MessArray);
$pop3->quit();
return true;
}
This should give you more verbose output and we might see what the problem is.
Regards
Garvin
Re: problem with s9y 1.0 / POPfetcher 1.13
Posted: Tue Jul 11, 2006 2:13 pm
by michelsweb
garvinhicking wrote:This should give you more verbose output and we might see what the problem is.
I'll give it a try. Thanks so far. I will post the results!
Cheers,
Michael
Posted: Tue Jul 11, 2006 2:32 pm
by michelsweb
Here it is: the path issue should be easy to solve, but the rest?!?
POPfetcher v1.13 @ Tue Jul 11 14:28:42 CEST 2006
Warning: file(): open_basedir restriction in effect. File(/home/garvin/cvs/serendipity/mail.rfc) is not within the allowed path(s): (/home/htdocs/web0/html/:/home/htdocs/web0/phptmp/:/home/htdocs/web0/files/:/home/htdocs/web0/atd/) in /home/htdocs/web0/html/blog/plugins/serendipity_event_popfetcher/serendipity_event_popfetcher.php on line 513
Warning: file(/home/garvin/cvs/serendipity/mail.rfc): failed to open stream: Operation not permitted in /home/htdocs/web0/html/blog/plugins/serendipity_event_popfetcher/serendipity_event_popfetcher.php on line 513
FEHLER: Während des Abholvorgangs sind Fehler aufgetreten.:
Fatal error: Call to a member function on a non-object in /home/htdocs/web0/html/blog/plugins/serendipity_event_popfetcher/serendipity_event_popfetcher.php on line 522
Regards,
Michael
PS.: Yes, I'm absolutely sure. It's POP3, not IMAP!
Posted: Tue Jul 11, 2006 2:49 pm
by garvinhicking
Hi!
Oh dang, it's all my fault. I committed a debug versiono f the plugin, which set the debug_file to my test file.
Please upgrade to version 14, or manually search for "$debug_file" and make sure it'S set to "null", by disabling the next line.
Best regards,
Garvin
Posted: Tue Jul 11, 2006 2:57 pm
by michelsweb
Now it works perectly. I already thought that it might have something to do with the path to the debug file, but last time I tried to make POPfetcher work I just removed path and filename ... and of course that didn't work at all.
But now you made me happy!!!
Thanks alot!!!
Cheers,
Michael
Posted: Tue Jul 11, 2006 3:09 pm
by garvinhicking
Hi!
Great to hear that. Have fun!
Best regards,
Garvin