Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 09 Oct 2013, 15:03
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Question Update to 4.2.2 blew up my board.

I've done tons of these updates without a problem but this one blew up my site.

I am getting these error messages on my forum site:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../includes/functions.php on line 4912

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../includes/functions.php on line 5104

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 10019

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 10308

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 10689

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 11251

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 11676

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 12150

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 12677

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 14825

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 15516

Warning: Assigning the return value of new by reference is deprecated in ..../includes/garage_func_var.php on line 17521



Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../forum.php on line 676
*********************************************************************

I use a very weird time zone to catch spammers (Katmandu or something).


What the heck is wrong with the update and what do I need to do to get my site back up?????????

Heck, I can't even get my admin CP to come up!!!!!!! I get these errors instead:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../includes/functions.php on line 4912

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../includes/functions.php on line 5104




I NEED HELP HERE!


Elmer


I'm at panic mode now!
Reply With Quote
  #2  
Old 09 Oct 2013, 15:10
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Try going to Plugin/Hook System in the options and setting "PHP Compatability" to Yes.

Edit: actually, that only will work on plugins. You should really edit file includes/garage_func_var.php and look for things like:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


it's the "= &" or "=&" you're looking for. You need to remove the "&".

Last edited by kh99; 09 Oct 2013 at 15:19.
Reply With Quote
  #3  
Old 09 Oct 2013, 15:30
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
I can't get in to the admin CP. I get 4 warning messages and that's it.

Heck, I can't even get my admin CP to come up!!!!!!! I get these errors instead:

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../includes/functions.php on line 4912

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable 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 'America/New_York' for 'EDT/-4.0/DST' instead in ..../includes/functions.php on line 5104
I get 3 of the 5104 warnings.
Reply With Quote
  #4  
Old 09 Oct 2013, 15:45
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Just out of curiosity, did you change your php version at all, or did you just upgrade?

I don't have any specific knowledge of problems with 4.2.2, I was just trying to read the errors and figure out if there's a fix. You might look at vbulletin.com if you haven't already, if you're having an issue then it's likely others are having the same problem.
Reply With Quote
  #5  
Old 09 Oct 2013, 15:49
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
FIXED!!!!!!!!!!!!!!!!!!! I called my IT son who is on furlough from NASA and he:

Found in another thread, I added:
date.timezone="America/New_York"

to my php.ini file and started apache and the error went away.
Running php 5.2.17



Kids are good to have around!!!!!


I also had to turn off 1 product with this update but that was an easy thing.

Elmer

--------------- Added 09 Oct 2013 at 15:49 ---------------

Originally Posted by kh99 View Post
Just out of curiosity, did you change your php version at all, or did you just upgrade?

I don't have any specific knowledge of problems with 4.2.2, I was just trying to read the errors and figure out if there's a fix. You might look at vbulletin.com if you haven't already, if you're having an issue then it's likely others are having the same problem.
4.2.2 is blowing up sites with glorious abandon! I did a straight update to the vBulletin as I was within the range of acceptable php 5.2.1.7 version.

Elmer

Last edited by eboggs_jkvl; 09 Oct 2013 at 16:04.
Reply With Quote
  #6  
Old 09 Oct 2013, 22:45
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
We have been doing many upgrades today. The issue is not a change in the php configuration, but a change in the vBulletin error handler. I think there is a bug in it - did not have time to explore it further, I just swapped back the old error handling code - which makes it ignore the settings in display_error.

Of course, these warnings show issues you should take care of, but they were there also before you installed 4.2.2, are not immediately critical things, usually, AND should not be shown if display_errors is set to off.
__________________
Yes, that's only a nickname! - MagnetiCat.com - Professional development and administration, disaster recovery (also in desperate situations), PHP and Mobile App development.
Reply With Quote
  #7  
Old 09 Oct 2013, 22:55
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Originally Posted by CarlitoBrigante View Post
We have been doing many upgrades today. The issue is not a change in the php configuration, but a change in the vBulletin error handler. I think there is a bug in it - did not have time to explore it further, I just swapped back the old error handling code - which makes it ignore the settings in display_error.

Of course, these warnings show issues you should take care of, but they were there also before you installed 4.2.2, are not immediately critical things, usually, AND should not be shown if display_errors is set to off.
All sounds reasonable. I had it running just fine. I did an update. It shouldn't have screwed up and started showing warnings if all I did was an update.

--------------- Added 09 Oct 2013 at 22:56 ---------------

Now I can't upload attachments with the new update. This is total crap. I guess I need to start a new thread to get this new issue solved.

Elmer
Reply With Quote
  #8  
Old 09 Oct 2013, 22:59
meaters meaters is offline
 
Join Date: Jul 2010
Shit...so many people having problems after this upgrade...
Reply With Quote
  #9  
Old 09 Oct 2013, 23:19
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Most of what I have seen is due to mods,, not the software it's self.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #10  
Old 09 Oct 2013, 23:25
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Originally Posted by ozzy47 View Post
Most of what I have seen is due to mods,, not the software it's self.

I turned all mods off. It still will not upload an attachment.

Elmer
Reply With Quote
  #11  
Old 09 Oct 2013, 23:25
bugzy bugzy is offline
 
Join Date: Jul 2004
I had same issue and fixed it by editing my /etc/php.ini

Added this anywhere in php.ini and restarted apache, you probably need to use New York

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #12  
Old 09 Oct 2013, 23:28
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Originally Posted by bugzy View Post
I had same issue and fixed it by editing my /etc/php.ini

Added this anywhere in php.ini and restarted apache, you probably need to use New York

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
I did that in post 5. Most of the issues cleared up. I'm now chasing a problem with the attachment uploads failing to upload.

Elmer
Reply With Quote
  #13  
Old 09 Oct 2013, 23:38
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
I've seen a handfull of 'great upgrade' comments and a ton of 'holy hell!' ones. They can't all be 'mod-related'. What bothers me intensely about vbulletin.com is that they put out an upgrade, ask people to post in the support thread, and then critical issues sit there unanswered for extended periods. You JUST rolled out an upgrade - they should be all over anyone having problems bending over backwards to help them resolve them.

It has taken us months to get 4.2.1 working correctly. No way am I upgrading any time soon. And honestly, despite having been a vbulletin customer for going on 10 years, I think we will strongly consider moving to another vendor the next time we really need to upgrade our software. My experience with the vbulletin Facebook App debacle earlier this year and watching the total lack of vbulletin response to complaints about a paid add-on that didn't work or perform as advertised was infuriating.
Reply With Quote
  #14  
Old 09 Oct 2013, 23:57
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by CarlitoBrigante View Post
a change in the vBulletin error handler. I think there is a bug in it
There is no bug in the error handler.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #15  
Old 10 Oct 2013, 00:00
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by BGObsession View Post
I've seen a handfull of 'great upgrade' comments and a ton of 'holy hell!' ones. They can't all be 'mod-related'. .
Actually, yes they can.

Almost all are either mods, or server configuation (or both).
So far Ive only come across two that were actual code issues, and one of them wasnt posted anywhere, just logged directly in Jira.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 17:01.

Layout Options | Width: Wide Color: