Thanks Brion for the speedy response,
> Do you mean require_once('Mail.php') ? Case can be significant.
>
Yes, I'm referencing Mail.php (& not mail.php)
> Confirm that you do in fact have the PEAR::Mail library installed in your
> PHP include_path, and that there isn't some _other_ "Mail.php" or "mail.php"
> sitting around within your include_path that's being included instead.
My current include_path is:
include_path =
".;C:\xampp\php\PHPMailer_v5.1\class.phpmailer.php;C:\xampp\php\PHPMailer_v5.1\class.smtp.php"
Do you mean that I should change it to:
include_path =
".;C:\xampp\php\PEAR;C:\xampp\php\PHPMailer_v5.1\class.phpmailer.php;C:\xampp\php\PHPMailer_v5.1\class.smtp.php"
Thanks
--- On Tue, 5/17/11, Brion Vibber <[email protected]> wrote:
From: Brion Vibber <[email protected]>
Subject: Re: [Mediawiki-l] Fatal error
To: "MediaWiki announcements and site admin list"
<[email protected]>
Date: Tuesday, May 17, 2011, 12:55 PM
On Tue, May 17, 2011 at 11:35 AM, KAMOHELO MOFOKENG
<[email protected]>wrote:
> I'm new to PHP & I'm trying to send mail using PHPMailer & I get the
> following error:
>
> line 119 in UserMailer.php is:
> require_once(' ');
>
Don't do that. :) Leave the line as it is and do not attempt to change it.
> When I leave the default require_once ('mail.php'), my error becomes:
>
Do you mean require_once('Mail.php') ? Case can be significant.
>
> ****************************************************************************
> Fatal error: Class 'Mail' not found in
> C:\xampp\htdocs\mediawiki\includes\UserMailer.php on line 154
>
>
> ****************************************************************************
>
Confirm that you do in fact have the PEAR::Mail library installed in your
PHP include_path, and that there isn't some _other_ "Mail.php" or "mail.php"
sitting around within your include_path that's being included instead.
-- brion
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l