WordPress.org

Ready to get started?Download WordPress

Forums

Unable to access / failed to open stream (13 posts)

  1. nbarnard
    Member
    Posted 4 years ago #

    I've gotten past the install.php, and I've gotten a login page, but after I put in my credentials I'm getting the following error when I try to log into wordpress for the first time

    Warning: require_once() [function.require-once]: Unable to access ./admin.php in /htdocs/2/nickb/peidm2/wp-admin/index.php on line 10
    
    Warning: require_once(./admin.php) [function.require-once]: failed to open stream: No such file or directory in /htdocs/2/nickb/peidm2/wp-admin/index.php on line 10
    
    Fatal error: require_once() [function.require]: Failed opening required './admin.php' (include_path='.:/usr/local/php-5.2.13/libdata/php-5.2.13/php') in /htdocs/2/nickb/peidm2/wp-admin/index.php on line 10

    I've also verified that file permissions on all of these are at 644. I'm struggling a bit getting this figured out, but I'd like to get started blogging again and get off my ancient MT installation.

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try re-uploading all files & folders from a fresh download of WordPress.

  3. nbarnard
    Member
    Posted 4 years ago #

    I just deleted all the files, dumped the whole database, and redownloaded and installed WordPress. (I'm downloading it directly to the Unix Host)

    I'm still getting the exact same errors.

  4. nbarnard
    Member
    Posted 4 years ago #

    I also have a console log of the full dump/reinstall if that's helpful. Although apparently its too big to put here..

  5. rainer23
    Member
    Posted 4 years ago #

    Warning above clearly says that you did not upload all the files, please check that all files are uploaded.

  6. nbarnard
    Member
    Posted 4 years ago #

    I ungzipped and untarred them directly from the latest file on wordpress.org.

    Here's a file listing from the wp-admin directory

    (32) panix2:~/corp-web/peidm2/wp-admin/ ls -l
    total 812
    -rw-r--r--  1 nickb  users  45651 Jan 22 13:47 admin-ajax.php
    -rw-r--r--  1 nickb  users   1341 Apr 25  2010 admin-footer.php
    -rw-r--r--  1 nickb  users    403 Aug 11  2008 admin-functions.php
    -rw-r--r--  1 nickb  users   6894 Jan  4 03:36 admin-header.php
    -rw-r--r--  1 nickb  users    592 Mar  5  2009 admin-post.php
    -rw-r--r--  1 nickb  users   6607 Jan 19 22:05 admin.php
    -rw-r--r--  1 nickb  users   2577 Feb  5 13:22 async-upload.php
    -rw-r--r--  1 nickb  users   8712 Nov 12 10:03 comment.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 css/
    -rw-r--r--  1 nickb  users  12685 Dec  1 14:24 custom-background.php
    -rw-r--r--  1 nickb  users  22267 Oct 28 17:56 custom-header.php
    -rw-r--r--  1 nickb  users  11304 Jan 21 20:31 edit-comments.php
    -rw-r--r--  1 nickb  users  18563 Feb 13 09:44 edit-form-advanced.php
    -rw-r--r--  1 nickb  users   5905 Nov 13 18:49 edit-form-comment.php
    -rw-r--r--  1 nickb  users   5259 Oct  7 15:34 edit-link-form.php
    -rw-r--r--  1 nickb  users   4081 Dec 25 12:58 edit-tag-form.php
    -rw-r--r--  1 nickb  users  14862 Feb  9 12:35 edit-tags.php
    -rw-r--r--  1 nickb  users  12397 Jan 25 14:30 edit.php
    -rw-r--r--  1 nickb  users   7457 Dec 19 15:56 export.php
    -rw-r--r--  1 nickb  users   1352 May 30  2010 gears-manifest.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 images/
    -rw-r--r--  1 nickb  users   6247 Dec 20 11:47 import.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 includes/
    -rw-r--r--  1 nickb  users    833 Oct  7 15:34 index-extra.php
    -rw-r--r--  1 nickb  users   4242 Dec 19 00:19 index.php
    -rw-r--r--  1 nickb  users   6058 Dec 20 04:25 install-helper.php
    -rw-r--r--  1 nickb  users  10854 Nov 12 06:44 install.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 js/
    -rw-r--r--  1 nickb  users    746 Apr 29  2010 link-add.php
    -rw-r--r--  1 nickb  users   3212 Jan 21 20:31 link-manager.php
    -rw-r--r--  1 nickb  users   2486 Dec  1 14:24 link-parse-opml.php
    -rw-r--r--  1 nickb  users   2726 Oct 27 06:43 link.php
    -rw-r--r--  1 nickb  users   2595 May  4  2010 load-scripts.php
    -rw-r--r--  1 nickb  users   2899 Jan 27  2010 load-styles.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 maint/
    -rw-r--r--  1 nickb  users    238 Apr 18  2010 media-new.php
    -rw-r--r--  1 nickb  users   4258 Dec  9 13:02 media-upload.php
    -rw-r--r--  1 nickb  users   4776 Dec  8 14:44 media.php
    -rw-r--r--  1 nickb  users   6151 Oct 20 10:08 menu-header.php
    -rw-r--r--  1 nickb  users  13186 Feb  9 12:30 menu.php
    -rw-r--r--  1 nickb  users    289 Dec  9 13:02 moderation.php
    -rw-r--r--  1 nickb  users    193 Dec  9 13:02 ms-admin.php
    -rw-r--r--  1 nickb  users   3287 Oct 28 17:56 ms-delete-site.php
    -rw-r--r--  1 nickb  users    213 Dec  9 13:02 ms-edit.php
    -rw-r--r--  1 nickb  users    214 Jul 30  2010 ms-options.php
    -rw-r--r--  1 nickb  users    211 Dec  9 13:02 ms-sites.php
    -rw-r--r--  1 nickb  users    212 Dec  9 13:02 ms-themes.php
    -rw-r--r--  1 nickb  users    211 Dec  9 13:02 ms-upgrade-network.php
    -rw-r--r--  1 nickb  users    210 Dec  9 13:02 ms-users.php
    -rw-r--r--  1 nickb  users   3639 Dec 16 22:32 my-sites.php
    -rw-r--r--  1 nickb  users  27971 Dec 18 01:18 nav-menus.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 network/
    -rw-r--r--  1 nickb  users  25627 Jan 16 16:50 network.php
    -rw-r--r--  1 nickb  users  13054 Dec 16 01:37 options-discussion.php
    -rw-r--r--  1 nickb  users  14729 Dec  5 16:29 options-general.php
    -rw-r--r--  1 nickb  users    592 Dec  3 05:59 options-head.php
    -rw-r--r--  1 nickb  users   6489 Dec 16 01:37 options-media.php
    -rw-r--r--  1 nickb  users  13298 Dec 16 01:37 options-permalink.php
    -rw-r--r--  1 nickb  users   2567 Dec 16 01:37 options-privacy.php
    -rw-r--r--  1 nickb  users   6295 Dec 16 01:37 options-reading.php
    -rw-r--r--  1 nickb  users   8778 Dec 19 00:36 options-writing.php
    -rw-r--r--  1 nickb  users   9090 Dec 19 00:36 options.php
    -rw-r--r--  1 nickb  users  10780 Dec 30 14:02 plugin-editor.php
    -rw-r--r--  1 nickb  users   3308 Jan 16 16:47 plugin-install.php
    -rw-r--r--  1 nickb  users  19022 Jan 16 16:47 plugins.php
    -rw-r--r--  1 nickb  users   1030 Nov  1 12:28 post-new.php
    -rw-r--r--  1 nickb  users   7801 Jan  5 23:11 post.php
    -rw-r--r--  1 nickb  users  26345 Jan 11 14:58 press-this.php
    -rw-r--r--  1 nickb  users    275 Dec  1 14:24 profile.php
    -rw-r--r--  1 nickb  users   6667 Oct 21 20:27 revision.php
    -rw-r--r--  1 nickb  users  10223 Dec  8 02:12 setup-config.php
    -rw-r--r--  1 nickb  users  11431 Feb 21 13:57 theme-editor.php
    -rw-r--r--  1 nickb  users   3355 Jan 16 16:47 theme-install.php
    -rw-r--r--  1 nickb  users   9202 Jan 25 15:00 themes.php
    -rw-r--r--  1 nickb  users   2941 Dec 16 01:37 tools.php
    -rw-r--r--  1 nickb  users  20677 Dec 18 13:43 update-core.php
    -rw-r--r--  1 nickb  users   9596 Dec 10 13:25 update.php
    -rw-r--r--  1 nickb  users    339 Aug 14  2008 upgrade-functions.php
    -rw-r--r--  1 nickb  users   4048 Dec  8 16:35 upgrade.php
    -rw-r--r--  1 nickb  users   9241 Jan 21 20:31 upload.php
    drwxr-xr-x  2 nickb  users   4096 Feb 23 09:53 user/
    -rw-r--r--  1 nickb  users  18537 Feb  3 02:23 user-edit.php
    -rw-r--r--  1 nickb  users  15296 Feb  9 12:30 user-new.php
    -rw-r--r--  1 nickb  users  12886 Feb 10 15:37 users.php
    -rw-r--r--  1 nickb  users  15151 Nov 17 13:47 widgets.php

    Also, if I go into wp-admin/index.php and change line 10 from
    require_once('./admin.php');
    to
    require_once('admin.php');

    I get a bit further than that. As I've said before I have a console log of the full dump/reinstall which lists every file that was written by tar, so if you think I'm missing a specific file I'm happy to look through that, or to email it to you, it just is too large to fit here...

  7. nbarnard
    Member
    Posted 4 years ago #

    Err, I get a bit further than that should've read, I get beyond that specific error page, but the page that loads still has PHP errors in it..

  8. rainer23
    Member
    Posted 4 years ago #

    "failed to open stream" means files are missing.

  9. kmessinger
    Moderator
    Posted 4 years ago #

    Your wp-admin files match mine. How about wp-includes?

  10. nbarnard
    Member
    Posted 4 years ago #

    Here's a list of wp-includes:

    (40) panix2:~/corp-web/peidm2/wp-includes/ ls -l
    total 3096
    drwxr-xr-x   3 nickb  users    4096 Feb 23 09:53 Text/
    -rw-r--r--   1 nickb  users   13001 Feb  9 12:35 admin-bar.php
    -rw-r--r--   1 nickb  users   10928 Jun 20  2008 atomlib.php
    -rw-r--r--   1 nickb  users   11305 Dec 21 11:27 author-template.php
    -rw-r--r--   1 nickb  users    9624 Dec 23  2009 bookmark-template.php
    -rw-r--r--   1 nickb  users   11522 Dec 25 17:45 bookmark.php
    -rw-r--r--   1 nickb  users   13197 Nov 18 14:12 cache.php
    -rw-r--r--   1 nickb  users   18169 Dec 17 15:57 canonical.php
    -rw-r--r--   1 nickb  users   30391 Dec 14 06:25 capabilities.php
    -rw-r--r--   1 nickb  users   37991 Feb 10 16:48 category-template.php
    -rw-r--r--   1 nickb  users   11172 Nov 16 19:56 category.php
    -rw-r--r--   1 nickb  users   31374 Dec  8 14:27 class-IXR.php
    -rw-r--r--   1 nickb  users    2698 Aug  7  2009 class-feed.php
    -rw-r--r--   1 nickb  users   67373 Jan 13 00:08 class-http.php
    -rw-r--r--   1 nickb  users   26691 Nov 13 04:53 class-json.php
    -rw-r--r--   1 nickb  users   10625 Nov 17 21:17 class-oembed.php
    -rw-r--r--   1 nickb  users    6852 Feb 26  2010 class-phpass.php
    -rw-r--r--   1 nickb  users   57491 May 15  2009 class-phpmailer.php
    -rw-r--r--   1 nickb  users   20709 Feb  9 12:35 class-pop3.php
    -rw-r--r--   1 nickb  users  388171 Dec  2 18:30 class-simplepie.php
    -rw-r--r--   1 nickb  users   31379 Feb 26  2010 class-smtp.php
    -rw-r--r--   1 nickb  users   37774 Oct 27 05:54 class-snoopy.php
    -rw-r--r--   1 nickb  users    7021 Feb  9 12:35 class-wp-admin-bar.php
    -rw-r--r--   1 nickb  users    3742 Oct 30 10:09 class-wp-ajax-response.php
    -rw-r--r--   1 nickb  users    4758 Oct 30 10:09 class-wp-error.php
    -rw-r--r--   1 nickb  users    2554 Dec 11 00:51 class-wp-http-ixr-client.php
    -rw-r--r--   1 nickb  users   11365 Oct 30 10:09 class-wp-walker.php
    -rw-r--r--   1 nickb  users  101279 Dec 16 18:43 class-wp-xmlrpc-server.php
    -rw-r--r--   1 nickb  users   17784 Nov 21 11:33 class-wp.php
    -rw-r--r--   1 nickb  users    6554 Nov 18 14:12 class.wp-dependencies.php
    -rw-r--r--   1 nickb  users    5678 Nov 18 14:12 class.wp-scripts.php
    -rw-r--r--   1 nickb  users    4110 Feb 23  2010 class.wp-styles.php
    -rw-r--r--   1 nickb  users   54420 Dec 20 04:25 comment-template.php
    -rw-r--r--   1 nickb  users   65712 Dec 18 23:58 comment.php
    -rw-r--r--   1 nickb  users    4740 Apr 18  2010 compat.php
    -rw-r--r--   1 nickb  users   12311 Dec 15 06:27 cron.php
    drwxr-xr-x   2 nickb  users    4096 Feb 23 09:53 css/
    -rw-r--r--   1 nickb  users    7220 May 25  2010 default-constants.php
    -rw-r--r--   1 nickb  users    1474 Nov 12 06:17 default-embeds.php
    -rw-r--r--   1 nickb  users   12539 Feb 18 00:10 default-filters.php
    -rw-r--r--   1 nickb  users   42361 Jan 11 16:37 default-widgets.php
    -rw-r--r--   1 nickb  users   74634 Dec 20 11:25 deprecated.php
    -rw-r--r--   1 nickb  users    4293 May 26  2010 feed-atom-comments.php
    -rw-r--r--   1 nickb  users    2420 May 26  2010 feed-atom.php
    -rw-r--r--   1 nickb  users    2122 Feb 13  2010 feed-rdf.php
    -rw-r--r--   1 nickb  users    1053 Feb 13  2010 feed-rss.php
    -rw-r--r--   1 nickb  users    2872 Feb 13  2010 feed-rss2-comments.php
    -rw-r--r--   1 nickb  users    2523 Oct 26 16:15 feed-rss2.php
    -rw-r--r--   1 nickb  users   14941 Dec  1 14:24 feed.php
    -rw-r--r--   1 nickb  users   92801 Feb 16 14:24 formatting.php
    -rw-r--r--   1 nickb  users  143069 Feb  9 12:35 functions.php
    -rw-r--r--   1 nickb  users    3823 Sep  9 00:42 functions.wp-scripts.php
    -rw-r--r--   1 nickb  users    4856 Sep  9 00:42 functions.wp-styles.php
    -rw-r--r--   1 nickb  users   78846 Dec 30 16:10 general-template.php
    -rw-r--r--   1 nickb  users    5316 Apr 13  2010 http.php
    drwxr-xr-x   5 nickb  users    4096 Feb 23 09:53 images/
    drwxr-xr-x  10 nickb  users    4096 Feb 23 09:53 js/
    -rw-r--r--   1 nickb  users   41328 Jan  5 23:11 kses.php
    -rw-r--r--   1 nickb  users   17212 Nov 17 13:47 l10n.php
    -rw-r--r--   1 nickb  users   73849 Jan  5 23:11 link-template.php
    -rw-r--r--   1 nickb  users   21271 Dec 31 16:01 load.php
    -rw-r--r--   1 nickb  users   11764 May  3  2010 locale.php
    -rw-r--r--   1 nickb  users   48674 Dec 10 14:15 media.php
    -rw-r--r--   1 nickb  users   15913 Dec 29 14:31 meta.php
    -rw-r--r--   1 nickb  users   20326 Dec 16 14:48 ms-blogs.php
    -rw-r--r--   1 nickb  users    3630 May 25  2010 ms-default-constants.php
    -rw-r--r--   1 nickb  users    2557 Nov  5 17:35 ms-default-filters.php
    -rw-r--r--   1 nickb  users    5525 Dec 20 04:25 ms-deprecated.php
    -rw-r--r--   1 nickb  users    2536 Oct  7 17:00 ms-files.php
    -rw-r--r--   1 nickb  users   64818 Feb  2 19:17 ms-functions.php
    -rw-r--r--   1 nickb  users    9858 Dec 14 03:38 ms-load.php
    -rw-r--r--   1 nickb  users    5694 Nov 30 15:45 ms-settings.php
    -rw-r--r--   1 nickb  users   18208 Jan  5 23:11 nav-menu-template.php
    -rw-r--r--   1 nickb  users   24680 Oct 13 01:25 nav-menu.php
    -rw-r--r--   1 nickb  users    4223 Apr 14  2010 pluggable-deprecated.php
    -rw-r--r--   1 nickb  users   60253 Feb  3 15:42 pluggable.php
    -rw-r--r--   1 nickb  users   26876 Dec 15 12:14 plugin.php
    drwxr-xr-x   2 nickb  users    4096 Feb 23 09:53 pomo/
    -rw-r--r--   1 nickb  users   41995 Jan 13 18:02 post-template.php
    -rw-r--r--   1 nickb  users    2263 Oct 26 20:33 post-thumbnail-template.php
    -rw-r--r--   1 nickb  users  169360 Feb  9 12:13 post.php
    -rw-r--r--   1 nickb  users   91743 Feb 16 11:25 query.php
    -rw-r--r--   1 nickb  users     178 Oct 27 06:46 registration-functions.php
    -rw-r--r--   1 nickb  users     178 Oct 27 06:46 registration.php
    -rw-r--r--   1 nickb  users   58756 Jan  5 22:59 rewrite.php
    -rw-r--r--   1 nickb  users     192 Dec 24  2009 rss-functions.php
    -rw-r--r--   1 nickb  users   22837 Dec 20 04:25 rss.php
    -rw-r--r--   1 nickb  users   35175 Feb 14 17:57 script-loader.php
    -rw-r--r--   1 nickb  users    8207 Jan 17  2010 shortcodes.php
    -rw-r--r--   1 nickb  users  103597 Feb 10 16:48 taxonomy.php
    -rw-r--r--   1 nickb  users    1893 Apr 28  2010 template-loader.php
    drwxr-xr-x   2 nickb  users    4096 Feb 23 09:53 theme-compat/
    -rw-r--r--   1 nickb  users   54592 Jan 15 18:44 theme.php
    -rw-r--r--   1 nickb  users   11944 Jan  6 04:06 update.php
    -rw-r--r--   1 nickb  users   50114 Feb  9 12:35 user.php
    -rw-r--r--   1 nickb  users    3292 Dec 14 03:35 vars.php
    -rw-r--r--   1 nickb  users    1450 Feb 23 09:44 version.php
    -rw-r--r--   1 nickb  users   37777 Nov 21 08:48 widgets.php
    -rw-r--r--   1 nickb  users    1053 Oct 16  2008 wlwmanifest.xml
    -rw-r--r--   1 nickb  users   43667 Dec 20 07:49 wp-db.php
    -rw-r--r--   1 nickb  users   12565 Dec  1 14:24 wp-diff.php
  11. kmessinger
    Moderator
    Posted 4 years ago #

    As far as I can tell all the files are there and the sizes look correct. That of course, does not mean nothing is corrupted.

  12. LNRO
    Member
    Posted 4 years ago #

    Hi,
    I do have the same problem. All the files have been uploaded too, and the listing seems consistent with mine.
    I have re-downloaded and re-uploaded once again, and nothing changes, the issue is still there.

  13. nbarnard
    Member
    Posted 4 years ago #

    I emailed my ISP on this, and they provided some helpful guidance at their Installing WordPress on Panix page.. I think I'm out of the woods now.

    LNRO this might help you as well..

Topic Closed

This topic has been closed to new replies.

About this Topic