Previous Thread
Next Thread
Print Thread
Hop To
Two minor issues after upgrade #262936 07/13/2019 6:33 PM
Joined: Oct 2007
Posts: 267
Baldeagle Online Content OP
Enthusiast
OP Online Content
Enthusiast
Joined: Oct 2007
Posts: 267
I just upgraded our forum to 7.7.2. I upgraded php to 7.2 and mysql to 5.6. The upgrade went as expected, and the forum appears to be working normally. However, I have two minor issues. First, the default style is crazy awful. The left column appears above the forum columns, and all the images are broken. (Screenshot attached.) There are two or three other styles that do the same thing but most of the styles look as you would expect them to.

Second, phpinfo reports version 5.6.38 instead of the current version 7.210.

(See forum specs in my sig.).

Attached Files Screen Shot 2019-07-13 at 6.31.27 PM.png

The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB
Re: Two minor issues after upgrade [Re: Baldeagle] #262937 07/13/2019 6:55 PM
Joined: Apr 2004
Posts: 1,549
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,549
for your style, go in to to the style editor and open your style. then save it again.

for the phpinfo, you probably really are running on php 5.6, or just your admin directory is. check for old .htaccess files within you /admin directory that are forcing php 5.6. or turn on debugging and look at what is displayed in the footer of your forum pages. your forums are running on that version of php as displayed in the footer.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Two minor issues after upgrade [Re: Baldeagle] #262938 07/13/2019 7:41 PM
Joined: Oct 2007
Posts: 267
Baldeagle Online Content OP
Enthusiast
OP Online Content
Enthusiast
Joined: Oct 2007
Posts: 267
Thanks. Saving the style fixed that problem. I didn't find any htaccess files in the install. Running php -v from the commandline shows I'm running 7.2.10. Php.info file says the same thing. How do I enable debugging?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB
Re: Two minor issues after upgrade [Re: Baldeagle] #262939 07/13/2019 8:13 PM
Joined: Apr 2004
Posts: 1,549
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,549
Originally Posted by Baldeagle
I didn't find any htaccess files in the install.
this file is actually named, ".htaccess"

This file wont be within the UBB.threads install package. Its something that may be within your directory which is reporting PHP 5.6. UBB.threads does not make or include this file.

http://www.htaccess-guide.com/

Originally Posted by Baldeagle
Running php -v from the commandline shows I'm running 7.2.10. Php.info file says the same thing. How do I enable debugging?

phpinfo will tell you exactly the system variables which it receives. Debugging will also display the PHP version number in the footer. As an example, it will display something simular to this:
Quote
PHP: 7.3.7 Page Time: 0.164s Queries: 15 (0.010s) Memory: 2.6524 MB (Peak: 2.7701 MB) Data Comp: Off Server Time: 2019-07-14 01:04:59 UTC
Valid HTML 5 and Valid CSS


To Enable debugging:
Control Panel > Primary: Enable Debugging
It should be turned off when you're done.

If you are already on the expected version of PHP, then you're all set thumbsup
If not, then you may need to contact your webhost for further support. PHP version switching is not something within the relm of UBB.threads support.


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Two minor issues after upgrade [Re: Baldeagle] #262940 07/13/2019 8:33 PM
Joined: Oct 2007
Posts: 267
Baldeagle Online Content OP
Enthusiast
OP Online Content
Enthusiast
Joined: Oct 2007
Posts: 267
Well, that's weird. Debugging also shows 5.6.38 as the version. I can't find any .htaccess files with a php version in them, and there are no php 5.6.38 files installed on the server. (I have root access, and the server is owned by us, so I have complete access to it.) I'll keep poking around, and I'll figure it out sooner or later. The software doesn't generate any errors. Wouldn't it generate errors if it was running on 5.6.38?


The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB
Re: Two minor issues after upgrade [Re: Baldeagle] #262941 07/13/2019 8:37 PM
Joined: Apr 2004
Posts: 1,549
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,549
https://www.siteground.com/kb/how_to_have_different_php_versions/
https://forums.cpanel.net/threads/htaccess-and-php-versions-questions.636029/


You should probably contact the admin of your server since there is nothing within UBB.threads which would force a different version of PHP than what it is given to work with.

Last edited by isaac; 07/13/2019 8:42 PM.

Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com
Re: Two minor issues after upgrade [Re: Baldeagle] #262942 07/13/2019 9:24 PM
Joined: Oct 2007
Posts: 267
Baldeagle Online Content OP
Enthusiast
OP Online Content
Enthusiast
Joined: Oct 2007
Posts: 267
It occurred to me that I had not restarted apache. I did that, and the forum no longer works. I'm getting this error: Call to undefined function mb_convert_case(). I would have thought that the mb_string module would be what is called, but that's installed, and I'm still getting the error.

Update: It's all working fine now, and phpinfo reports php version 7.2.19. I think the reason it was reporting 5.6.38, was because I had not restarted apache. Once I restarted apache, I discovered some php modules that were missing. After installing those, the forum software is back up and running again.

Last edited by Baldeagle; 07/13/2019 9:28 PM.

The Stovebolt Geek
https://www.stovebolt.com/ubbthreads/ubbthreads.php

UBBThreads 7.7.3
Web Server Apache/2.4.37
PHP Version 7.2.19
MySQL Version 5.6.38
Database Size 2.23 GB
Re: Two minor issues after upgrade [Re: Baldeagle] #262943 07/13/2019 9:26 PM
Joined: Apr 2004
Posts: 1,549
isaac Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,549


Current developer of UBB.threads PHP Forum Software // 7.7.3 released!
isaac @ id242.com // my forum @ CelicaHobby.com

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Mobile app?
by Baldeagle - 12/06/2019 9:32 PM
How do you change Text Line spacing?
by jorb - 11/23/2019 12:14 AM
What happened to FAQ or Forum Help
by Ruben - 11/20/2019 11:58 AM
Search feature encountering an Error message
by jorb - 11/20/2019 12:06 AM
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
Who's Online Now
2 registered members (Gizmo, Baldeagle), 70 guests, and 366 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)