Forums

Error while installing wordpress2.0 with upgrade-functions.php (5 posts)

  1. valerio215
    Member
    Posted 6 years ago #

    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

    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.

  2. Kafkaesqui
    Moderator
    Posted 6 years ago #

    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');

  3. pmt1
    Member
    Posted 5 years ago #

    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

  4. quefew
    Member
    Posted 5 years ago #

    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

  5. zachinglis
    Member
    Posted 5 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic