The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Case 93025] Squirrel does not support PHP 5.4 in reply messages

Discussion in 'E-mail Discussions' started by tizoo, Mar 13, 2014.

  1. tizoo

    tizoo Well-Known Member

    Joined:
    Jan 6, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Dear Support,

    It seems that the cpanel version of Squirrel mail since de update to 11.42 doesn't support PHP 5.4. The problem is the following :

    When answering a message that contain non-ascii characters, the original message is not copied quoted in the reply message, the reply message is just empty.

    This discussion seems to talk about the problem :

    squirrelmail-users - Blank message body on some replies

    Did you have an idea when this will be fixed ?

    Thanks a lot in advance for any information.

    Philippe
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    An internal case is open to address this issue. For reference, the case number is 93025. There is currently no time frame available on when a resolution might be pushed out, but I would expect one in the near future due to the number of reports we have received on this issue.

    Thank you.
     
  3. SupaDucta

    SupaDucta Active Member

    Joined:
    Oct 6, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Any further information?

    The latest 11.42.1.11 and SquirrelMail fom SVN update hasn't fixed this, just results in spitting

    in the messages list if the language is set to the one not supported by PHP 5.4 anymore.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    This resolution was included with cPanel version 11.42.1.6:

    Fixed case 93025: Update Squirrelmail to SVN r14346.

    Per this case description:

    The last "stable" release of Squirrelmail is has character encoding problems with PHP 5.4. This commit updates Squirrelmail to a newer revision that contains a comprehensive fix for those problems.

    It's possible the specific issue you are experiencing is not resolved by those fixes that SquirrelMail released. When SquirrelMail issues a new release, we will update our bundled copy. It might also be helpful if you submit a bug report directly to SquirrelMail reporting the problem you are experiencing so they can issue a patch if necessary.

    Thank you.
     
  5. carbonturtle

    carbonturtle Member

    Joined:
    Nov 26, 2006
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I have a client who uses Squirrelmail, and he has been complaining for a couple of months now about the "blank reply" issue on certain emails. This morning, he emailed me, thanking me for fixing the problem! I hadn't done anything-- WHM/cPanel had automatically updated Squirrelmail to "version 14346". In light of what you said above, cPanelMichael,
    It is surprising that this "unofficial release" got automatically installed on my server. Is this version being pushed out to everyone? Why?

    (Also, thank you!)

    P.S. it also appears that the new version wiped out the Spam-Buttons plugin (v2.3.1- the most recent version) that I had manually installed a few years ago. I'm wondering if it is incompatible with the new version of SquirrelMail?
     
    #5 carbonturtle, Apr 22, 2014
    Last edited: Apr 22, 2014
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The patch was implemented due to the widespread nature of the issue after the implementation of PHP 5.4 in cPanel version 11.42. The change was included in cPanel version 11.42.1.6, which has not yet made it's way down to the "Stable" build tier, but that's expected later today.

    As for the custom plugin, you may want to consult with it's developers or support team to determine if it's still compatible with the version of SquirrelMail installed on your system.

    Thank you.
     
  7. SupaDucta

    SupaDucta Active Member

    Joined:
    Oct 6, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    Apparently we have to contact SquirrelMail instead of cPanel fixing this? Wow...
     
  8. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Yes, all cPanel/WHM does is grab the RPM from the OS (CentOS if you're running that). We don't customize SquirrelMail in any way.
     
  9. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It really depends on the exact nature of the particular issue. For instance, with case 93025, we decided to ship a development snapshot of Squirrelmail that resolved some character encoding issues. However, if there is an isolated issue related to a potential Squirrelmail bug, it really needs to be addressed by the Squirrelmail developers so the changes make their way into the SquirrelMail source code. Do you have any input on how you would prefer we handle these types of issues?

    Thank you.
     
  10. t0mmy_

    t0mmy_ Registered

    Joined:
    Feb 20, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    SupaDucta, you can try temporary manually fix this issue by editing /usr/local/cpanel/base/3rdparty/squirrelmail/functions/strings.php and around line 1695 change:
    Code:
    $encoding=NULL
    to
    Code:
    $encoding="UTF-8"
    Regards
     
  11. SupaDucta

    SupaDucta Active Member

    Joined:
    Oct 6, 2004
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    6
    It's not an isolated issue, it's a common issue with SquirrelMail and PHP 5.4. It's easy to force the switch to PHP 5.4 just like that and then point to upstream provider for any issues. And let me tell you - trying to serve the same to clients doesn't work. They insist on having this fixed. They don't care about PHP, many of them don't even know what it is. They want their long-working SquirrelMail to work again as it used to, and they are paying for this.

    Don't you think that it would be easier for cPanel to either make a proper, working patch, or work with SquirrelMail instead of pointing the clients to do the same? We haven't put SquirrelMail and clients using it into this position by forcing PHP 5.4 for internal PHP, cPanel did, so cPanel should make it work.

    - - - Updated - - -

    t0mmy_ thanks much, going to try that.
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    If you are still experiencing the same problem reported in the original post, and are using a version of cPanel that includes a resolution for that case, then please feel free to submit a bug report via:

    Submit A Bug Report

    It's possible the issue you are experiencing is not related to internal case 93025, so a new case may be necessary. You can post the ticket number here and we will update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page