hi i just updated to the latest ispconfig, now when you click 'add site' it takes about 1 minute to load I was getting 500 timeouts on web_vhost_domain_edit.php [Fri Jan 19 12:49:34.289556 2018] [fcgid:warn] [pid 32701] [client 195.171.221.154:25960] mod_fcgid: stderr: PHP Fatal error: Maximum execution time of 30 seconds exceeded in /usr/local/ispconfig/interface/web/sites/web_vhost_domain_edit.php on line 745 so I increased max_execution_time and now it does load after about 60 seconds. any ideas to fix this? thanks
thanks, this is a multi server setup with: ispconfig master server multiple web servers so the ispconfig server is only doing ispconfig nothing else, load never goes above 0.1 all other functions are fast as normal its jst this one form page that is slow so I guessed it would be something to do with the upgrade. the error says line 745 which is this: $ssl_domains = array_merge($ssl_domains, array($tmp["domain"],'www.'.$tmp["domain"],'*.'.$tmp["domain"])); so im not sure what thats doing exactly, I checked the source code to see if this was recently added https://git.ispconfig.org/ispconfig...ce55#0369c94cbf9e3b20dce0d1a98900efc842672963 but no its always been there.
mmm so if i comment out this line //$ssl_domains = array_merge($ssl_domains, array($tmp["domain"],'www.'.$tmp["domain"],'*.'.$tmp["domain"])); the add site form loads immediately as expected. probably shouldnt just leave that off in case theres unintended consequences so hope you can advise if thats necessary or not?
Really strange, I don't see any problems on my servers here and this function simply merges two arrays, so nothing special and especially nothing that would take longer than a millisecond or even less.
Could you please insert a line in front of the "foreach($tmpd ..." that dumps the contents of $tmpd and $ssl_domains array? Code: var_dump($tmpd, $ssl_domains);