Re: Getting an Error when creating a User

Home Page Forums Network Management ZeroShell Easy to use Grandma-Proof user management control panel Re: Getting an Error when creating a User

#52342

Getting an Error when creating a User

Warning: fopen(): Unable to find the wrapper “https” – did you forget to enable it when you configured PHP? in C:Program Files (x86)EasyPHP-5.4.0RC4wwwaggiungi.php on line 92

Warning: fopen(https://192.168.8.1/cgi-bin/kerbynet?B1=Submit&Section=User&Action=SaveAdd&STk=11ffa98a839742a8323d8db0b2260ac289976576&user_sel=&type=user&x509cn=&shadowExpire=06%2F08%2F2012&UpdateExpire=yes&uid=osarup&uidNumber=&primaryGroup=&gidNumber=&homeDirectory=%2Fhome%2Fosarup&shell=sh&loginShell=%2Fbin%2Fsh&givenName=Test&sn=Data&o=&gecos=+Exp.+08%2F06%2F2012&mail=&telephoneNumber=&Expiration_date_mm=06&Expiration_date_dd=08&Expiration_date_yyyy=2012&ClassName=DEFAULT&PW=qadenino&CoPW=qadenino&K5=yes&vlan=&WIFI=yes): failed to open stream: Invalid argument in C:Program Files (x86)EasyPHP-5.4.0RC4wwwaggiungi.php on line 92

Warning: feof() expects parameter 1 to be resource, boolean given in C:Program Files (x86)EasyPHP-5.4.0RC4wwwaggiungi.php on line 94

Warning: fread() expects parameter 1 to be resource, boolean given in C:Program Files (x86)EasyPHP-5.4.0RC4wwwaggiungi.php on line 95

In the aggiungi.php file, lines 90 through 100 are:

$url.=”&K5=yes&vlan=&WIFI=yes”;

$fp = fopen($url, ‘r’);
$line=””;
while (!feof ($fp)) {
$line.= fread ($fp, 1028);
}

$posErr=strrpos($line,”ERROR:”,0);
$Err=substr($line,$posErr,20);

PLEASE HELP

***************************
**** IGNORE HELP REQUEST ****
***************************

The issue was that I had LDAP running and it is not pointing to an Active Directory server.
Becareful with running LDAP when it is not pointing to an AD Server, I caused my ZeroShell to Crash and forces a recreation of the Profile.