please backup your wordpress install and database before doing any of this
go download the latest version of wordpress and copy the wp-config-sample.php onto your website via ftp or how you usually do it, then open your wp-config.php in some notepad like program and copy all of your database info onto the new wp-config-sample.php database info and save it then delete wp-config.php and rename wp-config-sample.php to wp-config.php. I can do this for you if you’d like.
Hi Alex and Anthony,
I backed up the original version of my blog prior to the upgrade. And did the wp-config.php update. I was able to get my blog to show up again by restoring the original version, and now it’s showing a bunch of code at the top. The code looks like this:
users’) ) return true; } return false; } ?> or closed * @param int $post_id Post ID * @return bool $open */ function _close_comments_for_old_post( $open, $post_id ) { if ( ! $open ) return $open; if ( !get_option(‘close_comments_for_old_posts’) ) return $open; $days_old = (int) get_option(‘close_comments_days_old’); if ( !$days_old ) return $open; $post = get_post($post_id); if ( time() – strtotime( $post->post_date_gmt ) > ( $days_old * 24 * 60 * 60 ) ) return false; return $open; } ?> “; } add_action(‘admin_head’, ‘dolly_css’); ?>
–
How do I make that code up top go away?
PS Thanks for responding and offering to fix the code for me!