Title: Installation failed
Last modified: August 18, 2016

---

# Installation failed

 *  Resolved [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/)
 * Installation failed, heres the error message:
 * > Warning: main(ABSPATH/wp-admin/admin-functions.php): failed to open stream:
   > No such file or directory in /vhost/vhost6/r/i/c/CENSORED/www/wp-admin/upgrade-
   > functions.php on line 5
   > Fatal error: main(): Failed opening required ‘ABSPATH/wp-admin/admin-functions.
   > php’ (include_path=’.:/usr/share/pear’) in /vhost/vhost6/r/i/c/CENSORED/www/
   > wp-admin/upgrade-functions.php on line 5
 * I am pretty sure the settings in my config file are correct. What am I doing 
   wrong?
 * I am happy to try and provide any more details that are needed.
 * Richard

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-567967)
 * It seems you didn’t upload completely all the files.
    Try to upload a fresh copy
   of the WP files.
 *  Thread Starter [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-567971)
 * Moshu, Thanks
 * All the files are uploaded. It seems to me that it looking for the files in the
   wrong place perhaps? Which i dont understand, as I havent changed the path of
   any of the files?
 * Richard
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-567975)
 * What seems to be and what is there – are two different things.
    **Did you try
   what I suggested before posting back?** It could be a corrupted file…
 *  [pramodd](https://wordpress.org/support/users/pramodd/)
 * (@pramodd)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-567978)
 * Check for the presence of the file admin-functions.php in
    the directory wp-admin
 * You are saying that all files are uploaded correctly. Did you check whether the
   file size on your PC and your web host is the same?
 *  Thread Starter [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-567983)
 * Moshu,
 * I had not re uploaded the files but I have now. I get the same error message?
 * pramodd,
 * The file is there and it is the same file size indicating that its not corrupted?
 * Ideas?
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-567989)
 * One more thing I’d try before exploring other troubleshooting: a fresh copy as
   I stated above. Meaning new download, new unzip, new upload.
 * If it still doesn’t work, we have to take a look at where the files are uploaded.
   Is “www” you root directory? (e.g. if you have a public_html – you shouldn’t 
   use www)
 *  Thread Starter [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568002)
 * Thank you for the help so far.
 * I have Re downloaded the files, unzipped and uploaded them afresh. As far as 
   i can tell there are only 3 files that are not exactly the same on the FTP as
   on my computer. This appears to have solved the previous problem and created 
   a new one. So you were right guys 🙂
 * The files that aren’t complete are:
 * /www/wp-includes/js/tinymce/plugins/paste/blank.htm
    /www/wp-includes/js/tinymce/
   plugins/paste/pastetext.htm /www/wp-includes/js/tinymce/plugins/paste/pasteword.
   htm
 * I have tried getting these 3 files the same but after 20 or so attempts i cant,
   they are either a few bytes short or miles short.
 * The error message i get now when running the install file is:
 * > Fatal error: Call to undefined function: is_wp_error() in /vhost/vhost6/r/i/
   > c/CENSORED/www/wp-includes/functions.php on line 1320
 * Is this simply because of the 3 files above?
 * Moshu, to answer your question; WWW is the correct folder for my web files. I
   come to this coclusion because I deleted all the files from the server and then
   put an index.htm file in all the folders 1 by 1. The only one which worked was
   the www folder. There is no publicHTML folder.
 * So what now guys? (thanks again)
 * Richard
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568007)
 * Hmmm. Those tinymce things shouldn’t interfere with the install.
    However, the
   new error points to another possible corrupted file: wp-includes/functions.php
 * Well, if everything else fails, you can always try [http://install4free.wordpress.net/](http://install4free.wordpress.net/)(
   if it is a personal blog)
 *  Thread Starter [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568012)
 * unfortunately thats really not an option.
 * Line 1320 of wp-includes/functions.php is:
 * $name = $name[1];
 * ??? So what are my options, am I officially stuck ?
 * Richard
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568014)
 * There is a problem with either:
    – your downloads – your unzip – your ftp upload
 * Line 1320 in functgions.php looks like this:
    `if ( is_wp_error( $message ) ){`
 * and your installtion is complianing about not having this line… = undefined function.
   It is “undefined” because it is not there.
 *  Thread Starter [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568039)
 * My God,
 * I am Stupid. The second time I uploaded everything I forogt to rename my config
   file.
 * All working now
 * Thanks everyone
 * [http://www.richardo.co.uk](http://www.richardo.co.uk) (why the hell no one had
   bought this domain name I’ll never know)
 * Richard
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568041)
 * Glad you finally figured it out.
    Happy blogging.
 * (could you please mark it as resolved?)
 *  Thread Starter [richardop](https://wordpress.org/support/users/richardop/)
 * (@richardop)
 * [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568065)
 * Thanks
 * Sorted

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

The topic ‘Installation failed’ is closed to new replies.

## Tags

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

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 13 replies
 * 3 participants
 * Last reply from: [richardop](https://wordpress.org/support/users/richardop/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/installation-failed/#post-568065)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
