getting error from the job queue module

ajayg - August 27, 2007 - 18:11
Project:Job queue
Version:5.x-2.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I am getting follwing error from job_queue module. Any idea why ?
job_queue_dequeue() [function.include]: Failed opening '' for inclusion (include_path='.:') in /path_to_mysite_htdocs/sites/all/modules/job_queue/job_queue.module on line 62.

It seems to be doing its job though. I am using with OG module to schedule delivery of email.

#1

populist - September 4, 2007 - 01:11

I had a similar problem. I included a patch that does some checking before running the file include.

AttachmentSize
job_queue_file_include.patch 687 bytes

#2

populist - September 4, 2007 - 02:54
Status:active» needs review

#3

drumm - October 19, 2007 - 22:55
Status:needs review» fixed

Committed to 5.x with code cleanup.

#4

Anonymous - November 12, 2007 - 22:41
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

#5

spjsche - January 1, 2008 - 13:41

I too am getting the same error.

Can I ask in which version the patch was committed.

Thanking you in Advance

Stephen

#6

wallan - January 23, 2008 - 12:02

I'm getting the same:
warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/php5/lib/php') in /modules/job_queue/job_queue.module on line 62.

I'm running Job Queue 5.x-2.0 on Drupal 5.6. The main source of jobs is Organic Groups 5.x-5.0.

#7

wallan - January 23, 2008 - 13:24
Status:closed» active

I've done a bit more research and have found another report of this issue here: http://drupal.org/node/185028

I'm going to reopen this issue... I hope that's the right thing to do!

#8

starkos - January 28, 2008 - 13:58

I'm getting the same error, on Drupal 5.6.

warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/share/pear') in /var/www/drupal/sites/all/modules/job_queue/job_queue.module on line 62.

#9

gagarine - January 30, 2008 - 21:16

Same error:
PHP5
Drupal 5.7
Job queue 5.x-2.0
Organic groups 5.x-5.0

EDIT:
I run manualy the cron and i have now more error. This appear only when they are job in queue.

    * warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.soli/gagarine/point.xxx.net/sites/all/modules/job_queue/job_queue.module on line 62.
    * warning: Invalid argument supplied for foreach() in /home/.soli/gagarine/point.xxx.net/modules/node/node.module on line 521.
    * warning: implode() [function.implode]: Bad arguments. in /home/.soli/gagarine/point.xxx.net/modules/node/node.module on line 525.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /home/.soli/gagarine/point.xxx.net/includes/database.mysql.inc on line 172.
    * warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.soli/gagarine/point.xxx.net/sites/all/modules/job_queue/job_queue.module on line 62.

#10

Turkish Delight - February 7, 2008 - 06:20

Same error (original)
warning: include_once() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/drupal-5.2/modules/job_queue/job_queue.module on line 62.

Running Drupal 5.7, PHP 5, MySQL 5

#11

Turkish Delight - February 8, 2008 - 00:08

I've applied the patch in update 1 and I do not receive any errors. Has anyone else tried the patch recently?

For those who have not seen the development version yet, in the development version the module reads (not including the "+"):
+ if (!empty($job->file)) {
+ include_once $job->file;
+ }
on the appropriate lines (development's fix is very similar to the patch).

#12

Rand HOPPE - February 18, 2008 - 21:19

I'm getting the error as well. Not sure what to do about it. Any further guidance would be appreciated.

#13

drumm - March 11, 2008 - 19:13
Status:active» fixed

This is fixed in Job queue 3.0.

#14

Anonymous (not verified) - March 25, 2008 - 19:23
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.