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 offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
It is currently a public holiday for us from where we are at.

There may be a delay in our responses but rest assured that we will be back at full speed when we are back to the office.
  Support is offline

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