I have recently moved my WordPress installation over to a different server. I can no longer access my site.
My new host gives an error message when accessing my site:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/iwhblog1/public_html/admin.php on line 30
The code for admin.php is:
PHP Code:
<?php
/**
* WordPress Administration Bootstrap
*
* @package WordPress
* @subpackage Administration
*/
/**
* In WordPress Administration Screens
*
* @since 2.3.2
*/
if ( ! defined('WP_ADMIN') )
define('WP_ADMIN', TRUE);
if ( ! defined('WP_NETWORK_ADMIN') )
define('WP_NETWORK_ADMIN', FALSE);
if ( ! defined('WP_USER_ADMIN') )
define('WP_USER_ADMIN', FALSE);
if ( ! WP_NETWORK_ADMIN && ! WP_USER_ADMIN ) {
define('WP_BLOG_ADMIN', TRUE);
}
if ( isset($_GET['import']) && !defined('WP_LOAD_IMPORTERS') )
define('WP_LOAD_IMPORTERS', true);
require_once(dirname(dirname(__FILE__)) '/home/iwhblog1/wp-load.php' include_path='/usr/local/php53/pear';
if ( get_option('db_upgraded') ) {
$wp_rewrite->flush_rules();
update_option( 'db_upgraded', false );
Line 30 is:
PHP Code:
require_once(dirname(dirname(__FILE__)) '/home/iwhblog1/wp-load.php' include_path='/usr/local/php53/pear';
I am new to PHP although I now HTML as WordPress a lot. I cannot access any of my WP site, but I can access the files for it.
Any help would be greatly appreciated! :)