I BROKE IT!! Maybe…?
-
Hey All-
Just recently my girlfriend broke free of her hosting and got into her own package instead of someone else running her back end (hold the jokes). For a year or more I noticed this guy NEVER updated the WordPress. So when we took control I tried to update, but the updater WOULD NOT RUN! SO I tried to do it manually on Filezilla and the files dropped cleanly; I didn’t see any error…until I refreshed her webpage.
Parse error: syntax error, unexpected end of file in /home/betsyv/public_html/wp-includes/wp-db.php on line 3062
So I went through the php, but I’m stumped… Anyone have any advice? Below I’ve attached the content per line. ANy/all assistance will be greatly appreciated!
3047>> /**
3048>> * Whether MySQL database is at least the required minimum version.
3049>> *
3050>> * @since 2.5.0
3051>> * @uses $wp_version
3052>> * @uses $required_mysql_version
3053>> *
3054>> * @return WP_Error
3055>> */
3056>> public function check_database_version() {
3057>> global $wp_version, $required_mysql_version;
3058>> // Make sure the server has the required MySQL version
3059>> if ( version_compare($this->db_version(), $required_mysql_version, ‘<‘) )
3060>> return new WP_Error(‘database_version’, sprintf( __( ‘ERROR: WordPress
3061>> %1$s requires MySQL %2$s or higher’ ), $wp_version, $required_mysql_version ));
3062>> }
3063>>
3064>> /**
3065>> * Whether the database supports collation.
3066>> *
3067>> * Called when WordPress is generating the table scheme.
3068>> *
3069> * @since 2.5.0
3070>> * @deprecated 3.5.0
3071>> * @deprecated Use wpdb::has_cap( ‘collation’ )
3072>> *
3073>> * @return bool True if collation is supported, false if version does not
3074>> */
3075>> public function supports_collation() {
3076>> _deprecated_function( __FUNCTION__, ‘3.5’, ‘wpdb::has_cap( \’collation\’ )’ );
3077>> return $this->has_cap( ‘collation’ );
3078>> }
3079>>
3080>> /**
The topic ‘I BROKE IT!! Maybe…?’ is closed to new replies.