SOS! Problem after moving the blog to a new server. Parse error: syntax error
-
Hello, I have just move my blog to a new hosting provider. This is what I did:
-backup databases and files
-uploaded the files to the new server
-created a new database in the new server and imported the previously exported sql DBNow I get this error:
Parse error: syntax error, unexpected '}' in /home/nameofmysite/public_html/wp-content/themes/nameofmytheme/header.php on line 7
On line 7 I have this:
<?php if ( is_home() ) { ?><?php } else { ?><?php}?><div id="top"></div>
It was working fine on the old server.
I can think of this. In the old server wordpress was installed on:
/folderofmysite/In the new server it is here:
/home/nameofmysite/public_html/But still both folders are the roots to my site. Did I do something wrong?
- The topic ‘SOS! Problem after moving the blog to a new server. Parse error: syntax error’ is closed to new replies.