A problem with XAMPP PEAR and OsDate

Problems with the Windows version of XAMPP, questions, comments, and anything related.

A problem with XAMPP PEAR and OsDate

Postby vercetti » 20. August 2007 09:00

My friend and I installed osDate on our XAMPP server, but when we try to register in OsDate it appears the following error:

Fatal error: Call to undefined method Mail_mail::_sanitizeHeaders() in D:\xamp\php\PEAR\Mail\mail.php on line 92


We thought that we've made a mistake in the settings for the SMTP server, but we changed them.. and the error still appears.

Can somebody help us?
vercetti
 
Posts: 2
Joined: 20. August 2007 08:52

Re: A problem with XAMPP PEAR and OsDate

Postby Izzy » 20. August 2007 11:14

vercetti wrote:...We thought that we've made a mistake in the settings for the SMTP server, but we changed them.. and the error still appears.

What are your SMTP settings in osDate?
http://www.tufat.com/docs/osdate/config.html

It looks like the default settings are for Linux web server.
The path to sendmail is wrong for a Windows Apache server.

What are your [mail function] settings in the xampp\apache\bin\php.ini file?

Did you set up xampp\sendmail\sendmail.ini in XAMPP if you are using sendmail in your script?
Do a forum search here for sendmail or mail settings or mercury etc. for clues as to how to set up these things in XAMPP.

There is also a osDate forum that might assist you better:
http://forum.tufat.com/forumdisplay.php?f=13
Do a search there for help with the mail settings.

Try this:
Go to the osDate forum above and select Configuration & Installation thread.
Click on Search this Forum enter mail settings in the Keyword(s) box.
Looks like there is some useful reading in the results.

If you want more help here then you need to give more info to work with as we can only guess else.

=================================================
Take a look at the new DeskTopXampp launch control posted by ridgewood:
http://community.apachefriends.org/f/viewtopi ... 967#103967

The DeskTopXampp launch control for XAMPP and XAMPPlite (DTX.exe)
is available here:
http://zedfiles.com/DTX/

I highly recommend DTX.
=================================================
Last edited by Izzy on 02. September 2007 02:40, edited 1 time in total.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Postby vercetti » 20. August 2007 15:16

My mail settings in osDate are:

Code: Select all
define( 'MAIL_TYPE', 'mail' );
define( 'SMTP_HOST', 'smtp.gmail.com' );
define( 'SMTP_PORT', '465' );
define( 'SMTP_AUTH', '1' );
define( 'SMTP_USER', 'elitebg.org@gmail.com' );
define( 'SMTP_PASS', 'my_pass_in_gmail' );
define( 'SM_PATH', '' );


I copied this from the osDate config file.
I want to use the SMTP server in gmail.
I made the settings in the osDate Control panel for the mail:
Site Administrator's E-Mail elitebg.org@gmail.com
Email address at which admin will receive feedback emails elitebg.org@gmail.com


I haven't changed any of the settings in the xampp server. But I can't tell you now what are the settings in xampp\apache\bin\php.ini or xampp\sendmail\sendmail.ini , because the server isn't on my computer... and I only have FTP access to the folder of the site.

Now I'll search in the osdate forums... maybe I have made a mistake in thge config file of osDate.

EDIT: I read a few posts from the osDate forums.. and I also saw the file xampp\apache\bin\php.ini .
And my question is if I change it to:
[mail function]
; For Win32 only.
SMTP = smtp.gmail.com
smtp_port = 465

will be everything OK?

P.S I'm sorry for the stupid question.. but as I said few lines up the server isn't on my computer and I can't do it now.
And sorry for the bad English... i'm from BG.
vercetti
 
Posts: 2
Joined: 20. August 2007 08:52


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 159 guests