WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Mailpress fatal error / parse error

[Resolved] Mailpress fatal error / parse error

  • 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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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.

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

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

    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.

    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!

    The lines need to be added just before: End WordPress

    Ed Torres

    @torresinc

    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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Mailpress fatal error / parse error’ is closed to new replies.
Skip to toolbar