phpMyFAQ warnings after 2.6.0 update [RESOLVED]

Please report bugs here!

Moderator: Thorsten

Post Reply
guillaume
Posts: 27
Joined: Tue Sep 01, 2009 2:56 pm
Location: Montreal, QC, Canada
Contact:

phpMyFAQ warnings after 2.6.0 update [RESOLVED]

Post by guillaume »

Hi,

I updated from 2.5.5 to 2.6.0 and now I'm having the following errors:

phpMyFAQ notice [8]: Undefined index: spam.enableCaptchaCode in Configuration.php on line 127
phpMyFAQ notice [8]: Undefined index: spam.enableCaptchaCode in Configuration.php on line 135
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 574
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 575
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 576
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 577
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 578
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 579
phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /home/content/p/r/s/prspcts/html/FAQ/inc/functions.php:173) in index.php on line 580


I did take a look at this post (with the help of Google translate) since it looks like the same problem I'm having:

viewtopic.php?f=3&t=10240

I replaced the following files with those from the GIT repository (I think that was the solution but I am not sure) :
Category.php
Glossary.php
String.php
opensearch.php
ajaxresponse.php

... and I am still having this issue. The files I used to replace previous version are attached to this post.

Here is the address for my faqs if you want to see the error.
http://www.prospects.com/FAQ

Sorry if this has been answered already but I don't know if I can trust Google Translate that much.

N.B. I think I saw somewhere that a patch 2.6.1 should be out soon. Maybe I should wait for this udpate and retry then?

Thanks! :)
You do not have the required permissions to view the files attached to this post.
Last edited by guillaume on Tue Jan 19, 2010 6:01 pm, edited 1 time in total.
guillaume
Posts: 27
Joined: Tue Sep 01, 2009 2:56 pm
Location: Montreal, QC, Canada
Contact:

Re: phpMyFAQ warnings after 2.6.0 update

Post by guillaume »

Here is my system Information:

phpMyFAQ Version: phpMyFAQ 2.6.0
Server Software: Apache
PHP Version: PHP 5.2.5
Register Globals: off
Safe Mode: off
Open Basedir: off
Database Server: Mysql
Database Client Version: 5.0.18
Database Server Version: 5.0.67.d7-ourdelta-log
Webserver Interface: CGI-FCGI
PHP Extensions: zip, libxml, xsl, xmlwriter, dom, xmlreader, xml, wddx, tokenizer, session, pcre, SimpleXML, SPL, PDO, soap, SQLite, standard, Reflection, pspell, pdo_sqlite, pdo_mysql, mysqli, mysql, mhash, mcrypt, mbstring, json, iconv, hash, gettext, gd, ftp, filter, exif, dba, date, curl, ctype, calendar, bcmath, zlib, openssl, cgi-fcgi
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ warnings after 2.6.0 update

Post by Thorsten »

Hi,

do you have an entry "spam.enableCaptchaCode" in your faqconfig table?

If not, please add the following query:

Code: Select all

INSERT INTO faqconfig VALUES ('spam.enableCaptchaCode', 'true');
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
guillaume
Posts: 27
Joined: Tue Sep 01, 2009 2:56 pm
Location: Montreal, QC, Canada
Contact:

Re: phpMyFAQ warnings after 2.6.0 update

Post by guillaume »

Excellent! It worked!

Thanks! :)

EDIT: I should have mentionned that I had this entry in my faqconfig table but it was set to "false", so I simply changed it to "true".
Post Reply