writeconf.php

Discussion in 'Installation/Configuration' started by matiasCU, Dec 22, 2008.

  1. matiasCU

    matiasCU New Member

    I have more than 800 users in a domain with V. ISPConfig 2.2.26 The problem is that when I make any changes in the configuration of a user such as your password, the 800 users of the domain are set to update. There are some bugs detected?
    A change of password could wrong as follows:
    start
    UPDATE: 57
    UPDATE USER: 219
    UPDATE USER: 220
    UPDATE USER: 221
    UPDATE USER: 222
    UPDATE USER: 223
    UPDATE USER: 224
    UPDATE USER: 225
    UPDATE USER: 226
    UPDATE USER: 227
    UPDATE USER: 228
    UPDATE USER: 229
    UPDATE USER: 230
    UPDATE USER: 231
    UPDATE USER: 232
    UPDATE USER: 233
    UPDATE USER: 234
    UPDATE USER: 235
    UPDATE USER: 236
    .........................
    .........................
     
  2. till

    till Super Moderator

    Thats not a bug. Thats the way ISPConfig works as some actions need to update all users of a website.
     
  3. matiasCU

    matiasCU New Member

    Hi Till:
    Any change triggers an update to all users? For example: the change of the password?
    I ask because i have many users and that is time-consuming task, each time a user changes his password, the change is not instantaneous. The delay of actions is 5 to 10 minutes.

    Thanks Till.
     
  4. till

    till Super Moderator

    Yes. Typical sites have 5 - 10 users, so this does not matter. If your server has hunbdreds of users in one site, you should consider to migrate to use ISPConfig 3 when it becomes stable as iSPConfig 3 does not use Linux system users for email.
     
  5. matiasCU

    matiasCU New Member

    problem solved

    Note: Not sure if this can cause problems in the functioning of ISPConfig.

    My solution was to comment the following file lines /root/ispconfig/scripts/lib/config.lib.php

    //$mod->db->query("UPDATE isp_isp_user SET status = 'u' WHERE doc_id = ".$user["doc_id"]." AND status != 'd' AND status != 'n'");
    //if(!$web['web_cron']) $mod->db->query("UPDATE isp_isp_cron SET cron_active = 0, status = 'u' WHERE user_id = '".$user["doc_id"]."'");

    Thanks for your help
     

Share This Page