Error when you click on submit after answering a question

Please report bugs here!

Moderator: Thorsten

Post Reply
deegecrotty
Posts: 2
Joined: Wed May 05, 2010 4:27 pm

Error when you click on submit after answering a question

Post by deegecrotty »

Hi,
Firstly thank you very much for your work on this FAQ system. It is fantastic. One little problem I have noticed using it is when i click on open questions, click on a question to answer , fill in answer and then when i click on submit the following is shown
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 589

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 590

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 591

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 592

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 593

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 594

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at C:\xampp\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 595
Proposal for a new FAQ
Thank you for your suggestion!

Any ideas? Oh I am using version 2.6.4. Browser IE verion 7.0.5730.13CO.
Many thanks
deegecrotty
Posts: 2
Joined: Wed May 05, 2010 4:27 pm

Re: Error when you click on submit after answering a question

Post by deegecrotty »

Never mind, I restarted apache and the issue went away . thanks
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error when you click on submit after answering a question

Post by Thorsten »

Hi,

okay. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Friso
Posts: 4
Joined: Thu Aug 05, 2010 10:12 am
Location: Rome, Italy

Re: Error when you click on submit after answering a question

Post by Friso »

Hi Thorsten
I’m using xammp PHP Version 5.2.9 and php MyAdmin 3.1.3. and the issue described by deegecrotty still shows up.

phpMyFAQ warning [2]: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in Builtin.php on line 74

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 589

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 590

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 591

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 592

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 593

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 594

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at D:\xampp\htdocs\faq\inc\functions.php:173) in index.php on line 595

The first warning clearly refers to the missing email address. The second one is similar the one being referred to in this post.
Thanks for your time,
Friso
Friso D.
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Error when you click on submit after answering a question

Post by Thorsten »

Hi,

as you are running PHP on Windows you have to configure your SMTP server in your php.ini file. Otherwise it won't work.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply