Blank Screens

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Blank Screens

Post by david63 »

There seems to be a problem when entering data into any of the forms. If you do not complete ALL of the fields on the screen then you are presented woth a totally blank page and no data has been updated.

This also happens on the email a friend page if you do not enter an email address in all of the available fields!
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

can you please enable the debug mode in inc/init.php? Thanks.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Post by david63 »

Have done that but it does not help as I an returned a totally blank screen with no debug information on it!
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

do you have access to your error_log?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Post by david63 »

Thorsten wrote:Hi,

do you have access to your error_log?

bye
Thorsten
Which error log?
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the apache error log.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Post by david63 »

OK - I have just created the error again and these are the entries in the log

Code: Select all

[Thu Dec 15 15:35:11 2005] [notice] child pid 19034 exit signal Segmentation fault (11)
[Thu Dec 15 15:35:11 2005] [notice] child pid 19033 exit signal Segmentation fault (11)
[Thu Dec 15 15:35:12 2005] [notice] child pid 19252 exit signal Segmentation fault (11)
Is this what you want?
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

david63 wrote:Is this what you want?
Yes, those lines explain the reason for which you are seeing a blank page: Apache fails upon your request and returns a 0 byte response (this is the reason for the blank page that is... really blank, empty). Now we must investigate why Apache crashes on some of your request using PMF.
Please post the PMF configuration.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Post by david63 »

Here is my config.php file:

Code: Select all

<?php 
// Created 2004-05-09 12:19:21

// language file (default: language_en.php)
$PMF_CONF["language"] = "language_en.php";

// Enable automatic content negotiation (default: enabled)
$PMF_CONF["detection"] = "TRUE";

// Titel der FAQ
$PMF_CONF["title"] = "phpMyFAQ";

// Version der FAQ
$PMF_CONF["version"] = "1.5.5";

// Beschreibung der Seite
$PMF_CONF["metaDescription"] = "Die phpMyFAQ soll allen Kunden die häufig gestellten Fragen beantworten";

// Keywords f&uuml;r Suchmaschinen
$PMF_CONF["metaKeywords"] = "";

// Name des Ver&ouml;ffentlichers
$PMF_CONF["metaPublisher"] = "John Doe";

// E-Mailadresse des Admins
$PMF_CONF["adminmail"] = "webmaster@example.com";

// Kontakt, Impressum, geben Sie hier Ihre Adresse an!
$PMF_CONF["msgContactOwnText"] = "";

// Copyright-Text f&uuml;r die Eintragsseite
$PMF_CONF["copyright_eintrag"] = "";

// Text f&uuml;r die Send2Friend-Seite
$PMF_CONF["send2friend_text"] = "";

// Maximalgr&ouml;&szlig;e von Attachments in Bytes (max. 2MByte) (default: 100000)
$PMF_CONF["attmax"] = "100000";

// Attachments unter den Beitr&auml;gen anzeigen? (default: enabled)
$PMF_CONF["disatt"] = "TRUE";

// Tracking aktiviert? (default: enabled)
$PMF_CONF["tracking"] = "TRUE";

// Adminlog aktiviert? (default: enabled)
$PMF_CONF["enableadminlog"] = "TRUE";

// Soll die IP zum Check der UINs im Administrationsbereich herangezogen werden? (default: disabled)
$PMF_CONF["ipcheck"] = "";

// Anzahl der angezeigten Themen pro Seite (default: 10)
$PMF_CONF["numRecordsPage"] = "10";

// Anzahl der angezeigten News (default: 3)
$PMF_CONF["numNewsArticles"] = "3";

// Geseperrte IPs (default: disabled)
$PMF_CONF["bannedIP"] = "";

// Should the template engine parse PHP code? (default: disabled)
$PMF_CONF["parse_php"] = "";

// Activate mod_rewrite support? (default: disabled)
$PMF_CONF["mod_rewrite"] = "";

// Activate mod_rewrite support? (default: disabled)
$PMF_CONF["ldap_support"] = "";
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

david63 wrote:Here is my config.php file:
Sorry, I meant not the PMF file configuration but the PMF configuration as printed out by the startpage after a successful login as a PMF administrator, precisely the System Information section.
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Post by david63 »

Sorry - here it is
System Information

phpMyFAQ Version
phpMyFAQ 1.5.5
Server Software
Apache-AdvancedExtranetServer/2.0.44 (Mandrake Linux/11mdk) mod_perl/1.99_08 Perl/v5.8.0 auth_external/2.2.1 auth_mysql/1.11 mod_auth_pgsql/2.0.0 auth_radius/1.7PR1 mod_layout/4.0.1a mod_ssl/2.0.44 OpenSSL/0.9.7a DAV/2 PHP/4.3.1 mod_auth_remote/1.0 mod_auth_shadow/2.0
PHP Version
PHP 4.3.1
Register Globals
off
Safe Mode
off
Database Client Version
4.0.11a-gamma
Database Server Version
4.0.11a-gamma
Webserver Interface
APACHE2FILTER
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Well, 2 weeks ago I've read some post of Thorsten about issues with PHP 4.3.1: unfortunately I'm not able to find them 'cause they're in German.
Another question: is your PHP 4.3.1 provided by Mandrake (I mean: using rpm or urpmi) or have you compiled it directly from source by your own?
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
david63
Posts: 12
Joined: Wed Dec 14, 2005 9:50 pm
Location: Lancashire, UK

Post by david63 »

matteo wrote:Another question: is your PHP 4.3.1 provided by Mandrake (I mean: using rpm or urpmi) or have you compiled it directly from source by your own?
Straight out of the box from Mandrake
matteo
Posts: 572
Joined: Sun Nov 20, 2005 6:53 pm
Location: Italy

Post by matteo »

Here they are:
1. viewtopic.php?p=10314#10314
2. viewtopic.php?p=10434#10434
I'm not able to read/write German but the general sense is that PMF uses some PHP functions that are broken in PHP 4.3.1

Hope this help U :wink:
phpMyFAQ QA / Developer
Amazon.co.uk Wishlist
Thorsten
Posts: 15742
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this is a bug in PHP 4.3.1. Due to security issues in versions earlier than 4.4.1 you should upgrade to PHP 4.4.1.

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