Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
I recently upgraded our forum to version 8. The upgrade seemed to go smoothly, but after the upgrade, I am unable to login. I type the username/password, the screen goes to the forum list, but I'm still logged out.

I've double checked permissions, and cleared cookies. Any ideas?

I can browse the forum fine, just can't access anything that requires login.

Last edited by phoenix011235; 10/24/2024 8:00 AM. Reason: added information
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Is your forum behind a Content Delivery Network such as CloudFlare? If so, have you cleared all of the expired assets from after you've upgraded? What does a hard refresh (Ctrl F5) show after attempting to login? What browser are you using? If Safari they no longer follow web standards, so it is not recommended to depend on it.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
Quote
Is your forum behind a Content Delivery Network such as CloudFlare?

No. It's running on a linux box. It was running on a virtual private server, and I wanted to try it in a different environment before asking for help.

Quote
What does a hard refresh (Ctrl F5) show after attempting to login?

Hard refresh has no effect. I've also tried it in private browser windows. I've tried in Firefox and Chrome.

I was logged in as sysop after the upgrade finished The next morning, I couldn't log in.

Interestingly, some of my students who had been logged in before the upgrade, remained logged in after this started happening. No one else could log in.

fwiw, I also tried changing to the default stylesheet, since I was using a custom one. Still couldn't log in.

Last edited by phoenix011235; 10/24/2024 7:27 PM. Reason: thought of something to add
Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
if I had to guess here, I was thinking that it might be a cookie issue but you mentioned that you attempt a login in private mode and different browsers...

Do you have a copy of the UBB.threads Test Script installed? It should display any potential issues with your hosting environment if it detects any... Are the paths and URLs all set correctly in your includes/config.inc.php file? What do you have set as your cookie prefix?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
Quote
Do you have a copy of the UBB.threads Test Script installed? It should display any potential issues with your hosting environment if it detects any...

Just installed it. Here's a screenshot:

[Linked Image]

Quote
Are the paths and URLs all set correctly in your includes/config.inc.php file? What do you have set as your cookie prefix?

Just double checked the paths and URLs. They all look good.
The cookie prefix is: phx

Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
I just updated the Test Script to eliminate a PHP8 strict error when hosts don't allow exec, which should make the test script load fully.

Do you have Let's Encrypt or another free certificate authority on your hosting server? In testing we've found some rare instances where cookies wouldn't be created properly when SSL isn't in use in PHP8.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
1 member likes this: phoenix011235
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
It turned out to be https. Once I enabled the security certificate, I had to edit my config so it didn't refer to http addresses. (Caused infinite redirect problems after enabling https).

Now I'm able to login, but not able to load pages in admin. They're all outputting blank pages now. Checking permissions now.

At least authentication is working, so that's a relief!

Thanks for all of your help!

Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Do a hard refresh on the landing for the control panel and see if it loads, there's a cookie issue fixed in v8.0.1 relaxing to strict mode that we've been testing, if it works the fix is to

Edit /forums/admin/doapproveusers.php and remove line 176 where it mentions
Code
$ubbt_admin = serialize($ubbt_admin);


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
A hard refresh didn't solve the problem. I've double checked permissions. All admin pages are coming up as empty white pages. (I also tried the fix, just in case, but no change)

Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
It is not a NGINX server is it?
I have had cache issues with that type server.
Causing settings not to stick
So I exclude ubbthreads.php from the cache in cpanel


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
Hmmm..no, I'm using apache

Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
It would still be apache as well as a Linux os
NGINX just adds features like site caching proxy etc
check with your host.
Also they usually have a setting in cpanel for NGINX if it is used


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
I gotcha..I don't believe I'm using NGINX

Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
You need to check


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Sep 2024
Posts: 8
Stranger
Stranger
Joined: Sep 2024
Posts: 8
Just checked. I'm not running nginx. I guess the question is now..should I be?

Joined: Jun 2006
Posts: 16,369
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,369
Likes: 126
Do your error logs show anything when the page blanks?


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Dec 2003
Posts: 6,630
Likes: 85
Joined: Dec 2003
Posts: 6,630
Likes: 85
Originally Posted by phoenix011235
Just checked. I'm not running nginx. I guess the question is now..should I be?
I would only use it if the host provides it as part of the hosting plan and then with caution.
It is just a cache on the server and sometimes it causes issues such as make a change in ubb and it appears the change did not complete
or a new post does not appear for a while or you end up re posting


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Profile avatar storage settings
by SenecaFlyer - 12/05/2024 1:24 PM
Not allowing attachment over 2m
by ehill - 12/03/2024 3:16 PM
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Who's Online Now
3 members (Ruben, Gizmo, SenecaFlyer), 787 guests, and 84 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)