mail address validation always fails when no answers found

Please report bugs here!

Moderator: Thorsten

Post Reply
derLars
Posts: 13
Joined: Tue Aug 04, 2009 3:25 pm

mail address validation always fails when no answers found

Post by derLars » Wed Aug 05, 2009 3:26 pm

When sending an own question, PMF checks the database against possible answers. If answers are found, everything's fine. However, if no answers are found, the user always get's an error, that his mailaddress is invalid.
Any ideas or confirmations?

Another (minor) problem: The "back"-button on that page refers to javascript, which is added to an url and thus not working.

Regards,
Lars

--------------------------------
Edit: Okay, the problem was an unconfigured mailserver in the php-options. Still, PMF should be more specific in its errormessages and provide a better interface for telling the user what's wrong. Currently, all messages are piped through all the classes and partly changed through them, so you can't add own messages, etc.

Thorsten
Posts: 14769
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: mail address validation always fails when no answers found

Post by Thorsten » Wed Aug 05, 2009 4:28 pm

Hi,
derLars wrote:Still, PMF should be more specific in its errormessages and provide a better interface for telling the user what's wrong. Currently, all messages are piped through all the classes and partly changed through them, so you can't add own messages, etc.
we know that and we're always working on improving phpMyFAQ.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

p80joe
Posts: 2
Joined: Fri Aug 14, 2009 7:20 pm

Re: mail address validation always fails when no answers found

Post by p80joe » Fri Aug 14, 2009 7:30 pm

We are experiencing what sounds like the same, or a very similar problem:

When there are no matches for the Ask a Question form submission, the question is inserted appropriately into the DB (that is, it becomes visible on the Open Questions page in the admin section), and the email notification is sent to our admin email address. However, when there are matches for the Ask a Question submission, and the user cicks the 'No, there is still no adequate answer' button, then neither is the email sent to us, nor is the question visible in Open Questions.

We did not build our PHP instance: We are using the ISAPI version of the precompiled Windows binary (5.2.6) with IIS. Is there some PHP (or phpMyFAQ) configuration step we can take to overcome this issue? We do not want to launch the new FAQ without sorting this out, since users will have the false impression that their questions have been submitted when, in fact, we have no record of them.

Thanks in advance for whatever help you can provide.

Thorsten
Posts: 14769
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: mail address validation always fails when no answers found

Post by Thorsten » Sat Aug 22, 2009 8:46 am

Hi,

we fixed this issue for 2.5.2 and 2.6.0-alpha.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

Post Reply