When client tries to add website gets error '1. No server selected.' we have just one server, so she isn't prompted to select one
When client tries to add website she gets error '1. No server selected.' We have just one server, so she isn't prompted to select a server.
Seems the system should either always ask for a server; or fill in the one server when there is only one; or not allow a website to be created if there is no server defined for web services.
We are running ISPConfig 3.1.7p1 We upgraded from ISPConfig 3.1.6, as it had the same bug This site was updated from ISPConfig 3.0, and likely a less than perfect update is part of the problem. ISPConfig 3.1 added new things like client limits, but did not set them up, so I add to (a) discover that these had been invented; and (b) enable them, before I could add email addresses as an example.
environment
[root@web ~]# uname -a Linux web.xxx.yyy 2.6.32-431.29.2.el6.i686 #1 (closed) SMP Tue Sep 9 20:14:52 UTC 2014 i686 i686 i386 GNU/Linux [root@web ~]# cat /etc/redhat-release CentOS release 6.5 (Final) [root@web ~]# grep ISPC_APP /usr/local/ispconfig/server/lib/config.inc.php define('ISPC_APP_TITLE', 'ISPConfig'); define('ISPC_APP_VERSION', '3.1.7p1'); $conf['app_title'] = ISPC_APP_TITLE; $conf['app_version'] = ISPC_APP_VERSION;
[root@web ~]# php -v PHP 5.3.17 (cli) (built: Sep 13 2012 07:02:06) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Here is a screen shot:
Poking around I see that in the System module of the Admin panel is where the Server config lives; and this did not have Web enabled!!! (even though from ISPConfig 3.0 there are a half dozen websites running just fine on this site).
As admin I enabled Web for our one server, and then login as the client, and see the Sites module, and try again to active the website I created as the admin for them and still get the error '1. No server selected'
Then I go back to being admin, and delete the website, and then add it when we actually have a Website module active on the server, and now this web site can be used by the client.
So bugs seems to be:
-
When updating ISPConfig, need to guide user through to enabling services (such as limits and websites) that were just automatic before, and now require an active choice
-
Admin should not be allowed to create a website when website service is not enabled on any server
Mac