Viewing 5 replies - 1 through 5 (of 5 total)
  • Try and restore the wp-config.php file from a backup.

    Use phpMyAdmin to check the prefix in the database.

    dwinden

    Thread Starter Chris Dillon

    (@cdillon27)

    Thanks dwinden. I should have mentioned that I already fixed it and was simply reporting the error to the developer.

    Ah ok. Indeed it was a short post which I interpreted as a shout for HELP !
    Clearly the change database prefix feature somehow broke on updating the wp-config.php file.

    It first changes what needs to be changed in the database and then it updates the wp-config.php file.

    So you restored the old wp-config.php file, updated the “$table_prefix =”
    line with the new prefix and party time ! Right ?

    Or did you need to restore your database from a backup ?

    Oh are you using WP in multi site mode ?

    Any additional info you can provide will help in tracking this down.

    dwinden

    Thread Starter Chris Dillon

    (@cdillon27)

    I chose the nuclear option of a full site restore.

    This is on a local WAMP installation that is not multisite.

    The error is due to wp-config.php being completely overwritten with the $table_prefix declaration.

    After activating, I performed two of the “Important First Steps:” making a backup, and allowing file updates.

    At this point, my only purpose for trying the plugin was to test the ability to change the table prefix.

    Ok, great feedback.

    I have seen an earlier topic in this forum that described a similar issue.
    However so far I have not been able to reproduce the issue.
    Which makes it hard to find the cause …

    Did you install WP in the root of the Apache html folder or in a subfolder ?

    How does your WordPress Address and Site Address look like (just the format like http://www.domain.com or http://localhost) ?

    Are you using a virtual host configuration in Apache ?

    Are you using any caching plugin ? If so which one ?

    On what Windows platform (NT, XP SP3, Vista, 7 SP1, 8.1, 10) are you running this WAMP install ?

    Apache version ?
    PHP version ?

    Did you manually change anything in the wp-config.php file (prior to) ?

    Anything else out of the ordinary ?

    It must be a very specific situation when this problem occurs …

    dwinden

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal error on changing table prefix’ is closed to new replies.