CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
Pages: [1]

Author Topic: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]  (Read 2702 times)

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
October 27, 2010, 06:10:11 am
I'm trying to set up CiviMail according to the instructions at http://en.flossmanuals.net/CiviCRM/SystemConfiguration and when I try to check the Email processor via browser, I get the following message:

connecting to xxx.xx.xxx.xxx and authenticating as [user]
Fatal error: Class 'ezcMailPop3Transport' not found in /home/[user]/public_html/sites/all/modules/civicrm/CRM/Mailing/MailStore/Pop3.php on line 57

Same basic message using IMAP.

Not using SSL on the site - any idea what's going on here? Thanks!
« Last Edit: November 02, 2010, 01:32:50 pm by bcobin »

Roman Zimmermann

  • I’m new here
  • *
  • Posts: 24
  • Karma: 2
    • more onion
Re: Fatal error: Class 'ezcMailPop3Transport' not found
November 02, 2010, 10:14:31 am
I've encountered the same problem. It seems that the ezc-autoloader function is somehow disfunctional. The code that defines it is executed though. I will report back here when I have found a solution …

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Fatal error: Class 'ezcMailPop3Transport' not found
November 02, 2010, 10:20:13 am
Thank you for looking into this! Been struggling with this for about a week now without success (but I'm not a coder...)

Awaiting anxiously!

Roman Zimmermann

  • I’m new here
  • *
  • Posts: 24
  • Karma: 2
    • more onion
Re: Fatal error: Class 'ezcMailPop3Transport' not found
November 02, 2010, 10:39:51 am
So here we go …

For me the problem was that some other drupal modules used the spl_autoload stack to autoload their classes. This makes __autoload ineffective and breaks ezc. If you apply the following patch to packages/ezc/Base/src you should be fine:
Code: [Select]
--- ezc_bootstrap.php.orig      2010-11-02 18:32:47.000000000 +0100
+++ ezc_bootstrap.php   2010-11-02 18:33:16.000000000 +0100
@@ -28,7 +28,9 @@
 }
 
 // Joomla, libraries/loader.php, already defined __autoload
-if ( !function_exists("__autoload") ) {
+if ( spl_autoload_functions() !== false ) {
+       spl_autoload_register(array('ezcBase', 'autoload'));
+} elseif ( !function_exists("__autoload") ) {
     /**
      * Implements the __autoload mechanism for PHP - which can only be done once
      * per request.

When I have the time I'll probably send this patch upstream.

I hope this does solve your problem too.

bcobin

  • I post frequently
  • ***
  • Posts: 337
  • Karma: 9
    • InterCreative Media
  • CiviCRM version: 4.3.3
  • CMS version: Drupal 7.22
  • MySQL version: 5.5.9
  • PHP version: 5.3
Re: Fatal error: Class 'ezcMailPop3Transport' not found
November 02, 2010, 12:06:30 pm
You are a beautiful person. HOORAY!

The patch didn't apply:

Code: [Select]
patching file ezc_bootstrap.php
patch unexpectedly ends in middle of line
Hunk #1 FAILED at 28.
1 out of 1 hunk FAILED -- saving rejects to file ezc_bootstrap.php.rej

But I made the change manually and it looks like the system is merrily processing bounces! Thank you SO much!

Now, to fix the "bounced emails 'on hold'" issue... but that's another story.

This is a bit off-topic, but you obviously know what you're talking about, so I'll ask: what's the difference between the EmailProcessor.bin and CiviMailProcessor.bin scripts? The manual now specifies the EmailProcessor, but earlier documentation recommended CiviMailProcessor.

Thanks again for taking care of this!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Fatal error: Class 'ezcMailPop3Transport' not found
November 03, 2010, 03:15:57 am
Yeap, the book is up to date and that's EmailProcessor you should use.

If I recall properly, two scripts (handling the bounces and incoming emails respectively) have been merged into EmailProcessor.

Quote from: bcobin on November 02, 2010, 12:06:30 pm
This is a bit off-topic, but you obviously know what you're talking about, so I'll ask: what's the difference between the EmailProcessor.bin and CiviMailProcessor.bin scripts? The manual now specifies the EmailProcessor, but earlier documentation recommended CiviMailProcessor.

-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Roman Zimmermann

  • I’m new here
  • *
  • Posts: 24
  • Karma: 2
    • more onion
Re: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
November 03, 2010, 04:12:53 am
Nice to know. It seems that not all of documentation is updated.

http://wiki.civicrm.org/confluence/display/CRMDOC32/CiviMail+Processor still refers to CiviMailProcess.php

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
December 20, 2010, 06:36:28 pm
I was using the Autoload   6.x-2.0-rc1 module on my Drupal as required by dev versions of Organic Groups.  This module caused the CiviMailProcessor to fail.  I made the hack that is show in this post and the CiviMailProcessor began working.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
January 06, 2011, 07:38:41 pm
This fixed the problem for me. I tried to log on the ezcmail site as an issue but the site stopped working for me
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
January 06, 2011, 07:50:01 pm
http://issues.ez.no/IssueView.php?Id=17821&activeItem=1
http://issues.civicrm.org/jira/browse/CRM-7329
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
February 06, 2011, 01:23:33 pm
Sigh - hit another site with this - doesn't look like anything is happening with the issues queue on the EZ site - it's 6 months since an issue has been fixed & we now have 3 sites using the autoloader module so we're stuck with patching them every upgrade
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

planigan

  • I post occasionally
  • **
  • Posts: 37
  • Karma: 1
    • Allegheny CleanWays
  • CiviCRM version: 4.1.0
  • CMS version: Drupal 6.24
  • MySQL version: 5.0.90
  • PHP version: 5.2.13
Re: Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]
March 10, 2011, 06:21:13 pm
THANK YOU for posting this! This issue just popped up on my site today, presumably after I enabled a couple of new modules.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Fatal error: Class 'ezcMailPop3Transport' not found [SOLVED]

This forum was archived on 2017-11-26.