2009/3/16 Payne <payne@xxxxxxxxxxxxxx> > Nick Cooper wrote: > >> >> >> 2009/3/16 Stuart <stuttle@xxxxxxxxx <mailto:stuttle@xxxxxxxxx>> >> >> 2009/3/16 Payne <payne@xxxxxxxxxxxxxx <mailto:payne@xxxxxxxxxxxxxx>> >> >> >> > 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. Check the archives - current working directory issues were recently discussed. -Stuart -- http://stut.net/