Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-09-2013, 02:03 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 10-09-2013, 02:10 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Code:
$var = & new something(....

it's the "= &" or "=&" you're looking for. You need to remove the "&".
Reply With Quote
  #3  
Old 10-09-2013, 02:30 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't get in to the admin CP. I get 4 warning messages and that's it.

Quote:
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 10-09-2013, 02:45 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 10-09-2013, 02:49 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1381333790[/DATE] at [TIME]1381333790[/TIME] ---------------

Quote:
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
Reply With Quote
  #6  
Old 10-09-2013, 09:45 PM
CarlitoBrigante's Avatar
CarlitoBrigante CarlitoBrigante is offline
 
Join Date: Nov 2002
Location: Iceland
Posts: 182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Благодарность от:
justicechick
  #7  
Old 10-09-2013, 09:55 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 [DATE]1381359407[/DATE] at [TIME]1381359407[/TIME] ---------------

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 10-09-2013, 09:59 PM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shit...so many people having problems after this upgrade...
Reply With Quote
  #9  
Old 10-09-2013, 10:19 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most of what I have seen is due to mods,, not the software it's self.
Reply With Quote
  #10  
Old 10-09-2013, 10:25 PM
bugzy bugzy is offline
 
Join Date: Jul 2004
Posts: 96
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
PHP Code:
date.timezone="America/Los_Angeles" 
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 06:45 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07448 seconds
  • Memory Usage 2,290KB
  • Queries Executed 14 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete