![]() |
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! |
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 "&". |
I can't get in to the admin CP. I get 4 warning messages and that's it.
Quote:
|
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. |
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:
Elmer |
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. |
Quote:
--------------- 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 |
Shit...so many people having problems after this upgrade...
|
Most of what I have seen is due to mods,, not the software it's self.
|
Quote:
I turned all mods off. It still will not upload an attachment. Elmer |
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:
|
Quote:
Elmer |
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. |
Quote:
|
Quote:
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. |
So, what you're saying is, they aren't all mod-related :)
|
Quote:
Quote:
|
He said:
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.[/quote] |
OK, guys.... I'm not having issues with anything but the INABILITY to upload attachments. All the rest is fine.
If my server configuration worked with v4.2.1, what changed to make the configuration NOT work with 4.2.2? I didn't touch the server. I only updated the files contained in the update. I can turn ALL of my mods off and I still can't upload an attachment. |
Quote:
|
Quote:
|
Yeah, there is alot going on, thanks for understanding. :)
|
Paul, we all greatly appreciate your time and work but this upgrade really turned out more problematic that anyone had expected...errors popping everywhere after upgrade, templates broken.
|
Quote:
|
1 Attachment(s)
Quote:
|
Horrible
Vbulletin needs to release a fix for all these issues, this is no good |
Quote:
The final part of the new error handler, the one matching all errors not matched by previous cases, which means also deprecated errors (those most people in the forums have been having problems with) contains this: Code:
default: This means errors will be shown if error_reporting is enabled even if display errors is set to off. A correct implementation of an error_handler needs to follow the configuration settings specified on the server and react accordingly. http://stackoverflow.com/questions/5...700117#5700117 I do not have the time to submit this to vBulletin's JIRA, so if you guys have the time, do it. I will submit only a trouble ticket for this. |
So I put up a fresh install for testing and the problem with attachments they are still there was just making sure the problem was not with my forums. VB needs to fix this problem now some kind of quick fix in the next hour this should of been tested before it was given out
|
And for forum owners, a possible solution to this is just to change this in includes/class_core.php line 5733
Code:
if (error_reporting() OR ini_get('display_errors')) Code:
if (error_reporting() OR ini_get('display_errors')) --------------- Added [DATE]1381371455[/DATE] at [TIME]1381371455[/TIME] --------------- Guys, I can confirm I had a similar problem with attachments in a forum and it was, once again, caused by the issue I posted above about warnings coming out at the head of the AJAX response. Using the fix above and hiding the display errors made them work for me. Not sure this covers also your cases (it does not seem to as some of you are reporting issues with fresh installs which should not contain deprecated messages), but just double check this is not what is causing the problem for you as well. |
Quote:
|
Quote:
|
I've got this same problem and had to revert back to the old version to get my site back online.
I have two forums, both on the same server, both were version 4.2.0 patch level 3 and upgraded to 4.2.2 One upgraded perfectly without a problem, the other has this time zone error which locked me out of the admin panel. :o |
Quote:
I'm 70 years old and I'm not a programmer. I can be "led" pretty easily but I don't "do" new code on my own. I'm looking into updating my version of php and I hope this is the issue. If the problem is purely from the vb code, then I need new files or explicit instructions on what code to add/change in some mysterious php file. Elmer --------------- Added [DATE]1381414430[/DATE] at [TIME]1381414430[/TIME] --------------- Quote:
Elmer |
Quote:
|
Quote:
So, here is my sob story. Was using vB 4.1.12, all good, no problemo's. One day some Arabic hackers mess up my site. They created Admin accounts. I upgraded to 4.2.2 and yes, deleted the install folder, nuked the fake Admin accounts. Shortly afterward my site was getting its head flushed down the toilet where it remains currently. Click link below in my sig to see for yourself. Now I am trying to re-install the upload folder of the vB 4.1.12, but I have noticed the includes folder does not contain the config.php, only config.php.new Any guidance from you good folks would be appreciated. --------------- Added [DATE]1381417340[/DATE] at [TIME]1381417340[/TIME] --------------- Quote:
|
Someone told me you can't "step" back in vb to 4.2.1. The only way is to get a backup from the ISP and load that backup and lose whatever is "new" from the date of the backup.
ELmer |
Quote:
|
Quote:
|
Quote:
upgrade.php Thanks for your help. |
Quote:
I'm the last person that you should ask for expert opinion on hacked or looking good. I know my limitations and that's why I'm asking questions on this forum. Until someone comes up with a solution, my "upload attachments" functionality is just sitting there, dead. I'm looking into updating my version of PHP to see if that helps but I'm pretty much screwed here unless I get a backup reloaded from my ISP putting me back on v4.2.1. I clicked on ozchess and got this: Quote:
|
All times are GMT. The time now is 06:38 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|