UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Unauthorized Access

NIKITAS CHATZIPAZARLIS · ·
12:18 AM Saturday, 17 September 2016
High
Hello! In order to develop an EasySocial app I wanted to first test out the EasySocial functions in the http://stackideas.com/docs/easysocial/developers/ directory. So i copied the Retrieving User's Name code and made a php file in my website's localhost to try it out. But when I executed the php file I got the Unauthorized Access error. I don't know how to solve this and if this has to do with joomla or easysocial. I would appreciate any help. Please note I haven't done this before so I would appreciate that you don't assume I already know anything. Here is the code I used:

<html>
<body>
<?php

require_once('C:\wamp\www\inhinito\components\com_easysocial\easysocial.php');
$my = ES::user();
echo $my->getName();
echo "hello world";
// Shorter way of writing it
echo ES::user()->getName();
// Getting another person's name
echo ES::user($id)->getName();

$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;

?>
</body>
</html>
The replies under this section are restricted to logged in users or users with an active subscription with us