Possible bug? need help.

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Possible bug? need help.

Post by marve »

I installed 1.40a on 2 different machines.
Installation ends correctly and I can access phpmyfaq.

Adminpanel also works ok.

When I go to my website:

http://tifa.mine.nu/phpmyfaq/index.php

everything looks ok, but when clicking on a link no matter
what link all I get is a blank screen.

I had this problem with 2 different installations.

Hope somebody can help me out on this.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

it works for me and I can see a empty fresh phpMyFAQ installation.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

Well yes, the main page works.

But when you click on an item, let's say 'Add content' or
'Add question' all you get is a blank screen.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this also works for me. Tested with Firefox and IE.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

Thorsten you're right.

It doesn't work on my laptop but it does work on another system.

Sorry for wasting your time :)
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

No problem. :)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

Thorsten,

Other users did some testing and most of them get a empty
white screen when clicking links in the FAQ.

I get blank screens when using firefox and IE @Home, but here
@ work it works with both browsers :roll:

Hope somebody can help me out on this.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

is there a restrictive firewall or a mad proxy between you and the server with the FAQ? This could be a possibility.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

Wow you're very fast in replying, thanks for that :)

I'm not behind a firewall, but the webserver is, with only
port 80 forwarded (it's behind a NAT firewall)

I found out when I remove:

&lang=nl manually from the address bar then it works :wink:

Could this be a problem in my language modules?

Thanks again!

Edit: btw, here's my system info:

System Information
phpMyFAQ Version
phpMyFAQ 1.4.0a
Server Software
Apache/1.3.28 (Unix) PHP/4.3.3
PHP Version
PHP 4.3.3
PHP Memory Limit
8M
Register Globals
off
Safe Mode
off
MySQL Client Version
MySQL 4.0.15a
MySQL Server Version
MySQL 4.0.15a-log
Webserver Interface
APACHE


I was thinking, can I remove the language module?
I need english only anyway.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

now I have the problem, too. Strange, really strange. Maybe this is a bug in PHP 4.3.3. If yopu only need English, please disable automatic content negotiation in the configuration and delete all language files except language.en.php in the directory lang/

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

could you please enable the DEBUG MODE in index.php?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

Hi Thorsten,

Thanks for your reply

I have the same problem on my laptop which runs php 4.3.8.

Removing the language files and changing the config didn't work out.

I will enable the debug mode like you said and post the results here.

Thanks!
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

DEBUG INFORMATION:

INSERT INTO faqsessions (IP,TIME) VALUES ('193.173.228.200', '1091010939')
SELECT sid FROM faqsessions ORDER BY sid DESC LIMIT 0,1
SELECT id, lang, parent_id, name, description FROM faqcategories ORDER BY id
SELECT count(sid) FROM faqsessions WHERE time > '1091010639' GROUP BY ip
SELECT datum, header, artikel, link, linktitel, target FROM faqnews ORDER BY datum desc LIMIT 0,3
SELECT id FROM faqdata WHERE active = 'yes'
SELECT DISTINCT faqdata.id, faqdata.lang, faqdata.thema, faqdata.rubrik, faqvisits.visits FROM faqvisits, faqdata WHERE faqdata.id = faqvisits.id AND faqdata.lang = faqvisits.lang AND faqdata.active = 'yes' ORDER BY faqvisits.visits DESC LIMIT 0,10
SELECT DISTINCT faqdata.id, faqdata.lang, faqdata.rubrik, faqdata.thema, faqdata.datum, faqvisits.visits FROM faqdata, faqvisits WHERE faqdata.id = faqvisits.id AND faqdata.lang = faqvisits.lang AND faqdata.active = 'yes' ORDER BY faqdata.datum desc LIMIT 0,5


When I click a link I still get a white screen with no debug codes.

When I remove &lang in the adresbar:

DEBUG INFORMATION:

SELECT id, lang, parent_id, name, description FROM faqcategories ORDER BY id
SELECT count(sid) FROM faqsessions WHERE time > '1091010712' GROUP BY ip
SELECT id,ask_username,ask_usermail,ask_rubrik,ask_content,ask_date FROM faqfragen ORDER BY ask_date ASC

then it works.

Thanks in advance.
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have acces to the errorlog of your apache webserver?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
marve
Posts: 13
Joined: Wed Jul 28, 2004 6:25 am

Post by marve »

Well, I have user ftp access to the box, no shell access.
I can reach to the error log with FTP and download it,
but the problem is that it's 180 MB big :)

I can't tail because I don't have shell, but the sysop
should come in any minute now so I will ask him and
post the last lines in here.

Thanks.
Post Reply