ISPConfig 3.0.3 Beta 1 ready for testing

Discussion in 'Developers' Forum' started by till, Jul 28, 2010.

  1. radim_h

    radim_h Member

    more details

    i restored ispconfigdb and /usr/local/ispconfig directory
    and dashboard is gone for admin and also users, but just for previously created users

    every newly created user has enabled dashboard, thats the main problem

    EDIT:
    problem was in /usr/local/ispconfig/interface/lib/config.inc/php
    //** Interface
    $conf['interface_modules_enabled'] = 'dashboard,mail,sites,dns,tools';

    sorry for bothering...
     
    Last edited: Aug 17, 2010
  2. radim_h

    radim_h Member

    default module for clients

    How should i choose default module for new client to be different then email ?
     
  3. HyperAtom

    HyperAtom New Member

    There is no default value for dashboard on creating clients, you'll just have to go System => CP Users => Edit User => Client => Start Module = Dashboard after you create the client.
     
  4. radim_h

    radim_h Member

    Where this html from first screenshot has to appear?
    i don't see it anywhere as admin nor as user..
     
  5. HyperAtom

    HyperAtom New Member

    No you don't create domains through the website tab. Go System => CP Users => Edit User => Check the domain box in each user. Log out and back in to control panel. Clients can see this screen before the admin has created a domain for them.

    [​IMG]

    After admin has assigned the domain to the client by using the domain tab himself, client can then use domain and set it up as a website in the sites tab.
     
  6. radim_h

    radim_h Member

    ad Domain module

    it will be nice to have two possible messages about domains

    1. Current - When there is no domain assigned, messages about contacting the support

    2. When user try add another domain. Message about he has no right for it.
    - or leave button Add domain just for admins...
     
  7. vogelor

    vogelor ISPConfig Developer ISPConfig Developer

    Hmm - i don't understand, what you mean. i programmed the domain-module, that a admin can add a domain for a client and that a client can only see the message. A client can not add another domain ( or i made a error while programming this feature ;-)
     
  8. radim_h

    radim_h Member

    nevermind, i'm posting here faster then testing system... sorry
    one message - "you have no right to add the domain, contact support" is OK

    i like your module for sure, that was a problem that user can switch any domains in multidomain hosting environment

    only improvement comming on my mind is that user actually doesnt need button "add domain" because he has not right for it, list of domains is enough...
     
    Last edited: Aug 19, 2010
  9. 007007

    007007 New Member

    backup not worked for me, the folder is always empty

    it's normal ?
     
  10. till

    till Super Moderator Staff Member ISPConfig Developer

    Install the sudo package of the linux distribution.
     
  11. Andreas0815

    Andreas0815 New Member

    When I start the update/installer I recieve an PHP Notice:

    Code:
    root@server:/tmp/ispconfig3_install/install# php -q update.php
    
    
    --------------------------------------------------------------------------------
     _____ ___________   _____              __ _         ____
    |_   _/  ___| ___ \ /  __ \            / _(_)       /__  \
      | | \ `--.| |_/ / | /  \/ ___  _ __ | |_ _  __ _    _/ /
      | |  `--. \  __/  | |    / _ \| '_ \|  _| |/ _` |  |_ |
     _| |_/\__/ / |     | \__/\ (_) | | | | | | | (_| | ___\ \
     \___/\____/\_|      \____/\___/|_| |_|_| |_|\__, | \____/
                                                  __/ |
                                                 |___/
    --------------------------------------------------------------------------------
    
    
    >> Update
    
    Operating System: Debian 6.0 (Squeeze/Sid) or compatible
    
    hostname: Name or service not known
    PHP Notice:  Undefined offset: 0 in /tmp/ispconfig3_install/install/update.php on line 88
    This application will update ISPConfig 3 on your server.
    Starting full database update.
    Reconfigure Permissions in master database? (yes,no) [no]:
    But the Update seems to work fine.

    EDIT:
    There are a lot of PHP Notices in /var/log/apache2/error.log:
    Code:
    [Sun Sep 12 13:33:39 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: login in /usr/local/ispconfig/interface/lib/classes/plugin.inc.php on line 140, referer: http://<server>:8080/
    [Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
    [Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
    [Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
    [Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
    [Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
    [Sun Sep 12 13:33:44 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
    [Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
    [Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
    [Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
    [Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
    [Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
    [Sun Sep 12 13:33:46 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
    [Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
    [Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
    [Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
    [Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
    [Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
    [Sun Sep 12 13:39:19 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
    [Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: unbekannt in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 149, referer: http://<server>:8080/
    [Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Information in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 150, referer: http://<server>:8080/
    [Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Warnung in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 151, referer: http://<server>:8080/
    [Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: kritisch in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 152, referer: http://<server>:8080/
    [Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined index: Fehler in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 153, referer: http://<server>:8080/
    [Sun Sep 12 13:41:26 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: description in /usr/local/ispconfig/interface/web/monitor/show_sys_state.php on line 73, referer: http://<server>:8080/
    [Sun Sep 12 13:47:29 2010] [error] [client 12.345.678.90] PHP Notice:  Undefined variable: wb in /usr/local/ispconfig/interface/lib/app.inc.php on line 189, referer: http://<server>:8080/
    
    And Squirrelmail is not working:
    Code:
    [Sun Sep 12 14:42:33 2010] [error] [client 12.345.678.90] SoftException in Application.cpp:221: File "/usr/share/squirrelmail//index.php" is not in document root of Vhost "/var/www"
     
    Last edited: Sep 12, 2010
  12. falko

    falko Super Moderator ISPConfig Developer

    Please use
    Code:
    error_reporting  =  E_ALL & ~E_NOTICE
    in your php.ini and restart Apache.
     
  13. Andreas0815

    Andreas0815 New Member

    Hi Falko,

    of course I can change the error_reporting. But I think the notices should be fixed, even when this is not high priority.
     
  14. Hans

    Hans Moderator ISPConfig Developer

    I upgraded ISPConfig 3.0.2.2 to 3.0.3 beta on a Debian Lenny testserver.
    The upgrade went fine! I hope i do have some time the next couple of days to do some testing, but i have a good first impression! :)
     
    Last edited: Sep 16, 2010
  15. till

    till Super Moderator Staff Member ISPConfig Developer


    The PHP specification is in constant change, so something is fine with the current version produces a notice with the next release PHP release and the fix for it might cause the software to fail then under older PHP versions. So the only supported and tested error reporting level from ISPConfig is:

    error_reporting = E_ALL & ~E_NOTICE
     
  16. till

    till Super Moderator Staff Member ISPConfig Developer

    There is one critical problem in the current beta which might cause the apache to fail on restart, but that is easy to fix. Edit the vhost.conf.master template file in /usr/local/ispconfig/server/conf/ and comment out the two lines that start with:

    PHPIniDir ......

    as it will cause apache problems if you have more then 2 vhosts that use mod_php and contain this directive.
     
  17. rusty

    rusty New Member

    I've been told not to edit users from "system > cp users" so I'm looking for clarification on the above. I have had problems editing users with user level permissions. What are the parameters of what can be done in that area?
     
  18. till

    till Super Moderator Staff Member ISPConfig Developer

    You can not change any user level permissions there. Changing permissions there will break the system. The only thing that can be changed there safely are the Modules and the password.
     

Share This Page