• Resolved thom_s

    (@thom_s)


    I’m trying a new wordpress workflow. Localhost –> dev –> production.
    One of my needs will be to easy migrate the database from production db to local environment – to see what’s happened online – while testing new function.

    Right now I’ve been testing it on dev to local with BackuBuddy and WP Migrate DB – but have one problem:

    The database migration works fine. It seem that all tables, with users, correct local URL etc is in the local database – BUT – i keep getting directed to install.php. The content of the site is in the db, but for some reason WordPress redirect me to install.php.

    The options table have the local address correct in two fields.
    I’ve tried without .htaccess, whit the basic .htacess from http://codex.wordpress.org/htaccess, and tried to change the path from the .htaccess on the dev server

    I also tried to hardcode the site address in wp-config via:
    define(‘WP_HOME’,’http://example.com’);
    define(‘WP_SITEURL’,’http://example.com’);

    What could be the problem? Something is missing in this setup – but WHAT?

Viewing 2 replies - 1 through 2 (of 2 total)
  • hey

    a couple thoughts

    are the settings in your localhost’s wp-config.php correct? are permissions on wp-config.php 644?

    can you post the contents of your localhost htaccess?

    does the frontend of the site load on localhost?

    Thread Starter thom_s

    (@thom_s)

    I realized it was a problem with db-prefix. I was also testing a special wp-config configuration, https://gist.github.com/ashfame/1923821, where I put a local and dev config a folder above the “standard” config.
    I had not renamed the prefix in the local config, as I had a differrent prefix on the devsite. When I put the same prefix in both config files, everything worked fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Database Only Migration Works – But Redirected To Install.php’ is closed to new replies.