Hi,
First, thank you Thorsten for developing phpMyFAQ, I can't wait to get it working. I went through the install process ok but I can't add any categories. Whenever I click "add main category" the resulting page is blank. When I go to view source it is completely blank.
I also tried reinstalling but no luck. Can someone please tell me what's wrong? Thanks!
Here are my server details:
phpMyFAQ Version
phpMyFAQ 2.0.0
Server Software
Apache/1.3.27 (Unix) (Red-Hat/Linux) PHP/5.2.1
PHP Version
PHP 5.2.1
Register Globals
off
Safe Mode
off
Open Basedir
off
Database Server
Mysqli
Database Client Version
5.0.27
Database Server Version
5.0.27-standard
Webserver Interface
APACHE
PHP Extensions
libxml, xsl, xmlwriter, xmlrpc, dom, xmlreader, xml, tokenizer, session, pcre, SimpleXML, SPL, PDO, sockets, soap, SQLite, standard, Reflection, pspell, posix, pgsql, pdo_sqlite, pdo_pgsql, pdo_mysql, mysqli, mysql, mssql, mhash, mcrypt, mbstring, magickwand, ldap, json, imap, iconv, hash, gmp, gettext, gd, ftp, filter, exif, dbase, dba, date, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache, Zend Optimizer
Blank page when trying to add main category
Moderator: Thorsten
Hi,
can you enable the DEBUG mode in inc/Init.php and post the error messages here? Thanks!
bye
Thorsten
can you enable the DEBUG mode in inc/Init.php and post the error messages here? Thanks!
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi Thorsten, here's my debug info. Note the header error at the end, that is a script used to catch spam bots. I disabled it and the error went away but I still got a blank page when I tried creating a new category so I don't think that script is the problem--that said, is it ok to leave the script on?
Thank you for your help =)
DEBUG INFORMATION:
PMF_Configuration->getAll() in line 87:
SELECT
config_name, config_value
FROM
faqconfig
PMF_User->getUserById() in line 416:
SELECT
user_id,
login,
account_status
FROM
faquser
WHERE
user_id = 1
PMF_User->getUserById() in line 416:
SELECT
pass
FROM
faquserlogin
WHERE
login = 'admin'
PMF_UserData->load() in line 331:
SELECT
last_modified, display_name, email
FROM
faquserdata
WHERE
user_id = 1
PMF_CurrentUser->getSessionInfo() in line 423:
SELECT
session_id,
session_timestamp,
ip
FROM
faquser
WHERE
user_id = 1
PMF_PermBasic->getAllRightsData() in line 123:
SELECT
right_id,
name,
description,
for_users,
for_groups
FROM
faqright
ORDER BY
right_id ASC
PMF_PermBasic->getUserRights() in line 309:
SELECT
faqright.right_id AS right_id
FROM
faqright,
faquser_right,
faquser
WHERE
faqright.right_id = faquser_right.right_id AND
faquser.user_id = 1 AND
faquser.user_id = faquser_right.user_id
PMF_Category->getOrderedCategories() in line 150:
SELECT
fc.id AS id,
fc.lang AS lang,
fc.parent_id AS parent_id,
fc.name AS name,
fc.description AS description,
fc.user_id AS user_id
FROM
faqcategories fc
LEFT JOIN
faqcategory_group fg
ON
fc.id = fg.category_id
LEFT JOIN
faqcategory_user fu
ON
fc.id = fu.category_id
WHERE
lang = 'en'
GROUP BY
id
ORDER BY
id
PMF_Category->getMissingCategories() in line 166:
SELECT
id, lang, parent_id, name, description, user_id
FROM
faqcategories WHERE lang != 'en' ORDER BY id
COOKIES:
pmf_lang: en
__utma: 216573323.712842296.1167439980.1179969205.1179981061.115
__utmz: 216573323.1179897152.109.8.utmccn=(referral)|utmcsr=laurelcrown.com|utmcct=/cgi-bin/search/search.pl|utmcmd=referral
pmf_auth_: 4e5e4087f2f3c7a08e1263fc520356bc
bb2_screener_: 1179984544 76.102.0.201
TABLES & RECORDS:
faqadminlog: 0
faqcaptcha: 2
faqcategories: 0
faqcategory_group: 0
faqcategory_user: 0
faqcategoryrelations: 0
faqchanges: 0
faqcomments: 0
faqconfig: 33
faqdata: 0
faqdata_group: 0
faqdata_revisions: 0
faqdata_tags: 0
faqdata_user: 0
faqglossary: 0
faqgroup: 0
faqgroup_right: 0
faqlinkverifyrules: 0
faqnews: 0
faqquestions: 0
faqright: 29
faqsessions: 1
faqtags: 0
faquser: 2
faquser_group: 0
faquser_right: 29
faquserdata: 2
faquserlogin: 2
faqvisits: 0
faqvoting: 0
phpMyFAQ 2.0.0 | © 2001-2007 phpMyFAQ Team
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/faq/admin/index.php:402) in /var/www/html/Bad-Behavior/bad-behavior/screener.inc.php on line 8
Thank you for your help =)
DEBUG INFORMATION:
PMF_Configuration->getAll() in line 87:
SELECT
config_name, config_value
FROM
faqconfig
PMF_User->getUserById() in line 416:
SELECT
user_id,
login,
account_status
FROM
faquser
WHERE
user_id = 1
PMF_User->getUserById() in line 416:
SELECT
pass
FROM
faquserlogin
WHERE
login = 'admin'
PMF_UserData->load() in line 331:
SELECT
last_modified, display_name, email
FROM
faquserdata
WHERE
user_id = 1
PMF_CurrentUser->getSessionInfo() in line 423:
SELECT
session_id,
session_timestamp,
ip
FROM
faquser
WHERE
user_id = 1
PMF_PermBasic->getAllRightsData() in line 123:
SELECT
right_id,
name,
description,
for_users,
for_groups
FROM
faqright
ORDER BY
right_id ASC
PMF_PermBasic->getUserRights() in line 309:
SELECT
faqright.right_id AS right_id
FROM
faqright,
faquser_right,
faquser
WHERE
faqright.right_id = faquser_right.right_id AND
faquser.user_id = 1 AND
faquser.user_id = faquser_right.user_id
PMF_Category->getOrderedCategories() in line 150:
SELECT
fc.id AS id,
fc.lang AS lang,
fc.parent_id AS parent_id,
fc.name AS name,
fc.description AS description,
fc.user_id AS user_id
FROM
faqcategories fc
LEFT JOIN
faqcategory_group fg
ON
fc.id = fg.category_id
LEFT JOIN
faqcategory_user fu
ON
fc.id = fu.category_id
WHERE
lang = 'en'
GROUP BY
id
ORDER BY
id
PMF_Category->getMissingCategories() in line 166:
SELECT
id, lang, parent_id, name, description, user_id
FROM
faqcategories WHERE lang != 'en' ORDER BY id
COOKIES:
pmf_lang: en
__utma: 216573323.712842296.1167439980.1179969205.1179981061.115
__utmz: 216573323.1179897152.109.8.utmccn=(referral)|utmcsr=laurelcrown.com|utmcct=/cgi-bin/search/search.pl|utmcmd=referral
pmf_auth_: 4e5e4087f2f3c7a08e1263fc520356bc
bb2_screener_: 1179984544 76.102.0.201
TABLES & RECORDS:
faqadminlog: 0
faqcaptcha: 2
faqcategories: 0
faqcategory_group: 0
faqcategory_user: 0
faqcategoryrelations: 0
faqchanges: 0
faqcomments: 0
faqconfig: 33
faqdata: 0
faqdata_group: 0
faqdata_revisions: 0
faqdata_tags: 0
faqdata_user: 0
faqglossary: 0
faqgroup: 0
faqgroup_right: 0
faqlinkverifyrules: 0
faqnews: 0
faqquestions: 0
faqright: 29
faqsessions: 1
faqtags: 0
faquser: 2
faquser_group: 0
faquser_right: 29
faquserdata: 2
faquserlogin: 2
faqvisits: 0
faqvoting: 0
phpMyFAQ 2.0.0 | © 2001-2007 phpMyFAQ Team
Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/faq/admin/index.php:402) in /var/www/html/Bad-Behavior/bad-behavior/screener.inc.php on line 8
Hi,
do you have access to the server's errorlog?
bye
Thorsten
do you have access to the server's errorlog?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist