Previous Thread
Next Thread
Print Thread
Hop To
Joined: Oct 2007
Posts: 354
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 354
Likes: 8
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.).
Attachments
Screen Shot 2019-07-13 at 6.31.27 PM.png


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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Oct 2007
Posts: 354
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 354
Likes: 8
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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Oct 2007
Posts: 354
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 354
Likes: 8
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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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 9:42 PM.

Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Oct 2007
Posts: 354
Likes: 8
Enthusiast
Enthusiast
Joined: Oct 2007
Posts: 354
Likes: 8
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 10:28 PM.

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

Server Information
UBB.threads Version 7.7.5
Release 20201027
Server OS Linux
Server Load 0.16
Web Server Apache/2.4.6
PHP Version 7.4.33
MYSQL Version 5.7.43
Database Size 1.85 GB
Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.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
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
1 members (Havenofsobriety), 458 guests, and 91 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.0
(Preview build 20230217)