phpSPO
phpSPO copied to clipboard
getting an error conection DOMDocument::loadXML(): Empty string supplied as input
ive red many examples and triying with correct url, user and password but im getiting this error im new working with sharepoint please helpme with this.
this are my method. $url="https://profecionalglm.sharepoint.com"; $user="[email protected]"; $password="Zr4x001";
try {
$authCtx = new AuthenticationContext($url);
$authCtx->acquireTokenForUser($user,$password);
$ctx = new ClientContext($Url,$authCtx);
}
catch (Exception $e) {
echo 'Authentication failed: ', $e->getMessage(), "\n";
}
This could be an issue with how the xml is formatted, which version of this library are you using?
hello, it was necesary to create an account on microsoft developer program, but now its working find im not receibing warnings, but my file not appear on sharepoint site,
can you helpme, what im doing worng
my site calls cv_files, my library candidates_cv