WordPress.org

Ready to get started?Download WordPress

Forums

Failed opening required 'admin.php' (2 posts)

  1. xmcamino
    Member
    Posted 6 years ago #

    When I try to login, the browser show me: "Failed opening required 'admin.php': No such file or directory in /home/cenitor/public_html/wp/wp-admin/index.php on line 2".
    The line 2 of index.php is: require_once('admin.php');
    And I've seen I haven't a file admin.php in my root directory.
    I just only edited 'wp-config.php' and wrote it the database parameters before upload all files to my server.
    What can I do? Do I need to configure or create another file?
    Thanks!

  2. kmessinger
    Volunteer Moderator
    Posted 6 years ago #

    admin.php should be in your wp-admin directory. If not, you have missed some files and should probably reinstall to make sure you get them all.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags