Previous Thread
Next Thread
Print Thread
Hop To
Joined: Sep 2009
Posts: 36
newbie
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
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
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,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
Joined: Sep 2009
Posts: 36
newbie
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
Joined: Sep 2009
Posts: 36
newbie
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
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
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: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
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: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
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 2009
Posts: 36
newbie
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
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
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 2009
Posts: 36
newbie
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
Joined: Jun 2006
Posts: 693
Addict
Addict
Joined: Jun 2006
Posts: 693
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 - 58,000 members / 850,000 posts
Joined: Sep 2009
Posts: 36
newbie
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

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
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 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)