Title: Failed upgrade &#8211; missing admin.php?
Last modified: August 20, 2016

---

# Failed upgrade – missing admin.php?

 *  [leafguy](https://wordpress.org/support/users/leafguy/)
 * (@leafguy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/)
 * Hello all:
 * I tried using the auto upgrade without success, so I manually upgraded. My site
   is functional, but when I try to go to my admin page I get:
 * Warning: require_once(/home/username/admin.php) [function.require-once]: failed
   to open stream: No such file or directory in /home/username/public_html/admin.
   php on line 12
 * Fatal error: require_once() [function.require]: Failed opening required ‘/home/
   username/admin.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/
   username/public_html/admin.php on line 12
 * Any help is appreciated.

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942824)
 * review: [Troubleshooting WordPress 3.4 – Master List](http://wordpress.org/support/topic/troubleshooting-wordpress-34-master-list?replies=5)
 *  Thread Starter [leafguy](https://wordpress.org/support/users/leafguy/)
 * (@leafguy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942837)
 * t-p, thank you for your response. Now having read through that master list and
   the previous master lists, I see where I did not do everything in the order that
   I should have, but I am not closer to resolving my problem. I likely tried to
   upgrade more than two versions. Does this mean that I need to do a fresh install?
   Or is there some other way to resolve this. Thanks again.
 *  [msalambd03](https://wordpress.org/support/users/msalambd03/)
 * (@msalambd03)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942839)
 * Thank You T.P.
    I was facing the same.
 *  Thread Starter [leafguy](https://wordpress.org/support/users/leafguy/)
 * (@leafguy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942881)
 * Not being able to resolve my problem, I reinstalled wp 3.0.4. Now I can access
   my admin page, but I get a white blank screen when I go to my site url. I have
   temporarily put up an index.html page so others will see that I am upgrading 
   my blog. I have deactivated all plug ins. My normal theme is thesis. I have activated
   twenty eleven 1.4 instead. I still get the white screen when I remove index.html.
   I’m using FileZilla to access via ftp. I’ve been reading various threads on the
   forum, but still don’t really understand the problem. I remember getting a white
   screen perhaps when I first installed wp a couple of years ago, but I don’t remember
   how I resolved it. Any assistance would be appreciated.
 *  [fonglh](https://wordpress.org/support/users/fonglh/)
 * (@fonglh)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942883)
 * The database schema has changed between versions, so you can’t just downgrade
   like that.
 * Do you have a backup of your 3.0.4 database you can restore as well?
 *  Thread Starter [leafguy](https://wordpress.org/support/users/leafguy/)
 * (@leafguy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942885)
 * I just restored my 3.0.4 database via phpmyadmin to no avail. Still have a white
   screen, but I still have access to my wp-admin.
 *  [fonglh](https://wordpress.org/support/users/fonglh/)
 * (@fonglh)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942886)
 * Check your server error logs. You might have to ask your hosts how to access 
   them.
 *  Thread Starter [leafguy](https://wordpress.org/support/users/leafguy/)
 * (@leafguy)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942887)
 * fonglh – thank you so much for the prompt feedback. Here is the server error 
   log, but I have no idea what it means:
 * _[ Moderator Note: Please post code or markup snippets between backticks or use
   the code button. ]_
 *     ```
       [Sun Aug 05 19:52:39 2012] [error] [client 98.155.47.117] PHP Fatal error:  Call to undefined function get_current_screen() in /home/leafguy/public_html/wp-content/themes/twentyeleven/inc/theme-options.php on line 122, referer: http://livingleaf.info/wp-admin/options-general.php
       [Sun Aug 05 12:01:28 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sun Aug 05 12:01:28 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 21:01:24 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 21:01:24 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:55:56 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:55:56 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:45:37 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:45:37 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:07:26 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:07:26 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:02:15 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:02:15 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:01:42 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:01:42 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:01:36 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 20:01:36 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 19:59:09 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 19:59:09 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 17:26:29 2012] [error] [client 68.105.77.200] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 17:26:29 2012] [error] [client 68.105.77.200] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 17:24:33 2012] [error] [client 68.105.77.200] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Sat Aug 04 17:24:33 2012] [error] [client 68.105.77.200] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:57:54 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:57:54 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:57:05 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:57:05 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:52:22 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:52:22 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:40:58 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:40:58 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:39:26 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:39:26 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:36:01 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/wp-admin/function.require-once
       [Fri Aug 03 23:36:01 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/wp-admin/function.require-once
       [Fri Aug 03 23:35:11 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:35:11 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:34:58 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:34:58 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:21:06 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:21:06 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:20:13 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:20:13 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:20:03 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:20:03 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:18:22 2012] [error] [client 98.155.47.117] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/home/leafguy/public_html/admin.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 23:18:22 2012] [error] [client 98.155.47.117] PHP Warning:  require_once(/home/leafguy/public_html/admin.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home/leafguy/public_html/wp-admin/admin.php on line 12, referer: http://livingleaf.info/
       [Fri Aug 03 22:36:55 2012] [error] [client 98.155.47.117] PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 376992 bytes) in /home/leafguy/public_html/wp-admin/index.php on line 13, referer: http://livingleaf.info/
       [Fri Aug 03 21:02:37 2012] [error] [client 98.155.47.117] PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 376992 bytes) in /home/leafguy/public_html/wp-admin/index.php on line 13, referer: http://livingleaf.info/
       [Fri Aug 03 21:01:38 2012] [error] [client 98.155.47.117] PHP Fatal error:  Call to undefined function is_network_admin() in /home/leafguy/public_html/wp-admin/admin-header.php on line 24, referer: http://livingleaf.info/wp-admin/update-core.php?action=do-core-upgrade&_wpnonce=8d2f85a72f
       [Fri Aug 03 20:12:00 2012] [error] [client 98.155.47.117] PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 376992 bytes) in /home/leafguy/public_html/wp-admin/index.php on line 13, referer: http://livingleaf.info/
       [Fri Aug 03 20:10:44 2012] [error] [client 98.155.47.117] PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 376992 bytes) in /home/leafguy/public_html/wp-admin/index.php on line 13, referer: http://livingleaf.info/
       [Fri Aug 03 20:10:10 2012] [error] [client 98.155.47.117] PHP Fatal error:  Allowed memory size of 262144 bytes exhausted (tried to allocate 376992 bytes) in /home/leafguy/public_html/wp-admin/index.php on line 13, referer: http://livingleaf.info/
       ```
   
 *  [fonglh](https://wordpress.org/support/users/fonglh/)
 * (@fonglh)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942890)
 * Look at the PHP Fatal error entries. The server can’t find those files it needs.
 * It looks like your folder structure isn’t correct. Did you move any of the files
   around from the WordPress zip file?

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

The topic ‘Failed upgrade – missing admin.php?’ is closed to new replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [fail](https://wordpress.org/support/topic-tag/fail/)
 * [upgrade](https://wordpress.org/support/topic-tag/upgrade/)

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 9 replies
 * 4 participants
 * Last reply from: [fonglh](https://wordpress.org/support/users/fonglh/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/failed-upgrade-missing-adminphp/#post-2942890)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
