Reply to Re: Pear: Mail_Queue problem, Cannot redeclare class mail_queue_container:mail_queue_container_db

Your name:

Reply:


Posted by Ciegalo on 04/06/07 17:43

On 6 avr, 17:25, "Mityok" <mit...@gmail.com> wrote:
> On Apr 6, 11:56 am, "Ciegalo" <damien.poc...@gmail.com> wrote:
>
> > Hi to all,
> > I'm getting my hands into PEAR for a small newsletter-sending project.
> > I need to boost the performance of the sending script and came accross
> > this mail_queue class that should queue the emails.
>
> > After sweating over the pear installation on myWindows Machine (IIS,
> > PHP 4.4.6, MySQL), I cannot even run the tutorial script.. I get :
> > Fatal error: Cannot redeclare class
> > mail_queue_container:mail_queue_container_db in p:\softs\php\pear\Mail
> > \Queue\Container\db.php on line 44
>
> > Any idea ? Nothing in the bugtracker of the package.
>
> > Thanks in advance for your help !
>
> > BR,
> > Damien
>
> Hello Damien,
>
> You should check to use include_once (or require_once), not include
> (or require) statements when you are including PEAR Mail functions to
> your code.
>
> Best Regards,
> Mityok

Hello,
Thanks for the pointer, I had not thought about that. Yet, it does not
solve the problem...

Can it be something bad I've done during setup ? An incompatibility
with IIS ? I'm using the code stroight out of the tutorial.

Thanks again !
Damien

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация