Jetpack by WordPress.com
Jetpack Sharedaddy breaking site (4 posts)

  1. Drayu
    Posted 5 years ago #

    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?

  2. Drayu
    Posted 5 years ago #

    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!

  3. Andy Peatling
    Plugin Contributor

    Posted 5 years ago #

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

  4. Ethan
    Posted 5 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic