smartrel8nships
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Locked out of BackendI can’t do a reinstall. I have weveral years of posts, and this is my company page. I think this must be the section of code from upgrade.php that is causing my problem. Any advice on how I can modify it to let me back in? I’m not a programmer.
?> <?php else : switch ( $step ) : case 0: $goback = stripslashes( wp_get_referer() ); $goback = esc_url_raw( $goback ); $goback = urlencode( $goback ); ?> <h2><?php _e( 'Database Update Required' ); ?></h2> <p><?php _e( 'WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.' ); ?></p> <p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p> <p class="step"><a>"><?php _e( 'Update WordPress Database' ); ?></a></p> <?php break; case 1: wp_upgrade(); $backto = !empty($_GET['backto']) ? stripslashes( urldecode( $_GET['backto'] ) ) : __get_option( 'home' ) . '/'; $backto = esc_url( $backto ); $backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/'); ?>
[Please use the code button or backticks when posting code]Forum: Fixing WordPress
In reply to: Locked out of BackendAnd a new development – I renamed OLD.htaccess back to .htaccess and tried to let WP complete the update again. This time instead of the grey screen I got:
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache Server at http://www.smartrelationships.org Port 80″Forum: Fixing WordPress
In reply to: Locked out of BackendOkay, I now know that the issue which causes me to be locked out is the table prefix line in the wp-config file. When that’s set to the default _WP, it thinks this is a brand new site and completes the update for me. And my entire web site disappears. When it’s set to the real table prefix it locks me into the loop again.
Where can I go from here?
Forum: Fixing WordPress
In reply to: Locked out of BackendThanks for your patience with a newbie. I can rename and upload the wp-config-sample.php. Can I just move the .htaccess file somewhere else and let it automatically be generated? Since I’m locked out of the backend I can’t see the menu you’re referencing.
Forum: Fixing WordPress
In reply to: Locked out of BackendOkay, where would I get a better version of those files to overwrite?
Forum: Fixing WordPress
In reply to: Locked out of BackendI have a backup. htaccess is still a 2012 version, so it wasn’t updated. wp-config.php is dated 2011. This is from looking at the files via FTP.