[resolved] new install in subdirectory not working (7 posts)

  1. scottpruett
    Posted 9 years ago #

    hey guys - any idea what's causing these errors when I try to run install.php? The copy is inside a subdirectory (w/ all files in its root) & I triple-checked wp-config.php - can't figure out what's holding it back.


    Warning: main(ABSPATH/wp-admin/admin-functions.php) [function.main]: failed to open stream: No such file or directory in /home/healthel/public_html/backstage/wp-admin/upgrade-functions.php on line 5

    Fatal error: main() [function.require]: Failed opening required 'ABSPATH/wp-admin/admin-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/healthel/public_html/backstage/wp-admin/upgrade-functions.php on line 5

  2. rudolf45
    Posted 9 years ago #

    So, if I read it correctly, you have the WP files in your "backstage" subdir, right?
    When you say all files are there - does it mean you don't have subdirectories AND files? There should be subfolders, like

  3. scottpruett
    Posted 9 years ago #

    correct... just a straightforward drag/drop into the backstage folder w/ an updated wp-config.php.

    I've performed half a dozen WP installations & never had a problem - didn't know if it was related to the subdomain here, as that's the only thing I've done differently w/ this one.


  4. scottpruett
    Posted 9 years ago #

    and yes, the wp subfolders were all uploaded as well - missed that part of your question.

  5. rudolf45
    Posted 9 years ago #

    Subdomain or subfolder? They are absolutely not the same!
    Although in both cases the installation doesn't really care about it.
    I don't know how the drag/drop thing works, I always use a FTP client.
    Anyway, make sure all the files and folders are in the right place. (The error says they are not...)

  6. scottpruett
    Posted 9 years ago #


    no idea why this made a difference, but I re-edited wp-config.php in a text editor vs. dreamweaver & resaved. That did the trick.

  7. scottpruett
    Posted 9 years ago #

    but to answer your question, yes I know the differences between subdomains and subfolders - everything was set up correctly. my FTP client supports drag/drop. :)

    i.e. backstage.mydomain.com/wp-admin exists.

Topic Closed

This topic has been closed to new replies.

About this Topic