• I uploaded a clean version of wordpress 2.0 on my webspace, and then i tryied to install it through the script:
    https://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)
  • 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');

    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

    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

    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.