Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2024
Posts: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
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 9:00 AM. Reason: added information
Joined: Jun 2006
Posts: 16,382
Likes: 132
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,382
Likes: 132
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: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
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 8:27 PM. Reason: thought of something to add
Joined: Jun 2006
Posts: 16,382
Likes: 132
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,382
Likes: 132
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: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
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,382
Likes: 132
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,382
Likes: 132
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: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
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,382
Likes: 132
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,382
Likes: 132
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: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
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,633
Likes: 85
Joined: Dec 2003
Posts: 6,633
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: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
Hmmm..no, I'm using apache

Joined: Dec 2003
Posts: 6,633
Likes: 85
Joined: Dec 2003
Posts: 6,633
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: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
I gotcha..I don't believe I'm using NGINX

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


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

Joined: Jun 2006
Posts: 16,382
Likes: 132
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,382
Likes: 132
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,633
Likes: 85
Joined: Dec 2003
Posts: 6,633
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
Joined: Sep 2024
Posts: 9
Stranger
Stranger
Joined: Sep 2024
Posts: 9
Originally Posted by Gizmo
Do your error logs show anything when the page blanks?

The access log shows the initial request, but nothing else.

The error log shows this message:
Quote
[Mon Jan 06 12:32:38.014796 2025] [core:notice] [pid 1061] AH00052: child pid 1067 exit signal Segmentation fault (11)
[Mon Jan 06 12:32:40.017004 2025] [core:notice] [pid 1061] AH00052: child pid 1065 exit signal Segmentation fault (11)

Those were from the time around the request. Earlier in the error log, I see this as well:
Quote
[Mon Jan 06 12:11:53.290087 2025] [mpm_prefork:notice] [pid 1082] AH00170: caught SIGWINCH, shutting down gracefully
[Mon Jan 06 12:12:42.261794 2025] [http2:warn] [pid 1061] AH10034: The mpm module (prefork.c) is not supported by mod_http2. The mpm determines how things are processed in your server. HTTP/2 has more demands in this regard and the currently selected mpm will just not do. This is an advisory warning. Your server will continue to work, but the HTTP/2 protocol will be inactive.
PHP Warning: PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/lib/php/20230831/openssl (/usr/lib/php/20230831/openssl: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/openssl.so (/usr/lib/php/20230831/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
[Mon Jan 06 12:12:42.658194 2025] [mpm_prefork:notice] [pid 1061] AH00163: Apache/2.4.58 (Ubuntu) OpenSSL/3.0.13 configured -- resuming normal operations

Perhaps this sheds some light?

Joined: Apr 2004
Posts: 1,997
Likes: 165
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,997
Likes: 165
it looks like your webhost's server could either have bad hardware, or based on your second error log; bad or misconfigured programs in Apache or within the php.ini for your php version
https://serverfault.com/questions/66580/apache-seg-fault-11
and further reading here
https://stackoverflow.com/questions...segmentation-fault-11-in-apache-error-lo

start by looking at your openssl.so version to determine if its up to date. honestly though, this should be managed by your webhost.


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.0 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Account Profile Settings?
by Simon_UK - 05/09/2025 6:26 PM
Need UBB support, server move, upgrade
by aldeer - 05/05/2025 10:52 AM
PostgreSQL vs mySQL
by DennyP - 04/30/2025 1:26 PM
Honestly Disappointed in v8
by - 04/22/2025 2:21 PM
Who's Online Now
0 members (), 679 guests, and 146 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20250209)