• I have recently been hacked and have created a new install Multisite using the codex instructions from this site. My website is fine but all the information in my dashboard has gone. The only listing on the lefthand side is dashboard and profile. The only way I can make changes at the moment is through .php.

    Can anyone please advise?

    Many thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • Timothy Jacobs

    (@timothyblynjacobs)

    It seems that you are no longer the admin user. Check the usermeta table in mysql. You can manually change your user role by editing wp_capabilities.

    Thread Starter Dienne

    (@dienne)

    Hi Timothy

    Thanks for your response.
    I have checked the usermeta table and wp-capabilities meta value –
    a:1:{s:13:”administrator”;s:1:”1″;} user level 10. Is this what is should be?

    Thanks

    Timothy Jacobs

    (@timothyblynjacobs)

    Yeah that is exactly what it should be. What is the user id for that user?

    I was having the same problem as Dienne have resolved. I tried to follow your advice by changing the user meta, wp-capabilities in phpMyAdmin.
    Anyway I want to know further, what to do after this stage…

    This my website,

    Please give me further advice as I am new in this php, ssl, wp thing.
    Thank in advance.

    Thread Starter Dienne

    (@dienne)

    Hi Timothy

    I appear to have several wp-capabilities when I look at the table
    wp_3_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
    wp_4_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
    wp_4_dashboard_quick_press_last_post_id 1063
    wp_4_user_level 10
    wp_5_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
    wp_5_user_level 10
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1″;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}
    wp_capabilities a:1:{s:13:”administrator”;s:1:”1?;}

    In wp_users I have ID 2,3 & 7 , there should only be one user being me.

    I have 4 sections to my multisite!

    Could this be left over after I was hacked?

    Look forward to receiving your reply

    Thread Starter Dienne

    (@dienne)

    I have taken all the question marks off the last 9 in the list and I am now getting the following message when I try to login:-

    “You attempted to access the “Thiviers Hotel” dashboard, but you do not currently have privileges on this site. If you believe you should be able to access the “Thiviers Hotel” dashboard, please contact your network administrator.”

    Timothy Jacobs

    (@timothyblynjacobs)

    No that seems to be normal, the capabilities should read as a:1:{s:13:"administrator";s:1:"1";}. I am slightly hazy on multisite, but the rest of that looks normal.

    Thread Starter Dienne

    (@dienne)

    Hello Timothy
    I have noticed when looking at my wp-config file that I still have the original Authentication Unique Keys and Salts – these contain the details of an old domain name I used to create the site and have since changed!! Could this be the problem and could I change the domain name to the existing without causing a problem with the site.

    The old keys are pointing to dordogneholidayrental.com and the new site now resides under hotel-et-Dordogne.com.

    Regards

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Lost Dashboard’ is closed to new replies.