Previous Thread
Next Thread
Print Thread
Hop To
php 5.2 to php 5.4 and UBB Threads probs #251018 11/29/2012 6:57 PM
Joined: Sep 2009
Posts: 36
Mark J.Cairns Offline OP
newbie
OP Offline
newbie
Joined: Sep 2009
Posts: 36
My ISP wants to upgrade everybody from php 5.2 to php 5.4 soon, but when I tried to swop it over, UBB Threads 7.56p1 falls over and just comes up with a generic error (you can't log in to change anything either).

What do I need to do to ensure it's survival in the changeover, and does the fault lie with the ISP or UBB Threads.

I kicked it back to php 5.2 again and all was well after 5 mins.


Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251019 11/29/2012 7:05 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Have you looked over the webserver logs to see if anything was recorded during your stint on 5.4?

I'm only on 5.3.3 so I'm not 100%

Last edited by Gizmo; 11/29/2012 7:06 PM.

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.
Need to Upgrade?
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!
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251020 11/29/2012 7:08 PM
Joined: Dec 2003
Posts: 5,974
Ruben Online Yawn
Online Yawn
Joined: Dec 2003
Posts: 5,974
I think it has to do with the newer engine that php uses.
At least I had a issue going to 5.4 using wamp. I had to back down to 5.3


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251024 11/29/2012 9:52 PM
Joined: Sep 2009
Posts: 36
Mark J.Cairns Offline OP
newbie
OP Offline
newbie
Joined: Sep 2009
Posts: 36
Thanks fellas. Had a wee duke at the logs and then...

I had another go at it, but this time putting in the 7.56p2 patch that I found in the Members area, over 7.56p1 I had from last summer, and did some re-builds of posts and stuff and it seemed to work this time (with global php 5.4 engine)... thus far.

I've seen a lot of Forums recently and I have to say I still love UBB Threads simplicity and intuitive control panel... and the support from you guys here. ;D It's appreciated.


Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251025 11/29/2012 9:55 PM
Joined: Sep 2009
Posts: 36
Mark J.Cairns Offline OP
newbie
OP Offline
newbie
Joined: Sep 2009
Posts: 36
LOL... and as I was typing that, it had time to FALL OVER with...


UBB Message
We encountered a problem. The reason reported was
Database error only visible to forum administrators
Please click back to return to the previous page.


Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251026 11/29/2012 10:22 PM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Do you have error logging in the UBB on so we can read the error? (when i said it before i meant through the server logs vs ubb)


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.
Need to Upgrade?
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!
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251027 11/29/2012 10:47 PM
Joined: Jun 2006
Posts: 673
BellaOnline Offline
old hand
Offline
old hand
Joined: Jun 2006
Posts: 673
I was just coming on to ask about this.

I am running php 5.3.8.

When I look at the PHP site my options are to upgrade to 5.3.19 or to 5.4.9. I don't understand why there are two different choices smile.

Is anybody on 5.4.9? Is it safe to go up to that?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251035 11/29/2012 11:55 PM
Joined: Jun 2006
Posts: 673
BellaOnline Offline
old hand
Offline
old hand
Joined: Jun 2006
Posts: 673
Looking at a posting about 5.4 vs 5.3 -

http://www.attackr.com/php-5-4-vs-5-3-difference-what-to-watch-out-for-when-coding-with-new-version/

it appears there's an issue with safe mode in 5.4 and I seem to recall from a few years back that we do need safe mode for UBB. Is that still true, or has that changed at some point? That would seem to mean that we'd need to stay on the 5.3 track for now, if I'm remembering properly.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: BellaOnline] #251036 11/30/2012 2:00 AM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Originally Posted by BellaOnline

When I look at the PHP site my options are to upgrade to 5.3.19 or to 5.4.9. I don't understand why there are two different choices smile.
compatibility...

You don't need safe mode for the UBB; at least not that I know about...


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.
Need to Upgrade?
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!
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251039 11/30/2012 3:58 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline
old hand
Offline
old hand
Joined: Jun 2006
Posts: 673
Gizmo -

Hmmm I just rechecked my INI file and it appears to be *strict* mode that I might have been thinking of. Could that be it? I see that I do have strict mode set. I remember something choking during one of my upgrades and Rick helping me fix it. I realize that's fairly vague smile. I should take better notes, clearly.

If that's the case, it sounds like maybe I should go up to 5.4 and I'd be OK? Is anybody running on 5.4?


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251040 11/30/2012 4:01 AM
Joined: Jun 2006
Posts: 673
BellaOnline Offline
old hand
Offline
old hand
Joined: Jun 2006
Posts: 673
Woo hoo! I have a 10 year button! The simple pleasures in life smile


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251041 11/30/2012 5:00 AM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Might be strict; I haven't heard anyone running on 5.4, but if you enable it we could do some troubleshooting... Basically you need to run it until you hit an error; log the error (apache webserver logs, ubb logs, mysql logs, etc) then post them and I can help figure out the problem...


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.
Need to Upgrade?
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!
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: BellaOnline] #251042 11/30/2012 5:14 AM
Joined: Sep 2009
Posts: 36
Mark J.Cairns Offline OP
newbie
OP Offline
newbie
Joined: Sep 2009
Posts: 36
Which particular logs in UBB do you want Gizmo? Or where are they? I was referring to something else less technical earlier.

