RSS Forums RSS
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 4393 | Replies: 2 | Solved
Reply
Join Date: Aug 2005
Location: Carmel, IN
Posts: 67
Reputation: Sailor_Jerry is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
Sailor_Jerry's Avatar
Sailor_Jerry Sailor_Jerry is offline Offline
Junior Poster in Training

Help Trying to get the SMTP functionality for mediawiki to work.

  #1  
Apr 20th, 2007
I have apache in this dir C:\Program Files\Apache Software Foundation\Apache2.2\
and
Mail.php and PEAR.php are in this dir C:\php\PEAR\pear
When I add the files to the dir the log file is complaining about below, the wiki spits out the following:
Could not send confirmation mail.  Check address for invalid characters.
Mailer returned: Unable to find class for driver smtp

Error from apache log file before files are moved from php dir
[Fri Apr 20 17:21:17 2007] [error] [client 0.0.0.0] PHP Warning:  require_once(Mail.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wiki\\includes\\UserMailer.php on line 87, referer: http://server1/wiki/index.php/Special:Confirmemail
[Fri Apr 20 17:21:17 2007] [error] [client 0.0.0.0] PHP Fatal error:  require_once() [<a href=' function.require'>function.require</a>]: Failed opening required 'Mail.php' (include_path='C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wiki;C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wiki/includes;C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wiki/languages;C:/PHP/PEAR;.;C:\\php5\\pear') in C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wiki\\includes\\UserMailer.php on line 87, referer: http://server1/wiki/index.php/Special:Confirmemail

Thanks, sj
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Location: NJ
Posts: 26
Reputation: whizz81 is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
whizz81 whizz81 is offline Offline
Light Poster

Re: Trying to get the SMTP functionality for mediawiki to work.

  #2  
Apr 21st, 2007
good work
Reply With Quote  
Join Date: Aug 2005
Location: Carmel, IN
Posts: 67
Reputation: Sailor_Jerry is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 2
Sailor_Jerry's Avatar
Sailor_Jerry Sailor_Jerry is offline Offline
Junior Poster in Training

Re: Trying to get the SMTP functionality for mediawiki to work.

  #3  
Apr 23rd, 2007
Originally Posted by whizz81 View Post
good work


Thanks whizz..

Finally got this working. The issues had nothing to do with UserMailer.php.

I Needed to make some changes in LocalSettings.php in my wiki dir. Mainly adding the path to pear in the line below:
$path = array( $IP, "$IP/includes", "$IP/languages", "C:\PHP\PEAR\pear");
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:14 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC