• Resolved Enmiand

    (@enmiand)


    Hello guys. I have a problem.
    I was recently hacked and got denied permission as admin onto my server. After a lot of reading and trying stuff out I finally ended up changing the prefix from the config.php file in order to install WP anew. The results was I got admin privileges back but in turn had to import all the content from the old prefix database to the new one.

    Since I’m not knoledgable about this at all, instead of using any import/export tools or procedures, what I did was change the prefix in all the database tables I had stored from the old prefix to the new one. I onyl left 3 ontouched: wp_options, wp_users and wp_usermeta since I suspected one of these had the admin error that ended up fucking me last time.

    All in all the “new” site works well. The posts, categories, tags, plugins, themes, etc… are all there, minus the users data, of course. The only major issue I have found after doing this is with the Media Library. It shows the content I have (thumbs and all) but when I try to upload new content it gives me an error and doesn’t show it at all. Weird thing is it actually uploads the content since I can acess it via FTP, but it still doesn’t show.

    Things I have tried so far:
    1. Verifying the path is set to wp-content/uploads.
    2. Unchecked the “organize by date” box in the settings.
    3. Setting all permissions to the upload folder via FileZilla to 777.
    4. Tried adding content via “Add from server” plugin to no result.
    5. Tried manually setting the url_path in the options table in the database to no avail either.

    My bet is that it has something to do with the database migration. I probably didn’t do something or messed up something else. If anyone has any idea on what that might be, I would really, reaaaallly appreciate it.

    Thanks. Here’s a link to the site.

    http://www.preferirianohacerlo.com

Viewing 1 replies (of 1 total)
  • Thread Starter Enmiand

    (@enmiand)

    Resolved. Apparently it had something to do with the permissions. I had only allowed the root folder and not the subfolders with the 777 permission.

Viewing 1 replies (of 1 total)
  • The topic ‘Media Library uploads but doesn't show new content.’ is closed to new replies.