WordPress.org

Ready to get started?Download WordPress

Forums

Lost Dashboard (10 posts)

  1. Dienne
    Member
    Posted 9 months ago #

    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

  2. Timothy Jacobs
    Member
    Posted 9 months ago #

    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.

  3. Dienne
    Member
    Posted 9 months ago #

    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

  4. Timothy Jacobs
    Member
    Posted 9 months ago #

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

  5. azizpermata
    Member
    Posted 9 months ago #

    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.

  6. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

  7. Dienne
    Member
    Posted 9 months ago #

    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

  8. Dienne
    Member
    Posted 9 months ago #

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

  9. Timothy Jacobs
    Member
    Posted 9 months ago #

    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.

  10. Dienne
    Member
    Posted 9 months ago #

    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

Reply

You must log in to post.

About this Topic

Tags