Control Web Panel

WebPanel => SSL => Topic started by: emar on February 27, 2018, 08:11:23 PM

Title: SSL vHost Manager - Notice: Undefined variable after creating AutoSSL Cert
Post by: emar on February 27, 2018, 08:11:23 PM
Hi,

I just installed CWP on Centos 7 and I really like what I see,

When I got to VHosts Manager and select AutoSSL then Install SSL
It says: AutoSSL installation for domain clients.domain.com success!

But I see two warning above that:

Notice: Undefined variable: .(962([*66 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0

Notice: Undefined variable: .(962([*66 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0

The subdomain seems to be secure behind SSL when I use https, so I guess that's working.

Any odeas appreciated, new to thing.
Title: Re: SSL vHost Manager - Notice: Undefined variable after creating AutoSSL Cert
Post by: n8v8r on February 27, 2018, 09:13:49 PM
Seen this too. Seems some sort of bug yet could not trace a inclement impact of the error(s) on display
Title: Re: SSL vHost Manager - Notice: Undefined variable after creating AutoSSL Cert
Post by: abilicom on April 25, 2018, 01:51:06 AM
Php is very fussy about "garbage" characters that you cannot generally see.
There are such characters in the default installation files, located here in the first line of the script which I will show here with tildes "`",:
<?php~~//00423
The solution is to open this file in Notepad++ or other text editor, highlight what appears to be white space, between the second 'p' in php and the first slash '/' and replace it with a real space.  Or you can just delete everything in between the 'p' and '/':
p/ and then add a real space.
Regards,
Brian Brown, Ph.D.