phpSPO icon indicating copy to clipboard operation
phpSPO copied to clipboard

getting an error conection DOMDocument::loadXML(): Empty string supplied as input

Open gabrielMoran23 opened this issue 5 years ago • 2 comments

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";
            }

gabrielMoran23 avatar Mar 05 '20 07:03 gabrielMoran23

This could be an issue with how the xml is formatted, which version of this library are you using?

ayimdomnic avatar Mar 06 '20 08:03 ayimdomnic

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, Sin título can you helpme, what im doing worng my site calls cv_files, my library candidates_cv

gabrielMoran23 avatar Mar 06 '20 09:03 gabrielMoran23