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.
phpMyFAQ Notice and Warning messages displayed
Moderator: Thorsten
Re: phpMyFAQ Notice and Warning messages displayed
Hi,
please try switching to "mysql" instead of "mysqli" in your config file located at config/database.php.
bye
Thorsten
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
amazon.de Wishlist
Re: phpMyFAQ Notice and Warning messages displayed
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.
Re: phpMyFAQ Notice and Warning messages displayed
Hi,
it will be also fixed with MySQLi and phpMyFAQ 2.6.8.
bye
Thorsten
it will be also fixed with MySQLi and phpMyFAQ 2.6.8.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: phpMyFAQ Notice and Warning messages displayed
When is 2.6.8 coming out?
Re: phpMyFAQ Notice and Warning messages displayed
Hi,
I hope this or next week...
bye
Thorsten
I hope this or next week...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist