Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#346 2007-01-27 16:10:59

guiguibonbon
Member
Registered: 2006-02-20
Posts: 296

Re: ign_password_protect

plugin v0.5, txp 4.0.3 (should update, i know), mysql 5

Offline

#347 2007-01-30 21:57:03

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: ign_password_protect

Just upgraded to the newest beta 3, with txp 4.0.4.

I’m having the same problem I was having a few releases ago. The logout link doesn’t work and keeps me logged in. I’m using the tag <txp:ign_logout_link /> and when I click the link it generates, it does log me out and displays the login form. However, when I click on a password protected page again, it displays the content of the protected page instead of having a login form.

Offline

#348 2007-01-30 22:10:57

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 976
Website

Re: ign_password_protect

LeeUmm

Most of the time I run with cookies turned off for my browser. I turn them on just long enough to log in, and then usually off again.

I have had the same experience you described above if I have logged in, turned cookies off, and then try to log out while the cookies are off.

fwiw

Mike

Offline

#349 2007-01-30 23:41:25

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: ign_password_protect

Lee – set txp to testing rather than live, and tell me if the problem goes away. If it does, then download 0.5b4 – note that this version will effectively override any of TXP’s built-in caching. I will be working on doing more selective cache overriding, but for now it’s an all or nothing proposition.


And then my dog ate my badger, and the love was lost.

Offline

#350 2007-01-31 02:10:02

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: ign_password_protect

Changing the status to testing rather than live didn’t solve the issue. The same thing happened.

Offline

#351 2007-01-31 03:38:49

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: ign_password_protect

is the cookie destroyed on logout? and more importantly, what version of ign_password_protect are you using?


And then my dog ate my badger, and the love was lost.

Offline

#352 2007-01-31 03:44:24

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: ign_password_protect

Am using beta 3 of the latest version. I never upgraded to beta 4 as you had mentioned it over rides all txp cache settings. Would you like me to test this one?

As far as I can tell, the cookies are not being destroyed. ign_login and ign_stay are both set to expire one year from now after logout.

Offline

#353 2007-01-31 03:52:54

LeeUmm
Member
From: Hamilton, Ontario
Registered: 2005-04-22
Posts: 91
Website

Re: ign_password_protect

Okay I’ve deleted the cookies and now I can’t stay logged in to the page where I originally logged in. I can view other password protected pages, but when I browse back to the original place where I logged in, it displays the login form. This only happens in Firefox. Internet Explorer is working fine.

I’ll keep debugging.

Offline

#354 2007-01-31 18:46:39

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: ign_password_protect

liam – if the installation’s reachable from the outside world, send login info to igner at igneramos dot com, and I’ll take a look-see.


And then my dog ate my badger, and the love was lost.

Offline

#355 2007-02-01 03:06:41

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: ign_password_protect

just for folks playing along at home – it appears that Liam’s issue was in fact one of local caching, and 4.0.4’s smarter behaviour in terms of sending 304’s when content hasn’t changed.

Try version 0.5b4 if you’re seeing weird behavior like this.


And then my dog ate my badger, and the love was lost.

Offline

#356 2007-02-01 14:13:49

Beertigger
Member
Registered: 2007-01-30
Posts: 18

Re: ign_password_protect

Textpattern says “Badly formed or empty plugin code.” when I try to install the latest…

Offline

#357 2007-02-01 14:38:31

igner
Plugin Author
Registered: 2004-06-03
Posts: 337

Re: ign_password_protect

hmm, I just tested the download and it worked fine (though I noticed I forgot to change the version number, that’s fixed). try re-downloading and installing.


And then my dog ate my badger, and the love was lost.

Offline

#358 2007-02-01 22:21:11

Beertigger
Member
Registered: 2007-01-30
Posts: 18

Re: ign_password_protect

Just tried again, and got the same error. Used a different box, different location. Tried using both FF and Safari, opening txt w/ BBEdit and Textedit… all the same. VV weird.

Hope I can figure this one out….

Offline

#359 2007-02-02 04:49:43

Beertigger
Member
Registered: 2007-01-30
Posts: 18

Re: ign_password_protect

Tried again with a fresh install of 4.0.4, got the same “Badly formed or empty” error message. I’d really like to get this one running.

Anyone got any ideas?

Thanks!

Offline

#360 2007-02-03 20:22:50

gerhard01
Plugin Author
Registered: 2006-12-07
Posts: 108

Re: ign_password_protect

Beertigger wrote:

Textpattern says “Badly formed or empty plugin code.” when I try to install the latest…

igner,

Would love to test-drive 0.5, too, but same error here for 0.5b2 and 0.5b4; 0.4.2d installs flawlessly.

Maybe as a workround, I could edit and overwrite the 0.4.2d code with that of 0.5b?

Thanks a lot,

Gerhard

Offline

Board footer

Powered by FluxBB