Title: cued100prof's Replies | WordPress.org

---

# cued100prof

  [  ](https://wordpress.org/support/users/cued100prof/)

 *   [Profile](https://wordpress.org/support/users/cued100prof/)
 *   [Topics Started](https://wordpress.org/support/users/cued100prof/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cued100prof/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cued100prof/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cued100prof/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cued100prof/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cued100prof/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [PHP Include](https://wordpress.org/support/topic/php-include-5/)
 *  Thread Starter [cued100prof](https://wordpress.org/support/users/cued100prof/)
 * (@cued100prof)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/php-include-5/#post-2445489)
 * Ok, that makes loads of sense all the way around.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [PHP Include](https://wordpress.org/support/topic/php-include-5/)
 *  Thread Starter [cued100prof](https://wordpress.org/support/users/cued100prof/)
 * (@cued100prof)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/php-include-5/#post-2445409)
 * 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [PHP Include](https://wordpress.org/support/topic/php-include-5/)
 *  Thread Starter [cued100prof](https://wordpress.org/support/users/cued100prof/)
 * (@cued100prof)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/php-include-5/#post-2445403)
 * 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](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [PHP Include](https://wordpress.org/support/topic/php-include-5/)
 *  Thread Starter [cued100prof](https://wordpress.org/support/users/cued100prof/)
 * (@cued100prof)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/php-include-5/#post-2445390)
 * 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)