Need Experienced Concrete5 Developer

Permalink
Some code that we wrote for a 5.6 website for some reason has stopped working and I need an experienced C5 developer to look into it to see what is going on. For some reason, the following code comes back that the user is not logged in even when they are logged in. If you write the $userid to the screen it comes back blank. Everything was working fine until the day before yesterday and we haven't been able to figure out why it stopped working so we could use an extra set of eyes on it.

$user  = new User();
 if($user->isLoggedIn()) {
   $userId     = $user->uID;
} else {
   echo "You are currently not logged into Concrete5.";
   exit;
}

pixo
View Replies:
BreakfastStudio replied on at Permalink Reply
BreakfastStudio
Hi there

I can help you with this. I'll send you a PM.

-
BFS Team
daenu replied on at Permalink Reply
daenu
Hi
I you still need any help, just PM me
Best regards
daenu replied on at Permalink Reply
daenu
Hi
I you still need any help, just PM me
Best regards
pixo replied on at Permalink Reply
pixo
Thanks. This problem is resolved.