Login / Logout problem

Register an Account
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 04-10-2007, 05:16 PM
New Pligger
 
Join Date: Apr 2007
Posts: 4
Hi, I installed Pligg at http://www.kropka.deszczowce.pl
and I've got problem with login and logout. As I try to login the site won't direct me to my profile page and won't state that I'm logged, but after refreshing page everythng seems ok. The same issue with logout.

I tried changing URLMethod to 2 but it doesn't seem to work . Now it is set to 2. I also renamed .htaccess file.

Any help will be appreciated.

Pligg version is latest 9.1.

Last edited by aliveshecried; 04-10-2007 at 05:20 PM. Reason: Added Pligg version
Reply With Quote
  #2 (permalink)  
Old 04-10-2007, 05:23 PM
Pligg Developer/Admin
Pligg Version: 0
Pligg Template: none
 
Join Date: Jun 2006
Location: Muncie, Indiana
Posts: 3,215
Your site works fine for me. I created an account and it redirected me to my profile just fine. I can surf the site and it keeps me logged in.
Reply With Quote
  #3 (permalink)  
Old 04-10-2007, 05:33 PM
New Pligger
 
Join Date: Apr 2007
Posts: 4
For me it doesn't work neither in FF, IE nor Opera .

After I log in I'm not redirected although the URL in browser changes for the right one and after refreshing everything seems ok.

When I try to logout I'm redirected to http://www.kropka.deszczowce.pl/logi...n.php?return=/ but only the center of the page changes to login form and top menu and the left menu doesn't change and it seems as if I were still logged.

Again after refreshing everything is fine. I added "no-cache" meta and it also didn't help .

I attach screenshot for you to see the problem :
Reply With Quote
  #4 (permalink)  
Old 04-10-2007, 06:20 PM
New Pligger
 
Join Date: Apr 2007
Posts: 4
I fixed it by changing

header('Location: '.$return);
to
header('Location: http://www.kropka.deszczowce.pl'.$return);
in login.php and /libs/login.php

but it isn't quite nice.

Is there an already set variable for my site address I could use instead of hard-coding it ?
Reply With Quote
  #5 (permalink)  
Old 04-11-2007, 09:48 AM
AshDigg's Avatar
Mayor of PliggVille/Coder
 
Join Date: Dec 2005
Posts: 1,515
What do you have my_base_url and my_pligg_base set to in your admin panel? It looks like it should be

my_base_url = http://www.kropka.deszczowce.pl
my_pligg_base (should be left blank)
Reply With Quote
  #6 (permalink)  
Old 04-11-2007, 06:45 PM
New Pligger
 
Join Date: Apr 2007
Posts: 4
I have them set properly. I used these variables to modify theses lines as I posted and now eveything works fine for me.

Maybe there's just something wrong with my browsers, I don't know . . . But after changing those lines it started to work.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logout Problem ozo Questions and Comments 6 03-29-2010 06:47 PM
i have a problem when i login via bookmarklet sakizama Questions and Comments 0 07-08-2009 07:56 AM
login / logout problems gudipudi Questions and Comments 3 08-27-2007 04:28 PM
Login URL redirection problem on IIS sameercdac Questions and Comments 2 04-02-2007 02:13 PM
Login form problem daone Questions and Comments 0 12-03-2006 10:42 AM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development