Re: A couple of questions
| From: | Nick Cooper | Date: | Mon, 16 Mar 2009 16:51:03 +0000 |
| Subject: | Re: A couple of questions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290127@lists.php.net to get a copy of this message | ||
2009/3/16 Stuart <stuttle@gmail.com>
> 2009/3/16 Payne <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