Troubleshooting - Find Out Some Info About
Your Server
I often get a lot of questions about Dolphin and one of the bits of info I will need are the server specs. We want to know, Is it Windows? Linux/Unix? What version of PHP, mySQL etc.
Below are some scripts that will give you some info and insight about your server.
Find Out More Info About Your Server
Here's what you do to find out some more info by running a phpinfo page:
1. Create a php page and name it "myphpinfo.php"
2. Copy and paste this script:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>My PHP Info</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
phpinfo();
?>
</body>
</html>
3. Upload that page to the root of your server.
4. Run the page from the browser.
You will get the php info about your server and a bunch of other things. Let me know what it says.
Test Your Email
To test you're e-mail, you will also need to run a page. So do this:
1. Make a page and name it "myEmailTest.php"
2. Paste the code below and customize it with your info:
<?php
//Customize these items below
$email2Send="youremail@youremaildomain.com";
$emailFROMName="Your Name";
$emailReply="no-reply@yourdomain.com";
$domain = GetHostByName($REMOTE_ADDR);
if(@mail("$email2Send", "$domain - Email test...", "From: $emailFROMName <$emailReply>"))
{
echo "SUCCESS! Ok, you're e-mail seems to be working. Time to set the cron jobs.";
} else {
echo "FAILURE! Sowwy, your e-mail is not working.";
}
?>
5. Upload it to your server.
6. Run the page from your browser by going to the page. If it is successful, it will tell you. If it fails then you need to contact your server admin.
The above are basic server diagnotics that can help when troubleshooting. It will give the person helping you some info on what exactly they're dealing with.
Cron Jobs
E-mail not sending can be related to NOT having set the cron jobs. You can get a good tutorial on how to do this at: http://www.boonex.net/dolphin/wiki/DetailedInstall#SettingupCronjobs
Other items to look out for when trying to run a mail out:
- Check to make sure you can in fact send out e-mail by using the test e-mail script provided.
- Make sure your cron jobs are set. For testing purposes, I've set mine to every minute. If you do set it to every minute, just make sure you set it back to a less frequent setting.
- Make sure you have at least one member, being an admin does not count.
- On a default Dolphin install, you can use the join now page. Ensure that the password you add is at least 4 characters long.
- Another one I encountered was when trying to join up as a member. You need to make sure you have completed the form. It seemed the password did not have enough characters.
Regarding mail queue and e-mail not sending out
When you create a queue, you need to make sure you have a member(s). Being and admin is not counted as being a member? You can refer to this pic to see what it should look like:
http://www.jamestadeo.com/dolphin/imgCronJobQueue2.jpg
It should also say "1 emails was successfully added to queue." There should be at least 1 e-mail in the queue.
You should also check your Quick Stats. You can find that info in your admin panel as well as the main page usually. In the admin panel it should have at least 1 Member. If it is "0" then you need a member to join up. Otherwise, the job will not run as there is nothing to do. If you have no members it will say:
"0 emails was successfully added to queue".
Have a look at this:
http://www.jamestadeo.com/dolphin/boonex-cron-job-no-run.jpg
http://www.jamestadeo.com/dolphin/boonex-cron-job-no-run2.jpg
Download(s)
N/A
Addendum
N/A

|