Probably some files did not download. So manually upgrade. Download wordpress and load everything except the wp-config.php.
Thread Starter
ranbud
(@ranbud)
I see that my version is missing update-core.php which is the file it is calling for… I checked my 3.8 version and only see update.php, then I download the 3.9 version and I check it and it only has update.php
Is the upgrade calling for an incorrect file? or am I really missing something?
That file is included in 3.9, here is an SVN link showing it:
http://core.svn.ww.wp.xz.cn/tags/3.9/wp-admin/includes/update-core.php
It sounds like you aren’t copying all the files for some reason, or perhaps something is wrong with your file permissions. Try reviewing http://codex.ww.wp.xz.cn/Changing_File_Permissions to see if that helps with making sure file permissions are setup correctly.
Thread Starter
ranbud
(@ranbud)
Permissions do not seem to be the issue, but I changed them to 777 just to try it and got the same issue…
Here is the complete fail notice I get
Unpacking the update…
Verifying the unpacked files…
Warning: require(/home/SITENAME/public_html/wp-content/upgrade/version-current.php): failed to open stream: No such file or directory in /home/SITENAME/public_html/wp-admin/includes/update-core.php on line 711
Fatal error: require(): Failed opening required ‘/home/SITENAME/public_html/wp-content/upgrade/version-current.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/SITENAME/public_html/wp-admin/includes/update-core.php on line 711
It’s not advisable to change any permissions to 777. Make sure you read the help page about permissions. See http://codex.ww.wp.xz.cn/Changing_File_Permissions#The_dangers_of_777
The longer error message is helpful. I think the version-current.php file is the one that’s missing.
Did you try a manual re-install (not an upgrade) as rocketman7k suggested earlier?
Thread Starter
ranbud
(@ranbud)
We can close this.. As I suspected, when I tried to download the 3.9 files and upgrade that way, it caused errors and I lost the entire website. I had to go in and re-install 3.8 fully and then the 3.9 upgrade worked. I lost a couple days worth or work, but that seems typical with this program. I should have learned from past issues and just not upgraded.