10-04-2010 02:58 AM
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>
10-04-2010 04:54 AM
10-06-2010 01:41 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.