Problem with Xampp, Mercury, PHP

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

Problem with Xampp, Mercury, PHP

Postby jcafaro10 » 16. May 2008 05:45

I'm developing a simple website and I want to have a php script that sends an email. I set it up and everything and used the correct code, however when I try and preview the page its just blank. This is a weird behavior because if I disable the mercury service in xampp it loads the page fine but of course, sends no email. Having the mercury service enabled just makes the page blank. I've not messed with any of mercury settings and I'm using firefox.
jcafaro10
 
Posts: 15
Joined: 16. May 2008 05:43

Postby ifokkema » 16. May 2008 08:35

Any errors in the error log? Is there a timeout or just a blank page immediately and done loading? Do you print output on the screen before you try to send mail? If so, does that show?
ifokkema
 
Posts: 56
Joined: 08. May 2008 13:05
Location: Leiden, Netherlands

Postby jcafaro10 » 16. May 2008 17:05

If by log file you mean the contents of this "C:\Program Files\xampp\MercuryMail\LOGS" there are no log files in there.

My code looks like this
Code: Select all
<?php
   if(isset($_POST['submitted']))
    {
       if(mail("jcafaro10@gmail.com","Email from " . $_POST['email'],$_POST['question']))
           echo "Bingo";
        else echo "No Go";
    }
?>


Nothing shows up anywhere

But even if I take out all of the PHP all together I still get the same effect so I think it has to do with Mercury itself
jcafaro10
 
Posts: 15
Joined: 16. May 2008 05:43

Postby jcafaro10 » 17. May 2008 17:00

This is a problem that I can't even preview ANY websites so long as mercury is running. Please help
jcafaro10
 
Posts: 15
Joined: 16. May 2008 05:43

Postby jcafaro10 » 17. May 2008 17:16

Fixed
jcafaro10
 
Posts: 15
Joined: 16. May 2008 05:43

Postby ifokkema » 19. May 2008 08:43

Now it would be nice to explain how you solved it, so that people who run into the same problem can learn from you ;)
ifokkema
 
Posts: 56
Joined: 08. May 2008 13:05
Location: Leiden, Netherlands

Postby gr8mate » 24. May 2008 10:16

Yeh, like me!
I also have the same problem :? How did you fix it?
gr8mate
 
Posts: 2
Joined: 24. May 2008 09:55

Postby gr8mate » 24. May 2008 14:01

Digging a bit further I found that this question was already addressed in the forum and a simple solution given. Anyone else with this problem should see:

http://community.apachefriends.org/f/viewtopic.php?t=17948

Cheers
gr8mate
 
Posts: 2
Joined: 24. May 2008 09:55

Postby admindell » 28. May 2008 16:39

thanks this help alot!
User avatar
admindell
 
Posts: 28
Joined: 28. May 2008 16:35


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 52 guests