WordPress.org

Support

Support » Installation » Please help – was working and now it’s gone again!

Please help – was working and now it’s gone again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • If this helps…this is the index.php in root /htdocs /wordpress /wp-admin

    <?php
    /**
    * Dashboard Administration Panel
    *
    * @package WordPress
    * @subpackage Administration
    */

    /** Load WordPress Bootstrap */
    require_once(‘admin.php’);

    /** Load WordPress dashboard API */
    require_once(ABSPATH . ‘wp-admin/includes/dashboard.php’);

    wp_dashboard_setup();

    wp_enqueue_script( ‘dashboard’ );
    wp_enqueue_script( ‘plugin-install’ );
    wp_enqueue_script( ‘media-upload’ );
    wp_admin_css( ‘dashboard’ );
    wp_admin_css( ‘plugin-install’ );
    add_thickbox();

    $title = __(‘Dashboard’);
    $parent_file = ‘index.php’;
    require_once(‘admin-header.php’);

    $today = current_time(‘mysql’, 1);
    ?>

    <div class=”wrap”>
    <?php screen_icon(); ?>
    <h2><?php echo esc_html( $title ); ?></h2>

    <div id=”dashboard-widgets-wrap”>

    <?php wp_dashboard(); ?>

    <div class=”clear”></div>
    </div><!– dashboard-widgets-wrap –>

    </div><!– wrap –>

    <?php require(ABSPATH . ‘wp-admin/admin-footer.php’); ?>

    this is the index.php in root /htdocs

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wordpress/wp-blog-header.php’);
    ?>

    the wp-login in “root /htdocs /wordpress” and the admin.php in ” root /htdocs /wordpress /wp-admin” are a bit long – so only if you need them…

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Please help – was working and now it’s gone again!’ is closed to new replies.
Skip to toolbar