WordPress.org

Ready to get started?Download WordPress

Forums

Dashboard error: "Error: Can't find the template.html file!" (1 post)

  1. imagiscapeca
    Member
    Posted 6 years ago #

    Clicking 'Dashboard' on the dashboard (/wp-admin/) fetches
    /wp-admin/index.php?page=index.php, which launches part of my background and page-header (instead of the proper admin stylesheet), then says:
    "Error: Can't find the template.html file!"

    /wp-admin/index.php works.
    Why does the dashboard link to /wp-admin/index.php?page=index.php ?

    I investigated the code in /wp-admin/menu.php, and found:

    // This array constructs the admin menu bar.
    //
    // Menu item name
    // The minimum level the user needs to access the item
    // The URL of the item's file
    $menu[0] = array(__('Dashboard'), 'read', 'index.php');

    etc.. I tried removing index.php, leaving '', and also tried replacing it with '.' , but that just caused the word Dashboard and its link to disappear.

    The other links of similar format work, for example
    /wp-admin/index.php?page=link-harvest.php.

    What can I do?

    (And: Am I the only one with this problem? It's a problem because if there are wierd glitches like this, my techno-phobic colleagues won't use the blog.)

Topic Closed

This topic has been closed to new replies.

About this Topic