Menu

#37 I get a Fatal error when trying to send email form to agent

open
nobody
None
5
2005-03-04
2005-03-04
paul
No

Hi I have installed phplisting everything seems to be
working fine except one thing after i post listenings
when i click in contact agent I get an E-mail form I fill
that form and than after i click \send email\ i get the
following error message>

"Fatal error: Cannot redeclare class mail
in /home/domainweb/lib/pear/Mail.php on line 33"

I realy like the script and spent alot of time i would hate
it go to waist please help me any hel is usefull if i can
use a formmail.cgi what ever the solution is i would be
very happy

Discussion

  • Nobody/Anonymous

    Logged In: NO

    pls dont be a joke and search here or on the forum. there is a
    line in the ListingManager.php, you have to change include
    into include_once when calling the Mail.php functtion of the
    core

     
  • Nobody/Anonymous

    Logged In: NO

    Hi I have changed the include into include_once at this point
    im getting new error after i click on send >>

    "Fatal error: Call to undefined function: send()
    in /home/introple/public_html/domainweb/mod/phpwslistings/c
    lass/ListingManager.php on line 1067"

    any ideas
    paul
    dahavcorp@verizon.net

     
  • paul

    paul - 2005-03-06

    Logged In: YES
    user_id=1232238

    Hi i did what u said to do. I changed include into
    include_once ('mail.php') however when trying to send the
    form i get a new error messgge >>>

    "Fatal error: Call to undefined function: send()
    in /home/introple/public_html/domainweb/mod/phpwslistings/c
    lass/ListingManager.php on line 1067"

    any ideas
    thanx

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.