PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Oct 30, 2006 9:09 pm Reply with quote Back to top

Ok all of a sudden no new users can create an account due to no email being sent to them and the feed back doesn't send me email. I have a total different installation installed and it seems like that one is doing the same thing two. Any idea's why this would happen?
View user's profile Send private message
evaders99
Moderator


Joined: Apr 30, 2004
Posts: 2793

PostPosted: Tue Oct 31, 2006 12:14 am Reply with quote Back to top

Perhaps your host did some server changes? They must have the PHP mail() function enabled and working correctly
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Wed Nov 01, 2006 2:02 am Reply with quote Back to top

I would think they would have done that at godaddy.com????
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Sun Nov 05, 2006 9:31 pm Reply with quote Back to top

Do you see any messages in your error log about the mail function not working? Did you receive the email in a spam box?

Sometimes hosts make changes that affect PHP applications without notifying their clients. If godaddy.com is your host, you should definitely check with them.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 12:22 am Reply with quote Back to top

that's the funny thing feed back says sent. I receive no email nothing. With the create account it says email has been sent. but no email shows up.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Mon Nov 06, 2006 5:33 am Reply with quote Back to top

The answer may be in the error log. You might also wish to set display_errors to TRUE in your config.php. Also, check your spam box.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 7:47 pm Reply with quote Back to top

not in spam box that was one of the first things I checked. I'm just stuck on this one and i'm probably going to have to use a different program for our web page. i can't have a broken product our page gets thousands of hits everyday and it is hurting us not being able to add users right now.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 7:57 pm Reply with quote Back to top

One other thing I can not figure out is how do I back up all my forums so it saves all areas and all messages. I've tried this several ways in the past but usually say forget it and redo everthing.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4642

PostPosted: Mon Nov 06, 2006 9:23 pm Reply with quote Back to top

Using phpmyadmin is the best way to abck up and save your database data.
Did your host reply to your enquiry about the PHP mail function?

The site was obviously working well for some time and scripts do not just break al on there own. Before chaging anything, you really ned to check with your host as knowing GoDaddy, they have made some change without informing you.
View user's profile Send private message Send e-mail Visit poster's website
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 9:42 pm Reply with quote Back to top

Do I have to back up everything in phpmyadmin? or just the forums area this is were i've been stuck before.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Mon Nov 06, 2006 9:53 pm Reply with quote Back to top

Let's focus on the email issue first. Did you find anything in the error log in your control panel? Did you ask your host if they disabled the php mail function?

I would recommend backing up everything.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:04 pm Reply with quote Back to top

Ok I called godaddy they have not changed anything so I enabled display_errors to TRUE in config.php this is error i got when i made true:

Warning: mail(): Bad parameters to mail() function, mail not sent. in /home/xxx/html/modules/Feedback/index.php on line 161

Mail has been sent!


Thank you for contacting us

I haven't changed anything on web page so how would this change on its own? Also what should this line be if this is incorrect?
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Mon Nov 06, 2006 10:16 pm Reply with quote Back to top

Are you comfortable adding a few lines of PHP? If so, echo the contents of the variables used in the mail function, and add a die statement just before the mail function call. That should show you where the problem is.


If not, please post line 161 here in between code brackets.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:21 pm Reply with quote Back to top

i'll add what ever I need to i just need to know what and were I need to add it.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:22 pm Reply with quote Back to top

here's my line 161 useing word to count "CloseTable2();"
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:24 pm Reply with quote Back to top

oh btw ur post confused the heck out of me lol i dont know how to code php yet.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Mon Nov 06, 2006 10:30 pm Reply with quote Back to top

If you open modules/Feedback/index.php with an editor like Crimson Editor or PSPad, you can go to line 161 and copy and paste that line in your forum post.

It might be easier to email the whole modules/Feedback/index.php to me. kguske at nukeSEO dot com.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:39 pm Reply with quote Back to top

here ya go "mail($to, $subject, $msg, $mailheaders);"
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Mon Nov 06, 2006 10:50 pm Reply with quote Back to top

Right. Same as in the file you sent.

Now, we need to know the values for the 4 variables.

So, let's add this just before that line:
Code:
echo "to = ".$to."<br />";
echo "subject =".$subject."<br />";
echo "msg =".$msg."<br />";
echo "mailheaders =".$mailheaders."<br />";
die();

My guess is that the $to variable is empty, and that this is the reason no email is received. This comes from your admin, preferences / settings administrator email setting. It should be a valid email address.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:56 pm Reply with quote Back to top

I sent you email my results
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 10:58 pm Reply with quote Back to top

It doesn't make sense to me it all looks right.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 4678

PostPosted: Mon Nov 06, 2006 11:14 pm Reply with quote Back to top

I agree. I did a test, and received the email with no problem. I'll send you the file I used, so you can test it.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 11:21 pm Reply with quote Back to top

you tried to register?
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 11:29 pm Reply with quote Back to top

when I try and register it doesn't even do the debug info.
View user's profile Send private message
synchro
New Member
New Member


Joined: May 24, 2006
Posts: 16

PostPosted: Mon Nov 06, 2006 11:36 pm Reply with quote Back to top

well i'm done screwing with this tonight i'm going to go play some AA now. If you have any more ideas you got my email addy so let me know. If not tomorrow i'm probably going to just redo my entire site and see if that fixes it.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum