Title: Error while installing wordpress2.0 with upgrade-functions.php
Last modified: August 18, 2016

---

# Error while installing wordpress2.0 with upgrade-functions.php

 *  [valerio215](https://wordpress.org/support/users/valerio215/)
 * (@valerio215)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/error-while-installing-wordpress20-with-upgrade-functionsphp/)
 * I uploaded a clean version of wordpress 2.0 on my webspace, and then i tryied
   to install it through the script:
    [http://xxx.pfwh.net/wordpress/wp-admin/install.php](http://xxx.pfwh.net/wordpress/wp-admin/install.php)
 * and the output is:
 * Notice: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ in /mnt/x/home/
   13169241944/www/web/wordpress/wp-admin/upgrade-functions.php on line 3
 * Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream: No
   such file or directory in /mnt/x/home/13169241944/www/web/wordpress/wp-admin/
   upgrade-functions.php on line 3
 * Fatal error: main(): Failed opening required ‘ABSPATH/wp-admin/admin-functions.
   php’ (include_path=’.:/usr/local/lib/php’) in /mnt/x/home/13169241944/www/web/
   wordpress/wp-admin/upgrade-functions.php on line 3
 * How can i fix it?
    p.s. the file upgrade-functions.php and admin-functions.php
   are where they are supposed to be, all the files are in the right place.

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

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/error-while-installing-wordpress20-with-upgrade-functionsphp/#post-325075)
 * Is it possible you removed this line from your wp-config.php?
 * `define('ABSPATH', dirname(__FILE__).'/');`
 * If you did, just make sure it exists in that file before:
 * `require_once(ABSPATH.'wp-settings.php');`
 *  [pmt1](https://wordpress.org/support/users/pmt1/)
 * (@pmt1)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/error-while-installing-wordpress20-with-upgrade-functionsphp/#post-325510)
 * having the same problem – checked that abspath was defined:
 * Error message:
 * Parse error: parse error, unexpected T_STRING in C:\CFusionMX\wwwroot\wordpress\
   wp-config.php on line 5
 * Notice: Use of undefined constant ABSPATH – assumed ‘ABSPATH’ in C:\CFusionMX\
   wwwroot\wordpress\wp-admin\upgrade-functions.php on line 3
 * Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream: No
   such file or directory in C:\CFusionMX\wwwroot\wordpress\wp-admin\upgrade-functions.
   php on line 3
 * Fatal error: main(): Failed opening required ‘ABSPATH/wp-admin/admin-functions.
   php’ (include_path=’.;c:\php4\pear’) in C:\CFusionMX\wwwroot\wordpress\wp-admin\
   upgrade-functions.php on line 3
 * have the following in config.php:
 * // define(‘ABSPATH’, dirname(__FILE__).’/’);
    // require_once(ABSPATH.’wp-settings.
   php’);
 * Any assistance appreciated
 * thks
 *  [quefew](https://wordpress.org/support/users/quefew/)
 * (@quefew)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/error-while-installing-wordpress20-with-upgrade-functionsphp/#post-325511)
 * Same problem is occuring with my installation.
 * I have made sure the absolute path is defined in the config file and it is.
    
   Also have made sure upgrade-functions.php and admin-functions.php are uploaded
   and they are.
 * Very confused… help would be appreciated. Output:
 * > Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream:
   > No such file or directory in /home/soccerhu/public_html/wp-admin/upgrade-functions.
   > php on line 3
   > Fatal error: main(): Failed opening required ‘ABSPATH/wp-admin/admin-functions.
   > php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/soccerhu/public_html/
   > wp-admin/upgrade-functions.php on line 3
 *  [zachinglis](https://wordpress.org/support/users/zachinglis/)
 * (@zachinglis)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/error-while-installing-wordpress20-with-upgrade-functionsphp/#post-325528)
 * I had the same problem and fixed it via creating a new wp-config.php.
 * Let me guess, you used setup-config.php to do the config file?

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

The topic ‘Error while installing wordpress2.0 with upgrade-functions.php’ is closed
to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 4 replies
 * 5 participants
 * Last reply from: [zachinglis](https://wordpress.org/support/users/zachinglis/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/error-while-installing-wordpress20-with-upgrade-functionsphp/#post-325528)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
