For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > March 2005 > mail queue problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author mail queue problem
Daniel Mc Inerney

2005-03-29, 3:58 pm

I recently installed the mail queue package. the install was successful and
the package tested fine when running it in my web browser. i used the test
files (add_example.php and send_example.php) included in the package.
however i wanted to introduce the cron feature so that emails would be sent
automatically so i knew that for this feature to work i would have to call
the send_example script from the command line. I tried this and i got the
following error:

"call to undefined method DB_Error::quote() in
C:\wamp\php\PEAR\Mail\Quote\Container\db
.php".

i also tried running the add_example script in the command line just to see
what would happen and it produced the same error, not recognising any
methods belonging to DB_Error. Im really because both these scripts
ran fine when i ran them in internet explorer.(i usually save all of my
files in a www folder and then call them using the address
"http://localhost/the_name_of_the_script.php")

anyone know why these scripts might be failing on the command line?

any help would be much appreciated! thanks




Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com