Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Themes and Templates
    In reply to: PHP Include
    Thread Starter cued100prof

    (@cued100prof)

    Ok, that makes loads of sense all the way around.

    Forum: Themes and Templates
    In reply to: PHP Include
    Thread Starter cued100prof

    (@cued100prof)

    Woah! That’s it! The security on the directory is preventing access by the system! I’ll see if I can figure out how to give the server access.

    Thanks for all your help. There’s one more lesson learned!

    Forum: Themes and Templates
    In reply to: PHP Include
    Thread Starter cued100prof

    (@cued100prof)

    1) Yes, the file exists, and the URL works. Sorry, it’s in a protected directory so I can’t share it at the moment.

    2) Yes; this is a Page Template in the Child Theme folder. As I mentioned <?php include(TEMPLATEPATH."/sidebar_right_page.php");?> is on the same page, and works correctly.

    3) The file only contains a single paragraph of text, so I didn’t think it needed to be .php. (I have actually tried renaming it, though, to see if that would make a difference, but no cigar.)

    Forum: Themes and Templates
    In reply to: PHP Include
    Thread Starter cued100prof

    (@cued100prof)

    Thanks, Chip. I knew I should figure out how to get rid of that nested php. However, the include still does not work. Shouldn’t it at least work when I hard code the full URL to a specific file, as in Line 3?

    There are no error messages, or any trace of the request in the output. It’s like the line just gets skipped in processing.

    BTW, there is a php include line that’s built into the theme at the bottom of this same page that runs fine. So it seems like there is something within this div that is being handled differently, somehow.

    I’m mystified.

Viewing 4 replies - 1 through 4 (of 4 total)