phpMyFAQ Notice and Warning messages displayed

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
gpage
Posts: 3
Joined: Fri Aug 20, 2010 11:37 pm

phpMyFAQ Notice and Warning messages displayed

Post by gpage »

I recently set up a new phpMyFAQ install and I must say that it is EXACTLY what I have been looking for. I do have a small problem though. Various pages, particularly ones when I try to display a FAQ as a non-logged in user, come up with some error messages above the page comments. The errors always look similar to this:

phpMyFAQ notice [8]: Trying to get property of non-object in Mysqli.php on line 176

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /var/www/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 /var/www/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 /var/www/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 /var/www/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 /var/www/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 /var/www/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 /var/www/faq/inc/functions.php:173) in index.php on line 595

You can see this behavior for yourself by visiting http://tahelpdesk.thet.net/faq/ and selecting any of the FAQs from the list on the right.

My guess is a permissions issue somewhere but I am not sure what to try.

Thanks in advance and keep up the great work. I really love the look and feel of this software.
Thorsten
Posts: 15802
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ Notice and Warning messages displayed

Post by Thorsten »

Hi,

please try switching to "mysql" instead of "mysqli" in your config file located at config/database.php.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
gpage
Posts: 3
Joined: Fri Aug 20, 2010 11:37 pm

Re: phpMyFAQ Notice and Warning messages displayed

Post by gpage »

Thank you! That fixed it. Don't know how I missed that. Incredible how much of a difference a single letter can make in the code.
Thorsten
Posts: 15802
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ Notice and Warning messages displayed

Post by Thorsten »

Hi,

it will be also fixed with MySQLi and phpMyFAQ 2.6.8.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
gpage
Posts: 3
Joined: Fri Aug 20, 2010 11:37 pm

Re: phpMyFAQ Notice and Warning messages displayed

Post by gpage »

When is 2.6.8 coming out?
Thorsten
Posts: 15802
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ Notice and Warning messages displayed

Post by Thorsten »

Hi,

I hope this or next week... :-)

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