Re: PHTML files showing as blank pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: "A.smith" <a.smith@xxxxxxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Sunday, January 06, 2008 12:37 AM
Subject: Re:  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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux