• Whenever I try to activate the plugin, I keep getting the following fatal error:
    “Parse error: syntax error, unexpected $end in C:\Inetpub\wwwroot\blog\wp-content\plugins\profile-pic\profile-pic.php on line 852”

    I looked up the line number in the file, but it’s the last line. Is there something I’m missing? I’m using WP 2.6.2.

    Any response you can give asap would be greatly appreciated.

Viewing 9 replies - 1 through 9 (of 9 total)
  • I just tested v.0.9.0 in WP 2.6.2 – works like a charm.

    In my experience, I usually only see the “unexpected $end” error when my ftp program fails to completely upload a file. Maybe try deleting the plugin from your plugins folder, download the .zip again, unzip it, and re-upload it. See if that solves the problem…

    LMK

    Thread Starter aahhh82

    (@aahhh82)

    I’ll give it a shot though I don’t suspect that will do much. I already updated to the lates version of the plugin when I encountered it at first, which was a redownload and unzip of the files. I’m also just hosting this locally on an internal network, so no ftping is being done.

    Thread Starter aahhh82

    (@aahhh82)

    nope, just tried redownload and unzip. still didn’t work.

    hrm, what version of PHP?

    Thread Starter aahhh82

    (@aahhh82)

    PHP 5

    Okay, my best guess is that your php configuration may not like the short <? type of php opening bracket (its an option in the php.ini, enabling short_tags). I’ve updated the plugin (not a new version release, just made some source code changes) so that the plugin no longer requires short_tags enabled. go ahead and download it again. LMK if that works.

    There was an additional <? without the <?php on line 92.

    Once that was changed, it loaded without a problem.

    Thanks!

    thanks, I included that change in 0.9.1!

    Thread Starter aahhh82

    (@aahhh82)

    Not sure if it was the latest plugin fixes or my upgrade to WP 2.7, but it actives just fine now. Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Profile Pic] Fatal error on activation’ is closed to new replies.