Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter funbooker

    (@funbooker)

    Sadly, I did all that but did it all over again at your suggestion. One thing that might be helpful to understanding this problem is that it happened to this site when it was on another server that failed. I was unable to access the old server to transfer the site so I created a new site on a new server. I imported the db data from a .sql backup. If the site had been hacked and the db corrupted, the backup was from a date long after the hack so if there’s some kind of malicious code in the db causing this problem in the old db, it was in the .sql backup.

    I installed wp from the wp toolkit in cpanel. No problems. I had an admin with all admin controls. I imported the .sql backup. I deleted the duplicate tables that were installed with wp and kept the ones from the .sql backup. I renamed the folders wp_admin, content and includes in the new site. I pulled in copies of those three directories from a backup of the old server. When this was done, I had my site back with only one user, admin. When I logged in, I got the same problem I had with the old server, no admin console.

    I can see admin logged in up in the right hand corner. I have performed repairs on all tables, no indication there were any problems to be repaired.

    One thing that might mean something to someone who knows more than me, when I try to go to /wp-admin/options.php I get an error saying I don’t have adequate permissions. All the .php files in the directories had 644 permissions. So my one user admin, that has user_status “0”, is denied access to this file due to a permission problem, or at least it looks that way.

    Thanks for any help you may provide.

    Thread Starter funbooker

    (@funbooker)

    I tried all of that stuff. I couldn’t get the sql queries to run. I think they’re incomplete somehow and I don’t know what to add.

    So I still can’t get any admin capabilities when I log in as admin. It just looks like a regular user with no admin permissions is logged in. I get no admin controls.

    Thread Starter funbooker

    (@funbooker)

    I won’t get to try these things until tomorrow. I’m thinking the plug in is’t going to work because I don’t have access to admin controls. I’ll try the others though. Thanks for taking the time to send these suggestions.

    Thread Starter funbooker

    (@funbooker)

    Well, I followed Shubham’s advice about emptying the db and re-importing the .sql file. That returned the db to the state before I deleted the data, the wrong prefix was inserted. I checked a few things and got my site back. It’s visible to the public and looks the same as it did on the old server.

    It also has a problem I had before the old server crashed. I can log in to the admin user account. But here’s the big problem I could not solve with the old installation. When I’m logged in as user, I don’t get admin controls, no dashboard. I see Howdy Admin on the right hand side of the black bar at the top but no drop down on the left side that gives me the option of selecting Dashboard or Visit Site, etc.

    Thread Starter funbooker

    (@funbooker)

    I suspect the solution to my problem lies somewhere in wp-admin, maybe in the includes directory, but I really don’t know what to look for or do when I go to that directory.

    Thread Starter funbooker

    (@funbooker)

    I have placed a copy of the old wp-content in the public_html directory and there’s no indication the act of copying and pasting it there has had any negative effects on the web site. It didn’t crash or become unable to be reached. All the appropriate data from the old site seems to be in wp-content.

    I suspect there is some code somewhere that was created when the new site was created that creates relations or links to the necessary elements to display the old pages and the old comments and to display the various page elements in the dashboard in tabs that are supposed to be linked to elements like Media, Comments and Pages. I can’t see any of the things I know are in the db or uploads folder or wp-content folder.

    • This reply was modified 1 year ago by funbooker.
    Thread Starter funbooker

    (@funbooker)

    Thanks for the response. I did check that prefix setting and it’s wp_

    Thread Starter funbooker

    (@funbooker)

    If things were only used for what they were intended to be use for, we’d still be using an abacus.

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