I messed up my wife's site somehow…
-
My wife has a blog that she asked me to set up. Long-story-short, a file got messed up or something because when I try to log in I get the following error message:
rue() * @return bool false */ function __return_false() { return false; } /** * Returns 0 * * Useful for returning 0 to filters easily * * @since 3.0.0 * @see __return_zero() * @return int 0 */ function __return_zero() { return 0; } /** * Returns an empty array * * Useful for returning an empty array to filters easily * * @since 3.0.0 * @see __return_zero() * @return array Empty array */ function __return_empty_array() { return array(); } /** * Send a HTTP header to disable content type sniffing in browsers which support it. * * @link https://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-v-comprehensive-protection.aspx * @link https://src.chromium.org/viewvc/chrome?view=rev&revision=6985 * * @since 3.0.0 * @return none */ function send_nosniff_header() { @header( 'X-Content-Type-Options: nosniff' ); } /** * Returns a MySQL expression for selecting the week number based on the start_of_week option. * * @internal * @since 3.0.0 * @param string $column * @return string */ function _wp_mysql_week( $column ) { switch ( $start_of_week = (int) get_option( 'start_of_week' ) ) { default : case 0 : return "WEEK( $column, 0 )"; case 1 : return "WEEK( $column, 1 )"; case 2 : case 3 : case 4 : case 5 : case 6 : return "WEEK( DATE_SUB( $column, INTERVAL $start_of_week DAY ), 0 )"; } } ?> @return string */ function callback($matches) { $index = intval(substr($matches[0], 9, -1)); return ( isset( $this->_matches[$index] ) ? urlencode($this->_matches[$index]) : '' ); } } ?> e constructor, PHP5 * already calls __destruct() */ register_shutdown_function(array(&$this, "__destruct")); } /** * Will save the object cache before object is completely destroyed. * * Called upon object destruction, which should be when PHP ends. * * @since 2.0.8 * * @return bool True value. Won't be used by PHP */ function __destruct() { return true; } } ?> Warning: Cannot modify header information - headers already sent by (output started at /home/sugarsti/wordpress/wp-includes/functions.php:4328) in /home/sugarsti/wordpress/wp-includes/pluggable.php on line 890
Looking at her blog Sugarsticks Parties Blog the header information looks all messed up somehow.
She was trying to edit her subscription list plugin. It was conflicting with something else and then we tried to run the update. I had backed up all the files in her wordpress directory like I figure I am supposed to before an update and… well… nothing has worked. The update didn’t fix the plugin, backpeddling on the subscription plugin version seemed to have messed up the site to be unreadable. I wiped the directory and restored from the backup and it still wasn’t looking right. I tried installing the 3.0.1 update manually and managed to get it to the ugly point it is now.
I do not know programming languages beyond old QBasic. I do not want to be in this position and have only a basic idea of what’s wrong. I do not understand why restoring from backup didn’t work and really need some help written for an old-timer who understands most of the concepts, if not how to execute it.
- The topic ‘I messed up my wife's site somehow…’ is closed to new replies.