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 »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
Pages: [1]

Author Topic: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"  (Read 2686 times)

gmoe

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.1
  • CMS version: Drupal 7.22
  • MySQL version: 5
  • PHP version: 5.3
missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 07, 2013, 08:28:02 am
Hi!

I tried to execute the "Process Inbound Emails" task and ended up with a blank page and a "Starting execution of Process Inbound Emails"-Message in the Job Log.
Looking at my Servers Error Log i found:

PHP Fatal error:  require_once() [[a href='function.require']function.require[/a]]: Failed opening required 'api/v3/DeprecatedUtils.php' (include_path='.:............... /Utils/Mail/EmailProcessor.php on line 216, referer: http://MYDOMAIN/civicrm/admin/job?reset=1

Looking for the Directory api/v3/ i cant find the file mentioned (using 4.3 Release on Drupal 7).
Well i thought, maybe you just forgot about it - so i took it from the 4.2 CiviCRM Release but i ended up with the following Message in my Errorlog when Executing the Job:

PHP Fatal error:  Call to undefined function _civicrm_api3_deprecated_activity_buildmailparams() in .../Utils/Mail/EmailProcessor.php on line 217, referer: http://MYDOMAIN/civicrm/admin/job?reset=1


Any Idea?

Thx!
 


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 07, 2013, 11:19:56 am

Can you please file an issue for this against 4.3

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 07, 2013, 04:40:59 pm

i filed and committed a fix for this issue: CRM-12558

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

gmoe

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.1
  • CMS version: Drupal 7.22
  • MySQL version: 5
  • PHP version: 5.3
Re: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 08, 2013, 04:07:49 am
Thx Lobo,
unfortunately this isnt a fix as there is no function "_civicrm_api3_deprecated_activity_buildmailparams()" neither in "api/v3/DeprecatedUtils.php" from 4.2 nor in /CRM/util/DeprecatedUtils.php which u referenced in ur fix.

regards,

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 08, 2013, 07:13:13 am

argh, i forgot to add that function

i just added and committed this to our git repo. should be part of 4.3.3 which will be released soon

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

sonicthoughts

  • Ask me questions
  • ****
  • Posts: 498
  • Karma: 10
Re: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 08, 2013, 10:27:43 pm
Workaround or patch suggested?

gmoe

  • I’m new here
  • *
  • Posts: 7
  • Karma: 0
  • CiviCRM version: 4.3.1
  • CMS version: Drupal 7.22
  • MySQL version: 5
  • PHP version: 5.3
Re: missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"
May 09, 2013, 01:59:58 am
https://github.com/civicrm/civicrm-core/blob/4.3/CRM/Utils/DeprecatedUtils.php
and
https://github.com/civicrm/civicrm-core/blob/4.3/CRM/Utils/Mail/EmailProcessor.php

thx again lobo!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • CiviMail installation and configuration (Moderator: Donald Lobo) »
  • missing api/v3/DeprecatedUtils.php when executing "Process Inbound Emails"

This forum was archived on 2017-11-26.