Posts by kess

    Just for your information,

    I modified line 1599 in /var/www/imscp/gui/library/Functions/Shared.php


    1. $possibleHostSources = ['HTTP_X_FORWARDED_HOST', 'HTTP_HOST', 'SERVER_NAME', 'SERVER_ADDR'];


    1. $possibleHostSources = ['HTTP_X_FORWARDED_HOST', 'SERVER_NAME', 'HTTP_HOST', 'SERVER_ADDR'];

    It seems that $_SERVER['HTTP_HOST'] returns w00.mydomain.com4443 and this is not the result we expect. I don't know why the result is not

    So I choosed SERVER_NAME as preference...

    Now the panel is working again as expected.

    Hello guys,

    I have the following problem after login to the panel.

    The server has been upgraded today from Jessie to Stretch and from i-MSCP 1.5.3 to i-MSCP 1.5.3-2018120800

    Everything went well, but unfortunately after the login form I can not do anything else.

    With Debug Mode enabled, I can see:

    1. An unexpected error occurred
    2. An exception has been thrown in file /var/www/imscp/gui/library/Functions/Shared.php at line 1634:
    3. Invalid Host "w00.mydomain.com4443"

    Unfortunately the logs are not telling big things… in effect the error is reported nowhere…

    This is the only thing I have.

    The list of the installed Plugins is: ServerDefaultPage, Postscreen, ClamAV, SpamAssassin, Monitorix, RoundcubePlugins, PhpSwitcher, OpenDKIM, Mailgraph, LetsEncrypt, WHMCS

    Please tell me where I can watch in order to find the cause.

    Thx for help,

    bye Kess.

    Basically you should resolve it with:

    1. apt-get install libgd-dev libgd2-xpm-dev

    But the you should ensure that you don't have any broken packages or pending packages before proceeding...

    Read better…


    Hi Nuxwin ,

    thank you for clarification. If it's tedious I'm sure that who needs that feature will be able to live with the creation of multiple forwards with the "main" mailbox as target.

    I hope that UncleSam understood what you wrote :-)

    Thank you anyway