WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Mailpress fatal error / parse error (8 posts)

  1. stonegauge
    Member
    Posted 6 years ago #

    Hi All --

    I'm just testing out the plugin -- or was going to -- on 2.5.1 but I can't even initialize MailPress things as I get the following error:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in xx/xx/wp-content/plugins/mailpress/MailPress.php on line 77`

    I googled the error as well as searched for it on teh forums, there doesn't seem to be a previous listed happening of the problem (there are other instances of the error code but for other programs). Any help would be appreciated.

  2. stonegauge
    Member
    Posted 6 years ago #

    Well, just FYI -- plugin doesn't seem to work (error that is listed above) in Dreamhost hosting environments but does seem to work (with other technical faults) in GoDaddy.

  3. RENAUT
    Member
    Posted 6 years ago #

    To make this plugin work, you need to have at least PHP 5.2.5

  4. johnbfisher
    Member
    Posted 6 years ago #

    My hosting service runs PHP 5.2.5 - but the same problem occurs. Too bad, since it looked promising.

  5. flick
    Member
    Posted 6 years ago #

    The latest version (1.8 although 1.7 worked too) seems to activate fine for me at PHP 5.2.3 (Just realised forgot to update my local server installation) using 2.6.

  6. alex675
    Member
    Posted 6 years ago #

    Hi,

    I had the same problem, put it was fixed when I added these lines in my .htaccess file (make sure to save a copy before editing):

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    These, from my understanding update to PHP 5.2.3

    P.S If you find any websites with Mailpress designs,could you post a reply listing them. Thanks!

  7. alex675
    Member
    Posted 6 years ago #

    The lines need to be added just before: End WordPress

  8. Ed Torres
    Member
    Posted 5 years ago #

    In my case the .htaccess change did not work: it made the my blog entries desapear.

    Here it is the error message when I tried to activate the plugin:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in MailPress.php on line 204

    My ISP host company is http://www.1and1.com and their php.ini configuration is:

    upload_max_filesize:20 M
    max_execution_time:300
    memory_limit:40 M
    post_max_size:8 M
    SMTP:localhost

Topic Closed

This topic has been closed to new replies.

About this Topic