The PHP Info lists loads of stuff running php 5.2.17 currently (when it runs perfectly before I try to switch it over to php 5.4 on the ISP's control panel - a pop-up based system).

The Logs inside UBB THREADS are:
ViewSQL Errors - lists nothing
View Admin Logs - irrelevant
View Referrer Logs - Irrelevant

My ISP doesn't list anything I can look at inside their control panel.

Problem is when I switch over on ISP's Control Panel from php 5.2 to php 5.4, the earlier 4-line error came up, but I can't get into UBB THREADS at all then to run anything or see anything in our Control panel.



Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251052 11/30/2012 11:08 AM
Joined: Jun 2006
Posts: 15,844
Gizmo Offline
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 15,844
Well, turn on your mysql error logs in the UBB so they log to a file:
CP -> Master Settings -> Primary Settings -> Logging Tab

Then you might change "$showerror = 0;" to "$showerror = 1;" in the "libs/mysql.inc.php" file so that errors are shown directly to the browser vs the "only visible to admin's" error being displayed (I'd only do this while testing).

From here, when an error is triggered just write down what's displayed (in any log file, the one for the UBB which should display to the browser with the change to mysql.inc.php, and your server logs) and we can attempt to pinpoint why things won't work.


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.
Need to Upgrade?
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!
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251064 12/01/2012 9:51 AM
Joined: Sep 2009
Posts: 36
Mark J.Cairns Offline OP
newbie
OP Offline
newbie
Joined: Sep 2009
Posts: 36
Will do, thanks


Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes
Re: php 5.2 to php 5.4 and UBB Threads probs [Re: Mark J.Cairns] #251069 12/01/2012 9:42 PM
Joined: Jun 2006
Posts: 673
BellaOnline Offline
old hand
Offline
old hand
Joined: Jun 2006
Posts: 673
OK so it sounds like I have to do the p2 patch to prepare for PHP 5.4, and I was going to do that for another member anyway. So maybe I should do this all in conjunction. I will take this all on starting next week to see how it goes.

My forums are running *really* slowly and my upgrade to MySQL 5.5 didn't help much. So I'm hoping this does help.


Lisa Shea, owner, BellaOnline.com
BellaOnline Website
BellaOnline Forums - UBB since Apr 2002 - 57,000 members / 800,000 posts
php 5.2 to php 5.4 and UBB Threads probs [Re: BellaOnline] #251803 12/28/2012 3:40 PM
Joined: Sep 2009
Posts: 36
Mark J.Cairns Offline OP
newbie
OP Offline
newbie
Joined: Sep 2009
Posts: 36
Well, I tried again to change my ISP's setting from php 5.2 to php 5.49 and...

onoes

IT WORKED this time

The only change from the first time earlier in December is that I added last week's new upgrade to the UBB Threads 7.57

So looks like we're good to go now. Happy days.

grin


Mark J.Cairns
Producer, Airwolf Themes CD soundtracks

AIRWOLF WEBSITE https://airwolfthemes.com/mobile/
OFFICIAL AIRWOLF THEMES VIDEOS https://www.youtube.com/airwolfthemes

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issue with redirects to UBB classic URLs
by amciotola - 10/16/2019 1:11 AM
Unable to save General settings
by amciotola - 10/13/2019 4:23 AM
I see signature line images, but no avatars
by Morgan - 10/12/2019 2:21 PM
Show PDF
by Geoff - 10/09/2019 1:33 AM
Subscription’s Auto Return URL for PayPal
by Geoff - 09/27/2019 12:10 AM
Who's Online Now
1 registered members (Ruben), 73 guests, and 158 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 20190930)