php editor not shown for all customers

  • Hi there,


    I have one reseller with php editor permission, but when he gives the right to edit php settings to a customer this option does not appear in the domain settings for all of them. Because it works for some customers it seems not to be a problem with the reseller rights.


    i-MSCP version: 1.3.0


    Update: The only installed Extension is Let's Encrypt, but even if I disable it the problem exists.


    regards,
    thoand

  • @thoand


    Please:

    • Show us a screenshot of PHP editor permissions for the target reseller
    • Show us a screenshot of PHP editor permissions for the target customer of this reseller for which permissions are not applied correctly
    • Show us the result of the following SQL query for the target customer:
    SQL
    1. # mysql -u root -p<password>
    2. > use imscp;
    3. > select phpini_perm_system, phpini_perm_register_globals, phpini_perm_allow_url_fopen, phpini_perm_display_errors, phpini_perm_disable_functions, phpini_perm_mail_function from domain where domain_id = <domain_id>;


    Note: In the SELECT SQL query above, you must replace <domain_id> with the ID of the customer main domain.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @thoand


    I need the screenshot of the PHP editor permissions (click on PHP settings button to see them) ;) And please rerun the SQL query without the phpini_perm_register_globals column.


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin


    sorry I misunderstood you. Here are the screens:


    Reseller:
    Bildschirmfoto 2016-07-06 um 09.29.58.png


    Customer:
    Bildschirmfoto 2016-07-06 um 09.30.34.png


    The result of the mysql query:


    Code
    1. mysql> select phpini_perm_system, phpini_perm_allow_url_fopen, phpini_perm_display_errors, phpini_perm_disable_functions, phpini_perm_mail_function from domain where domain_id = 1;
    2. +--------------------+-----------------------------+----------------------------+-------------------------------+---------------------------+
    3. | phpini_perm_system | phpini_perm_allow_url_fopen | phpini_perm_display_errors | phpini_perm_disable_functions | phpini_perm_mail_function |
    4. +--------------------+-----------------------------+----------------------------+-------------------------------+---------------------------+
    5. | yes | no | no | no | yes |
    6. +--------------------+-----------------------------+----------------------------+-------------------------------+---------------------------+
    7. 1 row in set (0,00 sec)

    regards,
    thoand

  • @thoand


    That is logical. So here, it was an error from you. If you don't select any option (top settings), PHP editor is disabled on customer side ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206