Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 03:11 am EDT

Geeklog Forums

registration email woes


Status: offline

geekgirl

Forum User
Newbie
Registered: 05/29/04
Posts: 10
I've got my Geeklog installed, but I'm getting this error when any new user tries to sign up:

Fatal error: Cannot redeclare class mail_rfc822 in /usr/local/lib/php/Mail/RFC822.php on line 62

this error also happens when i select a user bio and click on the "Email User" link.

but this does not happen when i go into the "Mail Users" admin area. I can send mail successfully here.

i'm using smtp.

any ideas?

looking at line 62 in my RFC822.php file:

class Mail_RFC822 extends PEAR{

where else would this have been declared? this is the first declaration in that file.
 Quote

Status: offline

geekgirl

Forum User
Newbie
Registered: 05/29/04
Posts: 10
more information:

can two RFC822.php files end up trying to run at the same time?

my error is:
Fatal error: Cannot redeclare class mail_rfc822 in /usr/local/lib/php/Mail/RFC822.php on line 62

and i notice there is another RFC822.php file here: geeklog/system/pear/Mail/RFC822.php

i'm using smtp for mail and my pear is set to true, so did it load RFC822.php and then somehow try to use php mail for the registration part? or is that completely unrelated? i keep thinking there should be something for me to change in config.php...
 Quote

Status: offline

geekgirl

Forum User
Newbie
Registered: 05/29/04
Posts: 10
Okay! I got it, finally!

I had Pear set to true in config.php, and it needed to be set to false.

Man, stupid. Can't believe that took two days to figure out.
 Quote

All times are EDT. The time is now 03:11 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content