Re: PHP shows nothing

From: Date: Tue, 30 Nov 2010 19:36:50 +0000
Subject: Re: PHP shows nothing
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-309774@lists.php.net to get a copy of this message
At 10:26 PM +0330 11/30/10, Mohammad Taghi Khalifeh wrote:
Hi there, I have a package written in pure PHP, some .php files that refer to others via require_once(''), but when I try to see package's contents via a browser, the pacakge just shows nothing: a blank page. I've activated all log levels, and it seems that php doesn't encounter any problem. I'm using PHP 5.3.3 and apache httpd 2.2. FYI, I'm new to PHP and this mailing list :) I would appreciate if someone could help me. Best Mohammad
Mohammad; Do the included files run OK? If there are any errors in them, you may get a blank page. To trouble shoot this, I typically place an: echo('aaa'); in the first include. That way, if I see 'aaa' at the top of the web page, then I know the include has loaded properly. Cheers, tedd -- ------- http://sperling.com/

« previous php.general (#309774) next »