Previous Thread
Next Thread
Print Thread
Hop To
#253980 11/04/2013 9:14 PM
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
I need to update my PHP from 5.1.6.

In reading about Threads 7.0, it appears that maybe I shouldn't upgrade past version 5.4.

Any thoughts on that?

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
Without looking it up again.
I would not go above php 5.3.X for now.
I recall 5.4 is where the issues start.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
PHP Version 5.3.27 works ok with me.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
I ended up with a "package" install from the host provider (Webintellects)... They punched it in for me.

PHP 5.4.21
MySQL 5.5.34

It's running, but a lot of users are complaing that some of their settings disappeared. And some guys can't see the EDIT button on any postings.... even ones they just made 1 minute ago.

Any thoughts on how to restore --- nevermind, I know THAT answer.

What about GROUP IMAGES? Any tips on resetting them for over 1,000 accounts?




--BIll B
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Still suffering from my PHP/MySQL upgrade last night.

Where do I reset the TIMEZONE? It's kicking out hundreds of PHP Warnings that it's set to UTC and needs a valid setting.

Thanks in advance....


--BIll B
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Nevermind... i found the previous discussions about this - and the recommendation to NOT modify it in etc/php.ini

But I just did it in order to see if it fixes the hundreds of WARNINGs that I see posted in the log.


--BIll B
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Nope.. I can't let it continue... the php.ini change didn't work... I restarted Apache too.

Here's the error that is filling up my log files....
Quote
PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.

Does anybody have a suggestion? Reminder this occurred less than 24 hours after a PHP and MySQL upgrade last night (actually 1 am this morning)....


--BIll B
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
You should be able to edit your .htaccess file and add in:
Code
SetEnv TZ America/Los_Angeles

A listing of timezones can be found here.


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
Like I stated before.
PHP 5.4 is where the problems start.
I also recall a net new installation will fail for ubb 7.5.X due to a different engine is used in PHP 5.4.x compared to PHP 5.3.x and below. So the UBB installer fails.

All we can do at this point is hope we get a upgrade as promised soon.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jul 2006
Posts: 4,057
Joined: Jul 2006
Posts: 4,057
Feel for you.
This could have been me if I had not seen the bug reports in time.

Ive just had a reinstall due to failing hard drive.
Hope you can work through the problems.

I didn't realise the installer would fail too.


BOOM !! Version v7.6.1.1
People who inspire me Isaac ME Gizmo
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Thanks everybody. If things hadn't moved so quickly, I could have heeded your advice...

But the host admin took my "question" and "acted" on it before I saw the response. Probably the FIRST time that they have been so responsive. :-)

Everything seems to be working now, since I fixed the TIMEZONE issue. EXCEPT:

I'm getting hundreds of error/warnings about:

1) PHP Strict Standards:
Non-static method xxxlog::log() should not be called statically,

2) mysql_escape_string():
This function is deprecated; use mysql_real_escape_string() instead...

Dang, this takes me back a couple of years when I last messed around with PHP. This is the reason why I don't install every upgrade...

Again, thanks.


--BIll B
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
1. Check out this; describes possible fixes that you'll probably find helpful in fixing this issue.

2. This extension is deprecated as of PHP 5.5.0; code will need to be adapted to no longer use 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: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Thanks... I'll tackle it.


--BIll B
Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
So I just upgraded
from PHP 5.1.6
to PHP 5.4.21
and I'm been fixing buggy issues for the past 4 days.

Tonight I got word of another app that I built a while back which is now throwing "array to string conversion" errors.

So -- SHOULD I DOWNGRADE my PHP installation? Back to 5.3.x?
(I'm not sure that I can fix these new errors.)


--BIll B
Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
Well, eventually you'll have to fix them regardless... I figure, if you have the time to do it now, why put off the inevitable...


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: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Shucks... I wish that you hadn't said that. grin

I "think" that my app was built using V6.2. So, I wonder if I just import and recompile it using V7.0 -- would that maybe "fix" the problems??


--BIll B
Joined: Apr 2007
Posts: 3,940
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
7.5.8 should be in the member's area for d/l sometime tomorrow. This will be compatible with php 5.4, 5.5 and mysql 5.6

2c

Joined: Oct 2006
Posts: 358
enthusiast
enthusiast
Joined: Oct 2006
Posts: 358
Thanks Sir Dude... this was better than anything else that i found today on "Black Friday".... !!!


--BIll B

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), 522 guests, and 99 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)