Re: PHTML files showing as blank pages
| From: | Andy Smith | Date: | Mon, 07 Jan 2008 15:54:12 +0000 |
| Subject: | Re: PHTML files showing as blank pages | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266841@lists.php.net to get a copy of this message | ||
Hi All,
Ok, I have resolved the problem! Interestingly from the index.phtml page I was still unable to get any info even
after setting the display errors options as suggested by Brady. I tried connecting direct to some other random
.phtml files included in the CDRTool app and I started getting errors regarding missing files. The solution turned
out that there were many "pear" module dependencies that weren't mentioned in the installation and requirements
documents for CDRTool (which simply stated PHP was required). Anyway I added the modules one by one
depending on the error message I was seeing and now I can connect to the index.phtml page too.
Thanks to those who replied,
cheers Andy.
----- Original Message ----- From: "Brady Mitchell" <mydarb@gmail.com>
To: "A.smith" <a.smith@ukgrid.net>
Cc: <php-general@lists.php.net>
Sent: Sunday, January 06, 2008 12:37 AM
Subject: Re: [PHP] PHTML files showing as blank pages
On Jan 5, 2008, at 639AM, A.smith wrote:I'm having a problem getting .phtml files to display in a web browser. I can successfully display a test.php page as per PHP install instructions but the phtml files show up blank (in firefox or IE).A blank page often means that there's an error of some kind, but error reporting is turned off. Put the following code in the file that's giving you problems to turn on errors, then reload the file in your browser to see what you get: ini_set('display_errors',1); Brady