Re: PEAR Mail_Queue

From: Date: Tue, 08 May 2007 07:52:37 +0000
Subject: Re: PEAR Mail_Queue
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-27232@lists.php.net to get a copy of this message
Hi Matt, Matthew Robinson wrote: > Can someone tell me what I'm missing please? > > I am trying to get PEAR Mail_Queue working on a hosted server. I've > followed the tutorial steps though but the final command to ad mail > to the queue fails with: > > PHP Fatal error: Call to a member function on a non-object in /home/ > prescrib/pear/pear/php/Mail/Queue/Container/db.php on line 189 > > This line is: > > $id = $this->db->nextId($this->sequence); It's likely that your DB connection has failed for some reason, or that there is something else wrong with $this->db. Are you maybe passing wrong database credentials to the Mail_Queue package? Do you check for errors on the call that passes the credentials to the package? Regards, Mark -- http://www.markwiesemann.eu

« previous php.pear.general (#27232) next »