Author |
Message |
tangoman
Involved


Joined: Aug 06, 2005
Posts: 301
|
Posted:
Thu Aug 11, 2005 6:22 am |
|
Greetings all,
I am running PHPNuke 7.6 with patch 3.0.
Wen I try to test the 'Feedback Form', I receive the following error:
ERROR: Please enter your e-mail address!
But I have entered all 3 required pieces of information, My name, e-mail address and message and still this error occurs.
Whats the solution? |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Thu Aug 11, 2005 10:02 am |
|
I use the Contact_Plus module from NukeStyles.com. Much better than feedback, but if you don't want to install this addon, email the /modules/Feedback/index.php and I'll have a look. |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
technocrat
Life Cycles Becoming CPU Cycles

Joined: Jul 07, 2005
Posts: 511
|
Posted:
Thu Aug 11, 2005 10:46 am |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 11:15 am |
|
Thanks for the link, Technocrat! |
|
|
|
 |
technocrat

|
Posted:
Thu Aug 11, 2005 11:16 am |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 11:41 am |
|
technocrat wrote: | http://www.nukefixes.com/ftopic-1594-0-days0-orderasc-enter.html |
Hi technocrat,
What is the code featured on the link you provided?
Is the code you linked to the actual code that needs replacing or the code that must be used instead of some current code?
If this is the replacement code what does it do?...I assume it allows both anonymous users AND registered users to send feedback? |
|
|
|
 |
technocrat

|
Posted:
Thu Aug 11, 2005 11:50 am |
|
The code basically removes the code that blanks the user's email if it cannot decode the user. So even if you entered one if it doesnt detect who you are it blanks it (for some reason).
All you need to do what is stated by Evaders. That should in theory fix the problem. |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 12:10 pm |
|
OK technocrat...So I have changed the code...Well, it is a case of simply deleting the code except for one ' } '
As a non-registered/Anonymouse user, this did stop me receiving the error message, asking me for my e-mail address. However, I now note that I am not receiving the e-mails anywhere. I assume that when you click send, the message should be sent to the webmaster/admin e-mail address.
Any ideas? |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 12:12 pm |
|
It should be sent to the admin email address defined in your admin, preferences. |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 12:23 pm |
|
In preferences I have 'Administrator Email:' defined, but in the 'Mail New Stories to Admin' section, 'Notify new submissions by email?' is set to 'No' and not configured correctly'. Is that the problem? Does 'Notify new submissions by email?' need to be set to 'Yes' and the rest configured?...I thought that the'Mail New Stories to Admin' section was specifically for when people use the 'Submit News' option, not the 'Feedback Form'.
Please advise me. |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 12:24 pm |
|
You are correct: the Notify new submissions by email has nothing to do with Feedback. |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 12:30 pm |
|
Then I still have a problem and am not receiving messages submitted via the 'Feedback Form'. |
|
|
|
 |
technocrat

|
Posted:
Thu Aug 11, 2005 12:33 pm |
|
Try adding global $adminmail; |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 12:35 pm |
|
Are you suggesting to add the code:
global $adminmail;
or
$adminmail;
And where in the existing code do I add it? |
|
|
|
 |
technocrat

|
Posted:
Thu Aug 11, 2005 12:37 pm |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 12:43 pm |
|
I am still having no joy.
Just to confirm, I am running PHPNuke 7.6 with patch 3.0. |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 12:48 pm |
|
Can you confirm whether you are receiving any emails from PHP-Nuke? |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 12:50 pm |
|
I have just started building the site, hence I am curently the only registed user.
If I send a Newsletter, I receive it without any problems. |
|
|
|
 |
technocrat

|
Posted:
Thu Aug 11, 2005 12:52 pm |
|
Well you can check where the mail is going by:
Find:
$to = $adminmail;
Before add
var_dump($adminmail);
die();
Once you run it you will see what the variable is set too. |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 1:00 pm |
|
Technocrat, I have not yet proceeded with the advise in your last posting, (stamped 'Fri Aug 12, 2005 4:52 am').
Yesterday I was receving the Newsletter perfectly, I have just checked again and it appears that this function has now stopped working too. |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 1:05 pm |
|
That's why I wanted to confirm it, tangoman. The feedback email is pretty straightforward, though it uses the PHP mail() function. I was concerned this might be blocked by spam filters either on your server or on your PC. Try sending it to a Yahoo address - nothing gets blocked there, it seems. |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 1:09 pm |
|
I have tried all this....I think I have to first find out why the 'Newsletter' function is now not working. Whatever is stopping those messages reaching me is clearly the problem I am now experiencing with receiving the 'Feedback Forum' messages |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 1:11 pm |
|
Check your spam box on the server and / or your email client. Check with your host to see if there are any delays with email. |
|
|
|
 |
tangoman

|
Posted:
Thu Aug 11, 2005 1:16 pm |
|
It is nothing as obvious as all that. I have not changed my mailbox setting since succesfully testing the Newsletter function yesterday and receiving the Newsletter messages without any problems.
I have jst checked the bulk/junk mail options though and they are off, as I suspected.
Additionally, I just sent an e-mail directly to the e-mail address registed in the 'Preferences' section and the message was received instantly. |
|
|
|
 |
kguske

|
Posted:
Thu Aug 11, 2005 1:20 pm |
|
Does the email in the preferences section exist on the same server as Nuke? |
|
|
|
 |
|