Nick Cooper wrote:

2009/3/16 Stuart < <>>

    2009/3/16 Payne < <>>

    > 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/'
    > Is there a way I can do like sh -x on a php page to see what is

    Check your include_path setting - my guess is that it doesn't
    include the
    current directory (.).



> 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 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.


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to