Title: PHP Include Error on website
Last modified: August 19, 2016

---

# PHP Include Error on website

 *  Resolved [zenshai](https://wordpress.org/support/users/zenshai/)
 * (@zenshai)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/php-include-error-on-website/)
 * I was attempting to put a search box on my site and used the statement in the
   header.php:
 * > <?php include (‘/searchform.php’); ?>
 * Apparently I did not have everything set up correctly, but when i reverted to
   the backup I had made, I still get the following error:
 * > Warning: include(/home/content/d/i/b/dibacco/html/wp-content/themes/airplane_theme/
   > searchform.php) [function.include]: failed to open stream: No such file or 
   > directory in /home/content/d/i/b/dibacco/html/wp-content/themes/airplane_theme/
   > header.php on line 34
 * However there is nothing on line 34
    How in the world do I get rid of this error?

Viewing 1 replies (of 1 total)

 *  Thread Starter [zenshai](https://wordpress.org/support/users/zenshai/)
 * (@zenshai)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/php-include-error-on-website/#post-1437681)
 * Error fixed. Found that my uploads to my server were not overwriting properly.

Viewing 1 replies (of 1 total)

The topic ‘PHP Include Error on website’ is closed to new replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [zenshai](https://wordpress.org/support/users/zenshai/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/php-include-error-on-website/#post-1437681)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
