As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
$progress = $alfrescourl . "/alfresco/service/farthest-gate/fg-lga-progress-ticket?noderef=" . $row["noderef"]; $payloaddata = array("newstate" => "full", "nextstate" =>"$nextstate","nextstatedate" =>"$nextstagedate","message" => "Full rate uplift"); $payloaddataJSON = json_encode($payloaddata); if($noupdate == false) { $alfresco = new Alfresco($postUIDPWD, ALFRESCOURL."/share/page/dologin"); $data = $alfresco->get(); $headers = $alfresco->getHeaders(); if(!$alfresco->runpostwebscript($progress, $headers["JSESSIONID"], $getUIDPWD, $payloaddataJSON)) { die("Failed to progress ticket discount to full in Alfresco. Code: " . $alfresco->httpstatuscode . " Message: " . $alfresco->errorMessage . "\n"); } if($alfresco->httpstatuscode != 200) { die("Failed to progress ticket discount to full. Code: " . $alfresco->httpstatuscode . "\n"); } echo "d2f: Progressed " . $row["ticketserialnumber"] . " with noderef " . $row["noderef"] . "\n";
$alfresco = new Alfresco($postUIDPWD, $alfrescourl."/share/page/dologin"); $data = $alfresco->get(); $headers = $alfresco->getHeaders(); print $getMetaData = $alfrescourl . "/alfresco/service/api/metadata?shortQNames=true&nodeRef=" . $nodeRef; print '<br/>'; if(!$alfresco->rungetwebscript($getMetaData, $headers["JSESSIONID"], $getUIDPWD)) { die("Failed to get metadata from Alfresco. Code: " . $alfresco->httpstatuscode . " Message: " . $alfresco->errorMessage); } if($alfresco->httpstatuscode != 200) { die("Failed to get metadata from Alfresco. Code: " . $alfresco->httpstatuscode); } $metadata = json_decode($alfresco->websrciptreponse);
cURL support enabled cURL Information 7.19.7 Age 3 Features AsynchDNS No CharConv No Debug No GSS-Negotiate Yes IDN Yes IPv6 Yes krb4 No Largefile Yes libz Yes NTLM Yes SPNEGO No SSL Yes SSPI No Protocols tftp, ftp, telnet, dict, ldap, ldaps, http, file, https, ftps, scp, sftp Host x86_64-redhat-linux-gnu SSL Version NSS/3.16.2.3 Basic ECC ZLib Version 1.2.3 libSSH Version libssh2/1.4.2
$$alfrescourl = "http://MYALFRESCOURL.com:8080";
$alfrescourl = "http://MYALFRESCOURL.com:8080";