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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.4 Release Testing »
  • New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
Pages: [1]

Author Topic: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?  (Read 1407 times)

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 26, 2013, 07:16:48 pm
I installed 4.4alpha1 on a new site with no upgrade but didn't get to play with it much. Then when 4.4alpha2 came out I upgraded and did my first mass mailing. I have experience doing this with 4.3.X with no problem. Yet on alpha2 it is giving me an error that it can't included CRM/Mailing/DAO/Job.php. The include path is correct, and there is no Job.php file like there is on 4.3.5, and 4.4alpha1 also doesn't have the file (I looked at 4.3.5 running on another site and had backed up my 4.4alpha1 folder). I then tried copying Job.php from 4.3.5 copy and put it in CRM/Mailing/DAO/ directory and now it doesn't complain about that, but then returns a database error just saying "Table doesn't' exist" after sending 10 emails of the mass mailing.

So should Job.php be there? Has it been removed? Why is my 'Administer->System Settings->Scheduled Jobs->Send Scheduled Mailings->more->Execute Now' want this file if both 4.4alpha1 and alpha2 have it removed? Thanks.

Error with NO Job.php existing:

Quote
Fatal error: require_once() [function.require]: Failed opening required 'CRM/Mailing/DAO/Job.php' (include_path='.:/home/me/public_html/sites/all/modules/civicrm:/home/me/public_html/sites/all/modules/civicrm/packages:.:/opt/php53/lib/php') in /home/me/public_html/sites/all/modules/civicrm/CRM/Core/ClassLoader.php on line 126

Error with Job.php from 4.3.5 being put in that directory:

Quote
Sorry but we are not able to provide this at the moment.
DB Error: no such table
Return to home page.

Even though my mail throttle is set to 0, it only sends out 10 mails each time before it throws that "no such table" error. What table does it want???
« Last Edit: August 26, 2013, 07:20:02 pm by richmahn »

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 26, 2013, 07:22:19 pm
The first Fatal error is in a white screen of death (PHP). The other is in the yellow screen of death I often get in CiviCRM.

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 26, 2013, 09:10:37 pm
Also, for more info, I have tried editing the Scheduled Job to change the API call from api.job.processMailing to api.mailingjob.processMailing, but then it says "Given API command is not defined."

How should this be set?

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 27, 2013, 05:57:35 pm
Still no replies here. Just hoped there was some developer saying he/she was at least looking into it. This is troublesome. I tried to do a 500 email send yesterday and even with no throttling, I had to run the scheduled job 50 times because each time it sends 10 then has the error that the table doesn't exist (but don't say what table, so can't create it from a 4.3.5 database). This is not acceptable...hope fixed before beta. Trying to help you guys out here. Wasn't even going to alpha test, but then decided to put up a site for my wedding in October with a mailing list with the new alpha version, but so far 4.3.5 would have been the way to go.

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: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 27, 2013, 06:17:47 pm

thanx for reporting this, its much appreciated :)

Someone will take a look at it sometime soon, but its also been less than 24 hours since you posted. While we do try to stay on top of things, with the end of summer / start of school year etc, quite a few folks are on a break etc

If you can spend some time taking a look at the issue and debugging it, that would be great and even more appreciated

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

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 28, 2013, 06:52:04 am
the break was caused due to renaming the Job to MailingJob.

I have fixed the same and it will be available in alpha3
Here's the patch :
https://github.com/civicrm/civicrm-core/pull/1531.patch

HTH
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 29, 2013, 01:43:38 am
Great! Thanks. Yeah, I guess it was less than 24 hours between posts. Weird. Thought it was longer...lost track of time....but in this case gained time. As a tech person myself, I know one can't expect on forums to get a reply so quick. Thanks for fixing this with a patch.

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 29, 2013, 01:49:30 am
Yashodha,

Job.php should no longer exist, right? I noticed this patch patches the BAO directory...what about the DAO? Or is it all the same?

Rich

richmahn

  • I’m new here
  • *
  • Posts: 11
  • Karma: 0
  • CiviCRM version: 4.4alpha2
  • CMS version: Drupal 7.23
  • MySQL version: 5.3
  • PHP version: 5.3
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 29, 2013, 01:55:17 am
Never mind... I see now the BAO file has what DAO file should be listed.

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?
August 29, 2013, 03:00:46 am
Applying the patch should be fine.

Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 4.4 Release Testing »
  • New install of 4.4alpha1 upgraded to 4.4alpha2 missing Job.php?

This forum was archived on 2017-11-26.