Hey,
I'm trying to get the current Joomla username. I was able to get it by using
$user =& JFactory::getUser();
echo $user->username;
But now I've installed Joomla on my local server and it doesn't work anymore. The usernames are correctly stored in the database, but the code just doesn't work anymore. Any ideas?
Thanks