• I’m new to coding and trying to migrate archives from textpattern to a new wordpress site. I keep getting this error. I’ve tried getting rid of the hidden spaces. Any guidance or help anyone could offer would be appreciated.

    Parse error on line 1:
    <?php$txpcfg[ ‘d
    ^
    Expecting ‘{‘, ‘[‘

    I realize it expects a { or a [ but for the life of me, I can’t figure out where or how I’m doing this wrong.

Viewing 2 replies - 1 through 2 (of 2 total)
  • For starters, this:

    <?php$txpcfg[ ‘d

    Should be this:

    <?php $txpcfg[ ‘d

    You need a space between the opening PHP tag and anything else otherwise it gets interpreted as that whole string of characters.

    Thread Starter Tramm3ll

    (@tramm3ll)

    Problem fixed. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Php error code (going from txp to wordpress)’ is closed to new replies.