Re: A couple of questions
| From: | Payne | 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>>Payne2009/3/16 Payne <payne@magidesign.com <mailto:payne@magidesign.com>>I had a page working on my opensuse 11.0 32bit, had to upgradeto 11.164bit. I have two strange issues. The first my code is being display when I call the page, Ilooked at thelogs and I don't see any errors that explain why this happen. Ilooked at myphp.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 sameissue and Ididn'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 isbroke?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.