Support » Plugin: Jetpack by » [Plugin: Jetpack by] Jetpack Sharedaddy breaking site

  • Everytime I have installed Jetpack on either of the two sites I have running I get this error after a day or two and can only regain access to the site by going into the FTP and deleting jetpack files.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /homepages/34/xxxxxx/htdocs/wp-content/plugins/jetpack/modules/sharedaddy/sharing.php on line 4

    Using 1&1 with phpversion: 4.4.9
    I have just noticed that it is php version 4.4.9. This is odd because I have edited the hta.access file to include the two lines that change it to php 5…

    any help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • re-added the two lines in the hta.access file:

    AddHandler x-mapp-php5 .php

    AddType x-mapp-php5 .php

    and now the site is back up and working. Does that file get over written? should I make it read-only? any 1&1 users that can help?

    Thank you in advance!

    Plugin Contributor Andy Peatling


    Sharedaddy only supports PHP5. In 1.1.1 you should not be able to active Sharedaddy on a PHP4 host.

    Doing some work for someone with the same problem – they are on 1and1 hosting and Sharedaddy (in Jetpack) has hijacked the administration area of the site.

    @drayu, thanks for sharing your fix. That was the trick for me, too.
    I re-edited the .htaccess file to force PHP5 and the site works again.

    Does anyone know what might have caused this, or how to prevent it from happening in the future?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Jetpack by] Jetpack Sharedaddy breaking site’ is closed to new replies.