Afficher un message
Vieux 07/01/2008, 16h54   #5
Andy Smith
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [PHP] PHTML files showing as blank pages

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

  Réponse avec citation
 
Page generated in 0,05087 seconds with 9 queries