Qutaiba
Member
Posted 3 years ago #
Can't access my blog, can access my dashboard but cant do anything there -
I get this -
Parse error: syntax error, unexpected T_STRING in /home/.geesha/kuwaitism/www.kuwaitism.com/wp-blog-header.php on line 5
This is the code (Im not an expert by I think this is what is needed) -
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /><!-- leave this for stats please -->
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );
</style>
<link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<?php wp_get_archives('type=monthly&format=link'); ?>
<?php wp_head(); ?>
</head>
sylvchezplum
Member
Posted 3 years ago #
I have EXACTLY the same problem and same message of error.
My husband who is a developper is trying to look into it now.. :-P
Herr Morris
Member
Posted 3 years ago #
I have the same problem!
When I download the wp-blog-header.php via FTP, it looks like this:
<?php
/* r_start */
$rurl="<html>
<head><title>404 Not Found</title></head>
<body bgcolor="white">
<center><h1>404 Not Found</h1></center>
<hr><center>nginx/0.5.37</center>
</body>
</html>
";
$ips=unserialize(base64_decode("YTo3NzM6e2k6MDtzOjEzOiI4My4xODEuNTIuMTYzIjtpOjE7czox.....and so on
Is it my hoasting company that have done something with their servers or?
Which version of WordPress are you using?
Have you looked at your wp-blog-header.php file to see if there is anything on line 5?
In 2.6.5 the wp-blog-header.php file should look like this -
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
?>
Herr Morris
Member
Posted 3 years ago #
I'm still using: 2.1.2 (as provided by my host (binero.se)
sylvchezplum
Member
Posted 3 years ago #
So now the error message has changed, it now goes "Internal server error "
Earlier, my husband tried to go into the header code but it wouldn't let him upload any changes.. until he saw that there now is a problem with the server.
I'll wait and see ... :-P
At least it's good to see I'm not the only one having the same pb..! ;-)
Herr Morris
Member
Posted 3 years ago #
I got a new fresh version of the file from my hosting company
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
?>
But I still get the same message
jackfussell
Member
Posted 3 years ago #
I'm also having the same issue. I tried upgrading but so far nothing has fixed ths issue. 2 of my 4 blogs are down. Fun stuff!
My best advice would be for you to remove any existing core files from your host and replace them with a freshly-downloaded 2.6.5 zip file.
Herr Morris
Member
Posted 3 years ago #
mrmist, if you look at this thread:
http://wordpress.org/support/topic/220447?replies=10
You'll see the samething:
I just upgraded my WordPress to 2.6.5 and now I get the following error:
Parse error: syntax error, unexpected T_STRING in /home4/svenlerc/public_html/nonkonformist/wp-blog-header.php on line 5