Title: Warning: require(/home2/jason/public_html/wordpress/wp-includes/default-constant
Last modified: August 20, 2016

---

# Warning: require(/home2/jason/public_html/wordpress/wp-includes/default-constant

 *  [crason](https://wordpress.org/support/users/crason/)
 * (@crason)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/)
 * I was at the last step of the installation process when this popped up:
 * Warning: require(/home2/jason/public_html/wordpress/wp-includes/default-constants.
   php) [function.require]: failed to open stream: No such file or directory in /
   home2/jason/public_html/wordpress/wp-settings.php on line 22
 * Fatal error: require() [function.require]: Failed opening required ‘/home2/jason/
   public_html/wordpress/wp-includes/default-constants.php’ (include_path=’.:/usr/
   lib/php:/usr/local/lib/php’) in /home2/jason/public_html/wordpress/wp-settings.
   php on line 22
    Warning: require(/home2/jason/public_html/wordpress/wp-includes/
   default-constants.php) [function.require]: failed to open stream: No such file
   or directory in /home2/jason/public_html/wordpress/wp-settings.php on line 22
 * Fatal error: require() [function.require]: Failed opening required ‘/home2/jason/
   public_html/wordpress/wp-includes/default-constants.php’ (include_path=’.:/usr/
   lib/php:/usr/local/lib/php’) in /home2/jason/public_html/wordpress/wp-settings.
   php on line 22

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/#post-2329386)
 * Try re-uploading all files & folders from a **fresh** download of WordPress.
 *  Thread Starter [crason](https://wordpress.org/support/users/crason/)
 * (@crason)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/#post-2329475)
 * Tried that, no luck. I used Dreamweaver CS5.5 to upload the wordpress folder.
   I am also using a PC.
 *  [Tim S](https://wordpress.org/support/users/tim-s/)
 * (@tim-s)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/#post-2329476)
 * Hi crason,
 * It sounds as if you are missing a required file to finish the installation. I
   would suggest downloading the package again and trying a clean install. I know
   you mentioned that you are uploading through Dreamweaver, did you download the
   installation package again when you tried it?
 * I hope this helps!
 *  Thread Starter [crason](https://wordpress.org/support/users/crason/)
 * (@crason)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/#post-2329574)
 * I re installed it and this is the new error I get:
    Parse error: syntax error,
   unexpected ‘.’ in /home2/jason/public_html/wp/wp-includes/user.php on line 981
 * I looked in the code and it says this:
    _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *  Thread Starter [crason](https://wordpress.org/support/users/crason/)
 * (@crason)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/#post-2329632)
 * I still have not been able to figure it out. Same line 981 error:
    ‘show_option_all’../../
   wordpress/wp-includes/ => ”, ‘show_option_none’../../wordpress/wp-includes/ =
   > ”, ‘hide_if_only_one_author’../../wordpress/wp-includes/ => ”,
 * and then some

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

The topic ‘Warning: require(/home2/jason/public_html/wordpress/wp-includes/default-
constant’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 5 replies
 * 3 participants
 * Last reply from: [crason](https://wordpress.org/support/users/crason/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/warning-requirehome2jasonpublic_htmlwordpresswp-includesdefault-constant/#post-2329632)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
