• Resolved JohnDiver

    (@johndiver)


    Hey,

    I recovered all my site files after it was hacked and have a database, it is connecting, but it is showing a page for a new install rather than using the database info.

    Anyone know what can cause this?

    Thanks

    • This topic was modified 6 years, 7 months ago by Andrew Nevins.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @johndiver,

    That means that your WP install is able to connect to your DB, but it isn’t finding your tables. Is your table prefix config correct? It can be found in your wp-config.php file and usually is something like $table_prefix = 'wp_';

    Check the names of your tables and edit it accordingly.

    Thread Starter JohnDiver

    (@johndiver)

    Hey,

    Thanks for the reply.

    I just rechecked – The db looks to be fine, Ive a few other WP installs and they have the same tables so confused as to why its not working and acting like a new install, it has all the information in the db including the theme details so I’m lost..

    Hmm, that’s really strange. All table names start with wp_ like wp_post, wp_users etc.? And in your wp-config.php it’s that way I’ve mentioned ($table_prefix = 'wp_';)?

    Thread Starter JohnDiver

    (@johndiver)

    I just noticed my developer changed the prefix, I changed it now I have a WSOD, I seem to be getting them a lot.

    Thread Starter JohnDiver

    (@johndiver)

    I just changed the theme but no images are showing, I will create a separate thread because I can’t see any directory or setting problems..

    thanks for your help

    If your question has been answered, we would love if you would mark this topic as resolved in the left hand sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did ??

    Thread Starter JohnDiver

    (@johndiver)

    Resolved ?? I was wondering why I couldnt see a sidebar, its a tickbox below the reply and tags section:)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Full site and a database but showing a new install page’ is closed to new replies.