Jump to content

Recommended Posts

Posted

when we have server group in cpanel, and from cpanel edit service, when we want to change the server inf the service information tab, we get a blank page, after enabling the error reporting the error is:

 Undefined index: cpanel_domain on line 968 in /home/naja7ba7/public_html/components/modules/cpanel/cpanel.php

we have the in the line 968

        $vars['cpanel_domain'] = $this->formatDomain($vars['cpanel_domain']);

a simple fix

		// Strip "www." from beginning of domain if present			
        if (isset($vars['cpanel_domain'])) {			
			$vars['cpanel_domain'] = $this->formatDomain($vars['cpanel_domain']);
        }	

 

  • 1 month later...
  • Tyson locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...