Advertisement
Guest User

Laravel Error

a guest
Sep 10th, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1.  
  2.         // create new DOMDocument object
  3.         $dom = new DOMDocument();
  4.         // Fix possible whitspace problems
  5.         $dom->preserveWhiteSpace = false;
  6.         // CAS servers should only return data in utf-8
  7.         $dom->encoding = "utf-8";
  8.         // read the response of the CAS server into a DOMDocument object
  9.         if ( !($dom->loadXML($text_response))) {  <--  !!!!!!!!!!! THIS LINE IS HIGHLIGHTED !!!!!!!!!!!!!!
  10.             // read failed
  11.             throw new CAS_AuthenticationException(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement