Login problem after upgrade into 2.0.6

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
veix
Registered User
Posts: 89
Joined: Mon Feb 24, 2003 5:36 am
Location: Estonia
Contact:

Post by veix » Tue Sep 09, 2003 3:05 pm

And UP !!!

STILL have this problem....or must i use again 2.0.4

-edit-
My REQUEST SUPPORT TEMPLATE was deleted and i dont know why...

User avatar
microsea
Registered User
Posts: 7
Joined: Mon Sep 08, 2003 9:51 pm

Post by microsea » Tue Sep 09, 2003 3:35 pm

ME too,same problem,waitting for the solution............... :evil:

User avatar
microsea
Registered User
Posts: 7
Joined: Mon Sep 08, 2003 9:51 pm

Post by microsea » Tue Sep 09, 2003 5:17 pm

nobody resolve it?

User avatar
Gremlinn
Registered User
Posts: 2133
Joined: Mon Aug 04, 2003 12:13 am
Location: Rochester, NY
Name: Nathan

Post by Gremlinn » Tue Sep 09, 2003 5:21 pm

I too have this problem.

I am getting two cookies! One as site.name and the other as www.site.name (I am not expecting www.site.name).

User avatar
microsea
Registered User
Posts: 7
Joined: Mon Sep 08, 2003 9:51 pm

Post by microsea » Tue Sep 09, 2003 5:41 pm

I found the solution~~~~~~~ :lol: :lol: :lol:
edit includes/functions.php
found
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
replace with
//$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));

now my login/logout function working well.

Fearless
Registered User
Posts: 664
Joined: Mon Mar 31, 2003 6:16 am

Post by Fearless » Tue Sep 09, 2003 8:25 pm

How did you know you had to edit that specific line out :? ?

veix
Registered User
Posts: 89
Joined: Mon Feb 24, 2003 5:36 am
Location: Estonia
Contact:

Post by veix » Tue Sep 09, 2003 9:13 pm

Now i edited and on login i have 404 page,but when i hit back im in then...what now?

User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Post by A_Jelly_Doughnut » Tue Sep 09, 2003 9:29 pm

www.phpbb.com/kb/article.php?article_id=83 -- classic symptoms of this problem
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish

veix
Registered User
Posts: 89
Joined: Mon Feb 24, 2003 5:36 am
Location: Estonia
Contact:

Post by veix » Tue Sep 09, 2003 9:38 pm

Thanks a lot ! :D
A_Jelly_Doughnut
microsea-YOU RULE !!!
Image

ozyr
Registered User
Posts: 27
Joined: Wed Sep 10, 2003 8:46 am
Location: Wisconsin
Contact:

Is this fix only valid for 2.06?

Post by ozyr » Wed Sep 10, 2003 9:09 am

microsea wrote: I found the solution~~~~~~~ :lol: :lol: :lol:
edit includes/functions.php
found
$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));
replace with
//$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));

now my login/logout function working well.


Is this valid code for 2.06 only. I am using 2.05, and am having the same loging problems. Applying the patch you have above breaks my forum. I had to revert to an unmodified functions.php.

Is there a fix for 2.05, or will I have to upgrade, and apply these patches?

DyoWeL
Registered User
Posts: 16
Joined: Wed Sep 10, 2003 11:23 pm

Post by DyoWeL » Thu Sep 11, 2003 4:23 am

still i get an error after replacing

$url = preg_replace('#^\/?(.*?)\/?$#', '/\1', trim($url));


any other options?

Locked

Return to “2.0.x Support Forum”