Menu

#57 fatal error when using contact agent form

open
nobody
None
5
2004-12-06
2004-12-06
No

Fatal error: Cannot redeclare class mail in
/home/srenshaw/public_html/phpwsVer10/lib/pear/Mail.php
on line 33

this occurs on both 9.3-4 and 10.x and both with their
perspecitve phpwslistings versions 3.1 and 3.2

line 32 and 33 of my Mail.php says:

class Mail
{

Interestingly( or not!) I can make a form through form
manager and send mail out fine that way.

Discussion

  • Greg Meiste

    Greg Meiste - 2005-01-12

    Logged In: YES
    user_id=780595

    In class/ListingManager.php, try changing line 1046 from:

    include('Mail.php');

    to

    include_once('Mail.php');

    I haven't tried this so it may not do the trick.

    Greg

     
  • sharon renshaw

    sharon renshaw - 2005-01-12

    Logged In: YES
    user_id=656822

    Thank you, I'll try that and post back!

     
  • sharon renshaw

    sharon renshaw - 2005-01-12

    Logged In: YES
    user_id=656822

    Thank you, I'll try that and post back!

     
  • sharon renshaw

    sharon renshaw - 2005-01-13

    Logged In: YES
    user_id=656822

    Welp, no joy. The error message went away, and I got a
    confirmation page upon submission,

    alas no email was forthwith.

    Sad in San Jose,
    Sharondippity

     

Log in to post a comment.