It is currently Fri Mar 29, 2024 6:21 am



Reply to topic  [ 8 posts ] 
[solved]Can't login after update on phpBB 
Author Message
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 5:09 pm
Posts: 4003
Location: Walsall, West Mids, UK
Reply with quote
Post [solved]Can't login after update on phpBB
Hey,

I posted this on the official forum, but it's way to busy and after just a few hours my topic is 4 pages back. So I'll ask you guys.

Copied Over from phpBB forum:

Couldn't find anything in the search for this, but I just re-installed my forum, that'd be the 2.0.0.11 or whatever it is, and now I can not log in.

I had to change the phpbb_ to phpbb2_ because something already exists, and when I attempt to log in, a load of stuff appears at the top, then it with the notice incorrect password, (but i'm entering the right password)

http://img.photobucket.com/albums/v463/Smeep/broken.bmp

picture ^^

Any help would be awesome

_________________
Games to complete:
GTA IV [100%] (For Multiplayer next!)
Fallout 3 [50%]
Rock Band [35%]
http://www.cafepress.com/SmeepProducts


Last edited by Mole on Sun Jan 23, 2005 8:25 am, edited 1 time in total.



Wed Jan 19, 2005 7:36 pm
Profile WWW
King
User avatar

Joined: Wed Apr 16, 2003 2:18 pm
Posts: 1976
Location: Sexy Town
Reply with quote
Post 
DELETE COOKIES AND CACHE!

_________________
Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
Image


Thu Jan 20, 2005 8:37 am
Profile ICQ YIM
Felix Rex
User avatar

Joined: Fri Mar 28, 2003 6:01 pm
Posts: 16646
Location: On a slope
Reply with quote
Post 
what did you change from phpbb to phpbb2?

_________________
They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety.


Thu Jan 20, 2005 8:39 am
Profile WWW
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 5:09 pm
Posts: 4003
Location: Walsall, West Mids, UK
Reply with quote
Post 
the table suffix/prefix i'm not sure which. It was a tip from the official website stuff, because my current database wouldn't allow me to recreat the records, insisting on that they already existed and so wouldn't install.

11b - Delete my cookies that I have locally? Or different ones?

_________________
Games to complete:
GTA IV [100%] (For Multiplayer next!)
Fallout 3 [50%]
Rock Band [35%]
http://www.cafepress.com/SmeepProducts


Thu Jan 20, 2005 9:18 am
Profile WWW
King
User avatar

Joined: Wed Apr 16, 2003 2:18 pm
Posts: 1976
Location: Sexy Town
Reply with quote
Post 
your local cookies and cache. Just try it before you dive into messing with your database and/or coding.

Always remeber, if youre having wierd log on /off problems on any website, first leave the website, then delete your local cookies and internet cache.

_________________
Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
Image


Thu Jan 20, 2005 10:53 am
Profile ICQ YIM
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 5:09 pm
Posts: 4003
Location: Walsall, West Mids, UK
Reply with quote
Post 
I'll give it a shot, but i'm getting multiple computers with the same problem. Of course, all these people have been to my site before. check it out:

www.paint-zone.co.uk/forum

did what you suggested, still doesn't work.

People can register, but they can not log in.

EDIT: Sorry, I'm an ass bungler. the fix was right infront of me, I just read it wrong. Thanks anyway!

_________________
Games to complete:
GTA IV [100%] (For Multiplayer next!)
Fallout 3 [50%]
Rock Band [35%]
http://www.cafepress.com/SmeepProducts


Thu Jan 20, 2005 1:50 pm
Profile WWW
King
User avatar

Joined: Wed Apr 16, 2003 2:18 pm
Posts: 1976
Location: Sexy Town
Reply with quote
Post 
ass bungler

_________________
Contrary to popular belief, America is not a democracy, it is a Chucktatorship.
Image


Thu Jan 20, 2005 4:23 pm
Profile ICQ YIM
Minor Diety
User avatar

Joined: Fri Apr 11, 2003 5:09 pm
Posts: 4003
Location: Walsall, West Mids, UK
Reply with quote
Post 
Solution:

If you have just upgraded your phpBB forum to 2.0.11 (very good! ) and you find out that users can not log in anymore and if you are using a PHP version lower than 4.1.0 and if you get the following warning:
Quote:

Warning: Wrong parameter count for rtrim() in [...]functions.php on line [...]


then this is probably related to a small line of code in phpBB. A function is called that, in versions lower than PHP 4.1.0, works slightly differently. Do not be afraid, there is a simple solution to this problem!

In includes/functions.php find:
Code:
Code:
   $username = htmlspecialchars(rtrim(trim($username), "\\"));
 


Replace with:
Code:

   $username = htmlspecialchars(rtrim(trim($username)));


_________________
Games to complete:
GTA IV [100%] (For Multiplayer next!)
Fallout 3 [50%]
Rock Band [35%]
http://www.cafepress.com/SmeepProducts


Sun Jan 23, 2005 8:27 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.