Skip to:
Content
Pages
Categories
Search
Top
Bottom

Moving BP to new URL syntax error


  • oliredman
    Participant

    @oliredman

    Hi,

    I recently created a copy of my website, the idea being I could use it as a kind of development server to test out my horrible coding skills without screwing up my live site. I copied the files across to a new directory, pointed the domain name, but when I visit my new URL I get this:

    Parse error: syntax error, unexpected $end in /home/…/wp-content/plugins/buddypress/bp-members/bp-members-screens.php on line 474

    WP: 3.5.1
    BP: 1.7.2
    Live site (working fine): http://www.oxfordonlineenglish.com
    New site (not working): http://www.oxfordonlineenglish.net

    What I have done so far:

    – Compared the bp-members-screens.php file to the one in my original installation (seems fine)
    – Closed the ?> tag (made no difference, and the other file works fine without it)
    – Consulted the codex (no luck)
    – Used search/replace on the new MySQL database to update the strings
    – Edited wpconfig.php to update the URL and DB links
    – Checked .htaccess (has no references to the old URL or DB)

    Any suggestions much appreciated!

  • The topic ‘Moving BP to new URL syntax error’ is closed to new replies.
Skip to toolbar