Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Forum: Fixing WordPress
    In reply to: Missing Admin.php
    Thread Starter bomholm

    (@bomholm)

    Apparently a clean install fixed my issues

    Forum: Fixing WordPress
    In reply to: Missing Admin.php
    Thread Starter bomholm

    (@bomholm)

    Also it seems like you have given me the wp-admin/admin.php file, as i’m reaching a login page when i want reach htdocs/wordpress/index.php. Which won’t make sence to me that users that goes to my website are forced to have a loging information.

    Forum: Fixing WordPress
    In reply to: Missing Admin.php
    Thread Starter bomholm

    (@bomholm)

    Thank you, so before i mark this a resolved, for every
    require_once(dirname(dirname(__FILE__)) . '/wp-load.php');
    there is, would i need to add “wordpress” to “‘/wp-load.php’);”, because currently the path is htdocs/wordpress/index.php

    Forum: Fixing WordPress
    In reply to: Missing Admin.php
    Thread Starter bomholm

    (@bomholm)

    In the Index.php file in the wordpress root’s folder

    <?php
    /**
     * Dashboard Administration Screen
     *
     * @package WordPress
     * @subpackage Administration
     */
    
    /** Load WordPress Bootstrap */
    require_once( dirname( __FILE__ ) . '/admin.php' );
    
    /** Load WordPress dashboard API */
    require_once( ABSPATH . 'wp-admin/includes/dashboard.php' );
    
    wp_dashboard_setup();
    
    wp_enqueue_script( 'dashboard' );
    

    And so forth, it’s in the start of the file

Viewing 4 replies - 1 through 4 (of 4 total)