ACCORD5
Add a reply

ACCORD5 Company Forums » Trellis Desk » Peer-to-Peer Support

php 5.3.x and email pipeing

 
  • Started 7 months ago by infex
  • 4 posts in this topic
  • Latest reply from Extremeart
  1. User has not uploaded an avatar

    infex

    offline
    Member

    Hi!
    sorry my english...
    I installd trellis desk 1.0.4. All work perfectly, but the email pipeing...

    I folow these howto: http://docs.accord5.com/Email_Piping
    -Pear module is installed.
    -chmod 755 pipe.php
    All work perfectly, I get the emails, I can replay there.
    But every email get an error message. link: http://www.2shared.com/document/mcGLZaJm/hiba2.html

    by this guide : http://support.magicbrain.biz/index.php?act=article&code=print&id=6
    can I the ereg() and split() error fix.
    But this error could not be improved:
    "Deprecated: Assigning the return value of new by reference is deprecated in"

    Posted 7 months ago #
  2. User has not uploaded an avatar

    KAOSFORGE

    offline
    Member

    Some functions are deprecated in PHP 5.3.

    You should contact your hoster and maybe downgrade PHP

    Posted 7 months ago #
  3. User has not uploaded an avatar

    infex

    offline
    Member

    they can't...
    can enybody help to change swift mailer script? (core/includes/swift)
    http://swiftmailer.org/

    Posted 6 months ago #
  4. User has not uploaded an avatar

    Extremeart

    offline
    Member

    Well, they are deprecated since PHP 5.3 see http://php.net/manual/en/function.ereg.php

    and http://php.net/manual/en/function.split.php

    [QUOTE]This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.[/QUOTE

    So use instead of ereg() this: http://www.php.net/manual/en/function.preg-match.php
    and instead of split() this: http://www.php.net/manual/en/function.explode.php

    "@" doesnt solve the problem as this just suppresses the printing of the error message.
    Also a downgrade of your php version is maybe better than using the newest one.

    You can easily upgrade swiftmailer if you replace the old Swift.php with a newer one

    You can (if you have a good hoster) change the used PHP version in your htaccess using a cgi version of an older PHP version.

    So please ask your hoster about this.

    KAOSFORGE (Extremeart)

    Posted 6 months ago #

RSS feed for this topic

Reply to this topic

You must log in to post.