• Hi there, i was told to do an mannual upgrade of wordpress when i went into my fantasico and so went ahead follow the guide on the website and download the latest wordpress update files and overwrite the files on my server but after that when i went to https://www.mydomain.com/wp-admin/upgrade.php and i get this msg

    Warning: main(/home/wzhyng/public_html/wp-includes/taxonomy.php) [function.main]: failed to open stream: No such file or directory in /home/wzhyng/public_html/wp-settings.php on line 204

    Warning: main(/home/wzhyng/public_html/wp-includes/taxonomy.php) [function.main]: failed to open stream: No such file or directory in /home/wzhyng/public_html/wp-settings.php on line 204

    Fatal error: main() [function.require]: Failed opening required ‘/home/wzhyng/public_html/wp-includes/taxonomy.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wzhyng/public_html/wp-settings.php on line 204

    any idea what went wrong? i have checked that the upgrade.php file is inside…any idea what happen, pls advise, thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • No, you did NOT follow the guide. Not the ones around here, for sure. We never say to overwrite the files. We always say to DELETE the old files and upload the new ones.

    Next, learn to read the error messages:
    wp-includes/taxonomy.php) [function.main]: failed to open stream: No such file or directory

    taxonomy.php = No such file

    Now, the $1million question: which file is missing?

    Thread Starter gateux

    (@gateux)

    thanks for the help, the first issue is fix but now i get this

    Fatal error: Call to undefined function: wp_admin_css() in /home/wzhyng/public_html/wp-admin/upgrade.php on line 21

    and this is the php file

    [code moderated please use https://wordpress.pastebin.ca and report back the link for long code for shorter code please use the code button]

    I downloaded the wordpress latest file from the official website and did not edit anything and when i open the file in dreamweaver i saw on line 21 is <?php wp_admin_css( 'css/install' ); ?>

    I dont quite understand what is wrong with this sentence...any help pls?

    1. Don’t ever open anything in DW.
    2. Upload a new, fresh copy of the wp-admin folder (and any other folder if you get further errors).

    Whenever you have this kind of errors (No such file or undefined function) – it means your upload is NOT complete.

    Thread Starter gateux

    (@gateux)

    Thanks for the help, i have followed your instructions but now the strange thing is although the website is up i still get the same error msg when i access mydomain.com/wp-admin/upgrade.php and also when i access login page, i get this Fatal error: Call to undefined function: wp_admin_css() in /home/wzhyng/public_html/wp-login.php on line 38

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error Msg after overwritting the files’ is closed to new replies.