Re: A couple of questions

From: Date: Mon, 16 Mar 2009 17:06:30 +0000
Subject: Re: A couple of questions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-290128@lists.php.net to get a copy of this message
Nick Cooper wrote:
2009/3/16 Stuart <stuttle@gmail.com <mailto:stuttle@gmail.com>>
    2009/3/16 Payne <payne@magidesign.com <mailto:payne@magidesign.com>>
I had a page working on my opensuse 11.0 32bit, had to upgrade
    to 11.1
64bit. I have two strange issues. The first my code is being display when I call the page, I
    looked at the
logs and I don't see any errors that explain why this happen. I
    looked at my
php.ini and I don't see anything different or any outstanding. In fact I put in place my old php.ini to see if I got the same
    issue and I
didn't. What that one I am getting include(): Failed opening 'template/header.inc' Is there a way I can do like sh -x on a php page to see what is
    broke?
    Check your include_path setting - my guess is that it doesn't
    include the
    current directory (.).
    -Stuart
    --
    http://stut.net/
The first my code is being display when I call the page It sounds like you may have been using short tags. Check for short_open_tag and turn it On: short_open_tag = On Or go through your code and replace <? with <?php The second option is best. Nick Nick you where right, I had <? and not <?php thanks. I am working on the path issue. I am not sure why, but it calling that file in the apache root folder and not home.
Payne

« previous php.general (#290128) next »