You are not logged in.
Pages: 1
bonjour
j'ai eu cette erreur en utilisant sccm
*** PHP Notice(8): Undefined variable: statusCode
Backtrace :
plugins\sccm\inc\sccm.class.php:630
plugins\sccm\inc\sccm.class.php:500 PluginSccmSccm::executePush()
inc\crontask.class.php:832 PluginSccmSccm::cronSCCMPush()
front\crontask.form.php:49 CronTask::launch()
a cause de
$httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
if ($statusCode != 200) {*/
correction apportée :
/* if ($statusCode != 200) {*/
if ($httpcode != 200) {
$header_size = curl_getinfo($ch, CURLINFO_HEADER_SIZE);
$body = substr($ch_result, $header_size);
Toolbox::logInFile('sccm', "Push KO - ".$tab['MachineID']." -> STATUS CODE : ".$httpcode." \n", true);
cdlt
Herve
Offline
Pages: 1