Support » Fixing WordPress » Dashboard error: “Error: Can’t find the template.html file!”

  • 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

    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.)

  • The topic ‘Dashboard error: “Error: Can’t find the template.html file!”’ is closed to new replies.