ClanKiller.com
https://forums.plasmasky.com/

[solved]Can't login after update on phpBB
https://forums.plasmasky.com/viewtopic.php?f=24&t=1110
Page 1 of 1

Author:  Mole [ Wed Jan 19, 2005 7:36 pm ]
Post subject:  [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

Author:  ElevenBravo [ Thu Jan 20, 2005 8:37 am ]
Post subject: 

DELETE COOKIES AND CACHE!

Author:  Satis [ Thu Jan 20, 2005 8:39 am ]
Post subject: 

what did you change from phpbb to phpbb2?

Author:  Mole [ Thu Jan 20, 2005 9:18 am ]
Post subject: 

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?

Author:  ElevenBravo [ Thu Jan 20, 2005 10:53 am ]
Post subject: 

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.

Author:  Mole [ Thu Jan 20, 2005 1:50 pm ]
Post subject: 

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!

Author:  ElevenBravo [ Thu Jan 20, 2005 4:23 pm ]
Post subject: 

ass bungler

Author:  Mole [ Sun Jan 23, 2005 8:27 am ]
Post subject: 

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)));


Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/