PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Mail » Mail_Queue » Bug #6330

fatal error on line 122 of db.php

Details

Submitted2005-12-22 16:29 UTC
Frominfo at darrencampbell dot com dot au
Assignedquipo
StatusClosed
PackageMail_Queue
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2005-12-22 16:29 UTC] info at darrencampbell dot com dot au

Description:
------------
Not sure what is going on. That's why I am reporting this bug. I just see this in my cron email. I wish I could provide more information to help but this is all I get.

Fatal error: Call to undefined function: quote() in /home/www/facternet.com/freespace/includes/PEAR/Mail/Queue/Container/db.php on line 122

Test script:
---------------
I don't know how to write a test script.

Expected result:
----------------
I don't expect to see an error.

Actual result:
--------------
Fatal error: Call to undefined function: quote() in /home/www/facternet.com/freespace/includes/PEAR/Mail/Queue/Container/db.php on line 122

[2005-12-22 22:36 UTC] info at darrencampbell dot com dot au

Thank you for the quick response. I have downloaded the CVS versions and am trying them.

Hopefully my client won't receive any further errors in cron and I can get back to Christmas :-)

Let me know if you need anything.

[2005-12-23 15:05 UTC] info at darrencampbell dot com dot au

The new file versions didn't fix the error.

[2005-12-23 16:03 UTC] info at darrencampbell dot com dot au

My client sent me notification that cron is now sending him a change history web page.

What is going on?

Here is the section of code used:

include_once './mail_queue_config.php';

/* How many mails could we send each time the script is called */
$max_amount_mails = 50;

/* we use the db_options and mail_options from the mail_queue_config */
$mail_queue =& new Mail_Queue($db_options, $mail_options);

/* really sending the messages */
$mail_queue->sendMailsInQueue($max_amount_mails);

[2005-12-23 18:18 UTC] info at darrencampbell dot com dot au

Ok I'm foolish. I have replaced the files with the CVS history logs instead of the sourcecode. I have since replaced the files with the sourcecode. Now to wait and see if the error surfaces.

[2006-06-16 18:10 UTC] secret at non-existent dot com

This bug still exists. I've tried checking out v1.1.4 from the CVS and that doesn't help.