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.
Fatal error: Cannot redeclare class AlfBaseObject in C:\xampp\htdocs\Alfresco\Alfresco\Service\BaseObject.php on line 27
<?php include ("Repository.php"); include ("Session.php"); $repositoryUrl = "http://localhost:8080/alfresco/api"; $userName = "admin"; $password = "admin"; $repository = new Repository($repositoryUrl); $ticket = $repository->authenticate($userName, $password); $session = $repository->createSession($ticket); ?> <html> <head> <title>Basic Tutorial One - Authentication</title> </head> <body> <big>Basic Tutorial One - Authentication</big> <p> Connected to repository <?php echo $repositoryUrl ?> as user <?php echo $userName ?> with ticket <?php echo $ticket ?> </p> </body> </html>