miniBB ® 


Support Forums
 | Start | Register | Search | Statistics | File Bank | Manual |
Specific miniBB Support Forums / Specific /  

After upgrading - can't login

Page  Page 2 of 2:  « Previous  1  2

Author Paul
Lead Developer 
#16 | Posted: 29 Jun 2017 18:27 
I have found the code which should fix this problem for earlier PHP versions.

In index.php, somewhere at the very beginning part of the script, there is going to be added the following code:

if(isset($sgcp['httponly'])) $httponlycookie=TRUE; else $httponlycookie=FALSE;
So, $httponlycookie could be used in any further code of miniBB core or add-ons where setcookie function is executed with HTTPOnly flag. For example, in the below code of index.php there could be added:

setcookie($cookiename.'allForumsPwd', '', (time() - 2592000), $cookiepath, $cookiedomain, $cookiesecure, TRUE);
setcookie($cookiename.'allForumsPwd', $allForums, 0, $cookiepath, $cookiedomain, $cookiesecure, TRUE);
setcookie($cookiename.'allForumsPwd', '', (time() - 2592000), $cookiepath, $cookiedomain, $cookiesecure);
setcookie($cookiename.'allForumsPwd', $allForums, 0, $cookiepath, $cookiedomain, $cookiesecure);
The similar code should appear in bb_cookie.php and addon_whosonline.php.

This all will be fixed in the upcoming version of miniBB 3.3.

Author Rider
#17 | Posted: 30 Jun 2017 20:23 
You're welcome and thanks.
In the meantime I upgraded our server to a higher php version. Now I can login again and have bb_cookie.php default.

Page  Page 2 of 2:  « Previous  1  2 
Specific miniBB Support Forums / Specific /
 After upgrading - can't login
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.

Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.


miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Proceed with the Captcha add-on: protect your miniBB-forums from the automated spam and flood.