Posts by Dylan

    No yet but we could maybe implement that easily. See https://developers.whmcs.com/api-reference/

    There is surely a bug so. Please try to edit the /var/www/imscp/gui/plugins/WHMCS/frontend/whmcs.php file and at line 394 change:

    PHP
    1. $form->removeElement('admin_pass_onfirmation');

    by

    PHP
    1. $form->removeElement('admin_pass_confirmation');

    once done, restart the imscp_panel service and retry.

    Ok, that was the solution, thank you!


    And feature developements too! :)

    Hi @Nuxwin


    First of all, the WHMCS plugin is very usefull, thank you for this.


    I have two question about this plugin:
    1st:
    If a user change his password at i-MSCP panel (or get a new password with lost password function), how can he login from WHMCS area in one step?
    Can it update or re set the login details in WHMCS panel? (I think no)


    2nd:
    I tried to modify client's password at WHMCS area ( whmcs /clientarea.php?action=productdetails#tabChangepw ) but it has an error message: "Password Change Failed!"
    I haven't found any log details in i-MSCP or WHMCS panel.


    i-MSCP: 1.5.1
    WHMCS Plugin: 1.1.0
    WHMCS version: 7.5.1


    Thank you!
    Dylan

    Hi,


    OS: Debian Jessie 8.10
    i-mscp version: 1.5.1-konzeptplus
    Plugin: DomainAutoApproval 1.1.2


    I have an issue with it, when client want to add a subdomain


    Ok, I found the command:



    Code
    1. /var/www/imscp/engine/setup/imscp-reconfigure php

    Switch PHP to UDS
    All went well, after it, imscp panel not worked, but service running.
    apache2 dead
    php7.1-fpm running


    So I start apache2 manually and now all works.
    I hope it solved the problem... :|

    One more info:


    Code
    1. root@server1:/var/log/phpswitcher# service php7.1-fpm status● php7.1-fpm.service - The PHP 7.1 FastCGI Process Manager Loaded: loaded (/lib/systemd/system/php7.1-fpm.service; enabled) Active: failed (Result: exit-code) since Fri 2018-05-11 09:17:54 CEST; 3h 23min ago Docs: man:php-fpm7.1(8) Process: 6373 ExecReload=/bin/kill -USR2 $MAINPID (code=exited, status=0/SUCCESS) Process: 27195 ExecStart=/usr/sbin/php-fpm7.1 --nodaemonize --fpm-config /etc/php/7.1/fpm/php-fpm.conf (code=exited, status=78) Main PID: 27195 (code=exited, status=78)May 11 09:17:54 server1 php-fpm7.1[27195]: [11-May-2018 09:17:54] ERROR: unable to bind listening socket for address '127.0.0.1:10023': Address already in use (98)May 11 09:17:54 server1 php-fpm7.1[27195]: [11-May-2018 09:17:54] ERROR: FPM initialization failedMay 11 09:17:54 server1 systemd[1]: php7.1-fpm.service: main process exited, code=exited, status=78/n/aMay 11 09:17:54 server1 systemd[1]: Failed to start The PHP 7.1 FastCGI Process Manager.May 11 09:17:54 server1 systemd[1]: Unit php7.1-fpm.service entered failed state.


    @Nuxwin
    Can you help me in this?
    Now, all my customer's domain stoped again, imscp_panel not worked, and apache2 dead....




    Code
    1. root@server1:/var/log/phpswitcher# service apache2 status● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2) Drop-In: /lib/systemd/system/apache2.service.d └─forking.conf Active: inactive (dead) since Fri 2018-05-11 09:20:59 CEST; 3h 22min ago Process: 28414 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCESS) Process: 25794 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SUCCESS)May 10 23:00:35 server1 systemd[1]: Reloading LSB: Apache2 web server.May 10 23:00:36 server1 apache2[6001]: Reloading web server: apache2.May 10 23:00:36 server1 systemd[1]: Reloaded LSB: Apache2 web server.May 10 23:02:05 server1 systemd[1]: Reloading LSB: Apache2 web server.May 10 23:02:06 server1 apache2[6377]: Reloading web server: apache2.May 10 23:02:06 server1 systemd[1]: Reloaded LSB: Apache2 web server.May 11 06:25:10 server1 systemd[1]: Reloading LSB: Apache2 web server.May 11 06:25:11 server1 apache2[25794]: Reloading web server: apache2.May 11 06:25:11 server1 systemd[1]: Reloaded LSB: Apache2 web server.May 11 09:20:59 server1 apache2[28414]: Stopping web server: apache2.

    On 10023 port there are postgrey running.


    Code
    1. root@server1:/var/log/phpswitcher# netstat -tulnp | grep ":10023"
    2. tcp 0 0 127.0.0.1:10023 0.0.0.0:* LISTEN 4675/postgrey.pid -
    3. tcp6 0 0 ::1:10023 :::* LISTEN 4675/postgrey.pid -

    Ok, I think I found the problem.


    In /var/log/phpswitcher/psw7.0-fpm.log

    Code
    1. [10-May-2018 22:06:21] NOTICE: configuration file /opt/phpswitcher/php7.0/etc/php-fpm.conf test is successful
    2. [10-May-2018 22:08:20] ERROR: unable to bind listening socket for address '127.0.0.1:10023': Address already in use (98)
    3. [10-May-2018 22:08:20] ERROR: FPM initialization failed
    4. [10-May-2018 22:57:57] ERROR: unable to bind listening socket for address '127.0.0.1:10023': Address already in use (98)
    5. [10-May-2018 22:57:57] ERROR: FPM initialization failed

    This is, when I try to change PHP version from 5.6.23 to 7.0.16