PDA

View Full Version : Update to 4.2.2 blew up my board.


eboggs_jkvl
10-09-2013, 02:03 PM
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!

kh99
10-09-2013, 02:10 PM
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:
$var = & new something(....


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

eboggs_jkvl
10-09-2013, 02:30 PM
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.

kh99
10-09-2013, 02:45 PM
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.

eboggs_jkvl
10-09-2013, 02:49 PM
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 1381333790 at 1381333790 ---------------

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

CarlitoBrigante
10-09-2013, 09:45 PM
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.

eboggs_jkvl
10-09-2013, 09:55 PM
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 1381359407 at 1381359407 ---------------

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

meaters
10-09-2013, 09:59 PM
Shit...so many people having problems after this upgrade...

ozzy47
10-09-2013, 10:19 PM
Most of what I have seen is due to mods,, not the software it's self.

eboggs_jkvl
10-09-2013, 10:25 PM
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

bugzy
10-09-2013, 10:25 PM
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
date.timezone="America/Los_Angeles"

eboggs_jkvl
10-09-2013, 10:28 PM
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
date.timezone="America/Los_Angeles"


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

BGObsession
10-09-2013, 10:38 PM
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.

Paul M
10-09-2013, 10:57 PM
a change in the vBulletin error handler. I think there is a bug in it
There is no bug in the error handler.

Paul M
10-09-2013, 11:00 PM
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.

BGObsession
10-09-2013, 11:03 PM
So, what you're saying is, they aren't all mod-related :)

Paul M
10-09-2013, 11:06 PM
So, what you're saying is, they aren't all mod-related :)
I believe that would be what this basically says, yes.

Almost all are either mods, or server configuation (or both).

ozzy47
10-09-2013, 11:06 PM
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]

eboggs_jkvl
10-09-2013, 11:08 PM
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.

BGObsession
10-09-2013, 11:11 PM
I believe that would be what this basically says, yes.

I'm really not trying to be snarky. I appreciate you're working through threads and trying to point folks having problems in the right direction.

Paul M
10-09-2013, 11:14 PM
I can turn ALL of my mods off and I still can't upload an attachment.

You should log a support ticket for that, I dont recall any particular changes to attachments.

ozzy47
10-09-2013, 11:14 PM
Yeah, there is alot going on, thanks for understanding. :)

meaters
10-09-2013, 11:52 PM
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.

CarlitoBrigante
10-10-2013, 12:04 AM
There is no bug in the error handler.

Paul, do not be so dismissive, it is silly. 5 forum upgrades today, all with display errors set to off and errors still displaying. Anyhow, I said "I think" in my post. If the error is not in the error handler, could be elsewhere.

ForceHSS
10-10-2013, 12:11 AM
You should log a support ticket for that, I dont recall any particular changes to attachments.
I get a error for attachments as well

meaters
10-10-2013, 12:19 AM
Horrible

Vbulletin needs to release a fix for all these issues, this is no good

CarlitoBrigante
10-10-2013, 01:05 AM
Paul, do not be so dismissive, it is silly. 5 forum upgrades today, all with display errors set to off and errors still displaying. Anyhow, I said "I think" in my post. If the error is not in the error handler, could be elsewhere.

OK, since I am a stupid bastard, instead of working on my stuff I decided to jump into it, and it looks like I was right. The implementation of the error_handler in vBulletin 4.2.2 is wrong, or at the very least, incomplete.

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:


default:
if (error_reporting() OR ini_get('display_errors'))
{


and vBulletin then proceeds to echo the error.

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.

More on this here:

http://stackoverflow.com/questions/5699930/does-a-custom-php-error-handler-respect-php-configuration/5700117#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.

ForceHSS
10-10-2013, 01:10 AM
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

CarlitoBrigante
10-10-2013, 01:14 AM
And for forum owners, a possible solution to this is just to change this in includes/class_core.php line 5733


if (error_reporting() OR ini_get('display_errors'))
{
if (defined('DIR'))
{
require_once(DIR . '/includes/functions_log_error.php');
$message = "Warning: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');
}


to this


if (error_reporting() OR ini_get('display_errors'))
{
if (defined('DIR'))
{
require_once(DIR . '/includes/functions_log_error.php');
$message = "Warning: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');
if(!ini_get('display_errors')) return;
}


This is a very rushed out solution, and I encourage you guys to double check it as I really really do not have the time (do not want to be mean, I just have been up in front of the monitor for 18 hours straight upgrading stuff already).

--------------- Added 1381371455 at 1381371455 ---------------

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.

meaters
10-10-2013, 01:42 AM
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

Shame really, never imagined we could come to this.

ForceHSS
10-10-2013, 02:04 AM
And for forum owners, a possible solution to this is just to change this in includes/class_core.php line 5733


if (error_reporting() OR ini_get('display_errors'))
{
if (defined('DIR'))
{
require_once(DIR . '/includes/functions_log_error.php');
$message = "Warning: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');
}
to this


if (error_reporting() OR ini_get('display_errors'))
{
if (defined('DIR'))
{
require_once(DIR . '/includes/functions_log_error.php');
$message = "Warning: $errstr in $errfile on line $errline";
log_vbulletin_error($message, 'php');
if(!ini_get('display_errors')) return;
}
This is a very rushed out solution, and I encourage you guys to double check it as I really really do not have the time (do not want to be mean, I just have been up in front of the monitor for 18 hours straight upgrading stuff already).

--------------- Added 10 Oct 2013 at 03:17 ---------------

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.
tried that did not work so just went back to 4.2.1

Peafor
10-10-2013, 01:05 PM
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

eboggs_jkvl
10-10-2013, 01:09 PM
I get a error for attachments as well

Your error shows "undefined" on mouse hover, mine at least says "Upload Failed".:D

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 1381414430 at 1381414430 ---------------

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

The time zone errors can be fixed with the php.ini update. I think that answer is in post #5 in this thread on the warning messages for the time zone error.


Elmer

Peafor
10-10-2013, 01:43 PM
Your error shows "undefined" on mouse hover, mine at least says "Upload Failed".:D

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 1381414430 at 1381414430 ---------------



The time zone errors can be fixed with the php.ini update. I think that answer is in post #5 in this thread on the warning messages for the time zone error.


Elmer

Thank you Elmer, yes I did read that but to be honest I haven't a clue how to do it :( I have asked for vBulletin support so maybe they will help (Should I hold my breath? :rolleyes:)

Arrogant-One
10-10-2013, 01:59 PM
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

Oh, thank God. I am not the only one with this problem.

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 1381417340 at 1381417340 ---------------

I've got this same problem and had to revert back to the old version to get my site back online.

I would like to try this. Please advise, step by step, how I can revert to an older model of vB.

eboggs_jkvl
10-10-2013, 02:10 PM
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

Arrogant-One
10-10-2013, 02:16 PM
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

Okay, but does my site look normal to you, or does it look hacked? What would you recommend I do here?

ForceHSS
10-10-2013, 02:19 PM
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

Its easy just upload the 4.2.1 files and run the upgrade.php it will give you two options at the start pick the one on the left

Arrogant-One
10-10-2013, 02:21 PM
Its easy just upload the 4.2.1 files and run the upgrade.php it will give you two options at the start pick the one on the left

How do I run the

upgrade.php

Thanks for your help.

eboggs_jkvl
10-10-2013, 02:21 PM
Okay, but does my site look normal to you, or does it look hacked? What would you recommend I do here?

Friend,

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:

An error occurred.

Sorry, the page you are looking for is currently unavailable.
Please try again later.

If you are the system administrator of this resource then you should check the error log for details.

Faithfully yours, nginx.

Elmer

findingpeace
10-10-2013, 02:29 PM
Okay, but does my site look normal to you, or does it look hacked? What would you recommend I do here?

Your site looks like it is failing to connect to the database. Is the information in your config.php file unchanged? Is your SQL database up and running?

eboggs_jkvl
10-10-2013, 02:41 PM
How do I run the

upgrade.php

Thanks for your help.

After you FTP your files to get 4.2.1 loaded again, go to
http://www.yoursitesname.com/forum/install/upgrade.php in your browser. (This information is from a previous post in this thread)You will need to enter your customer code from vb and then the update is done automatically. Apparently, there will be an option presented to you to select the version. Information given was select the left option to get 4.2.1. Before you do ANYTHING else after the update completes, you should go in and remove the folder called /install/ from your server.

This is from a 70 year old. Consider that as you proceed! :D

The message above that says you can reload 4.2.1 is news to me. Prior to that, I thought you had to get the ISP to do it from a backup. I was told you can't go backwards in vb updates.

But WHAT THE HELL DO I KNOW!

Elmer

--------------- Added 1381419869 at 1381419869 ---------------

OK. STRAIGHT UP! Does anyone know for sure that you can reload 4.2.1, run update, select from a "choice" the version that you want, and go back to 4.2.1!

I need a confirmation on this! If it is correct, v4.2.2 is fricken history on my forum. I will go back to v4.2.1 immediately.

Elmer

Disco_Dave
10-10-2013, 02:49 PM
OK. STRAIGHT UP! Does anyone know for sure that you can reload 4.2.1, run update, select from a "choice" the version that you want, and go back to 4.2.1!

I need a confirmation on this! If it is correct, v4.2.2 is fricken history on my forum. I will go back to v4.2.1 immediately.

Elmer

Only if you have a back up of the database from before you uploaded 4.2.2.

findingpeace
10-10-2013, 02:52 PM
Does anyone know what the benefits of 4.2.2 are over 4.2.1? Will my forum run faster with a new version of PHP? Or is it mostly updates to Facebook + PayPal and adding Panjo? I don't use any of those things, so I don't want to pursue this headache if it's not going to result in any performance or security improvements.

Thanks!

eboggs_jkvl
10-10-2013, 02:54 PM
Only if you have a back up of the database from before you uploaded 4.2.2.

OK, what happens if I don't? What do I lose?

I have the ISP making backups every night so I'm pretty sure they can put me back to "Monday" as I did the update on Tuesday morning. If they put me back to Monday, won't I be on 4.2.1 sans posts of Tuesday and today?

Elmer

--------------- Added 1381420533 at 1381420533 ---------------

Does anyone know what the benefits of 4.2.2 are over 4.2.1? Will my forum run faster with a new version of PHP? Or is it mostly updates to Facebook + PayPal and adding Panjo? I don't use any of those things, so I don't want to pursue this headache if it's not going to result in any performance or security improvements.

Thanks!


Dude! If you're on 4.2.1 STAY THERE! I wish to hell I had.

Elmer

ForceHSS
10-10-2013, 03:02 PM
You don't need a backup, upload the 4.2.1 files then run the upgrade.php it worked for me on all my sites I tested this first on my test site to make sure it worked first

Just make sure you pick the left side option when going from 4.2.2 to 4.2.1

eboggs_jkvl
10-10-2013, 03:03 PM
Thanks

Elmer

findingpeace
10-10-2013, 03:05 PM
Ok thanks Elmer! Will do. I'll duplicate our current forum in a test directory and run the upgrade to see how much would break.

eboggs_jkvl
10-10-2013, 03:08 PM
Ok thanks Elmer! Will do. I'll duplicate our current forum in a test directory and run the upgrade to see how much would break.


I wish I had the "smarts" to do this before I did the upgrade. I might not have multiple threads and a ticket open on here now.


Elmer

--------------- Added 1381423642 at 1381423642 ---------------

Status.

I reloaded 4.2.1 back on my forum.
I lost NO post data.
I turned on my 1 product that failed because of 4.2.2
I can now upload attachments.

Let me know when 4.2.3 comes out and I'll watch from the sidelines and see if there are any repercussions from the update BEFORE I update.


Thanks to all that responded. I staying on v4.2.1 for now. I'm too old for this nonsense.

Elmer

meaters
10-10-2013, 05:14 PM
Same here, this is the first time I regret a vbulletin upgrade!

Reverted back to 4.2.1 I

Thanks everyone for the help and comments.

RedTurtle
10-10-2013, 05:24 PM
I also upgraded to 4.2.2 without testing it first.

I usually keep a development site just for this reason but thought that this would be a minor upgrade with no major template changes so thought "**** it, lets do it live!".

A lot of things broke, including vBSEO and I also had the issue with not being able to upload attachments.

Luckily I keep daily database backups and had made one right before trying the upgrade so I dumped all the tables in my upgraded database, re-imported the 4.2.1 database and just re-uploaded the 4.2.1 files and I'm back in business on 4.2.1.

I didn't know that you could simply upload the 4.2.1 files and run the upgrade script and it would downgrade the database to 4.2.1, but that's pretty cool to know.

Arrogant-One
10-10-2013, 06:45 PM
After you FTP your files to get 4.2.1 loaded again, go to
http://www.yoursitesname.com/forum/install/upgrade.php in your browser.

This worked when I first upgraded to vB 4.1.12, but is not working today. The screen just goes blank.

Again, I uploaded vB 4.2.2 to my FTP, but there does not seem to be a config.php file in the includes folder. There is a config.php.new, but not a config.php

Is that a clue. I got the 4.2.2 from the members area of vbulletin.com, downloaded it from there. So am I looking in the wrong place for the config.php file?

I figure if I ensure all plugins are deactivated by adding text to the config.php, maybe that will help, but I need to find or upload that file first.

eboggs_jkvl
10-10-2013, 07:02 PM
This worked when I first upgraded to vB 4.1.12, but is not working today. The screen just goes blank.

Again, I uploaded vB 4.2.2 to my FTP, but there does not seem to be a config.php file in the includes folder. There is a config.php.new, but not a config.php

Is that a clue. I got the 4.2.2 from the members area of vbulletin.com, downloaded it from there. So am I looking in the wrong place for the config.php file?

I figure if I ensure all plugins are deactivated by adding text to the config.php, maybe that will help, but I need to find or upload that file first.

Did you reload the older version? The /install/ folder should have been deleted after your last update. The /install/ will function if you reload all of the older files, like I did to get to 4.2.1.


Also, as explained to me, vb does NOT bring a new config.php in an update. Instead they load a config.php.new so as not to overwrite a config.php that you might be using with special stuff in it. You can just create a new config.php and load the line of code in it to help solve your problems. I think it needs to go into the /includes/ folder. Most likely you have a config.php already loaded in your /includes/ folder.



Elmer

meaters
10-10-2013, 07:54 PM
Delete config.php.new and replace with config.php from your 4.2.1 version.

eboggs_jkvl
10-10-2013, 08:06 PM
I don't think config.php.new is doing anything in there. My config.php had my pertinent data in it to make the forum run. The "new" file was from vb for the update and it doesn't run as far as I know. I looked at config.php.new and it has blanks in places that point to the data base, the pw to access the db, admin access (listed by ID#), bunches of stuff. I wouldn't want vb to overwrite my config.php or my board would die just for that reason alone.

ForceHSS
10-10-2013, 08:21 PM
Here is a fix for 4.2.2

In class_core.php
Line 5683 change this

case E_NOTICE:
// Just ignore these completely //
break;

to this

case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely //
break;

meaters
10-10-2013, 08:31 PM
Thanks man...just one question will this solve problems with broken templates as well or will it just supress the error messages?

Thanks for your time.

ForceHSS
10-10-2013, 08:35 PM
That is for attachments fix as I don't have them other things I can't test for them. About the error messages you are getting you need to edit your php.ini file and put



; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "America/Los_Angeles"

; http://php.net/date.default-latitude
date.default_latitude = 34.3981

; http://php.net/date.default-longitude
date.default_longitude = 118.1358

; http://php.net/date.sunrise-zenith
;date.sunrise_zenith = 90.583333

; http://php.net/date.sunset-zenith
;date.sunset_zenith = 90.583333
but only if you are getting the error with the date


something like


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/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 4912


or

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/Chicago' for 'CDT/-5.0/DST' instead in ..../includes/functions.php on line 5104


--------------- Added [DATE]1381441452 at 1381441452 ---------------

Thanks man...just one question will this solve problems with broken templates as well or will it just supress the error messages?

Thanks for your time.
can you post the error messages u are getting

meaters
10-10-2013, 08:50 PM
I have a problem with bootstrap.php

https://vborg.vbsupport.ru/external/2013/10/55.png

ForceHSS
10-10-2013, 08:52 PM
That's a problem with a plugin you have. Have you got any out of date plugins you could disable all plugins then enable each one to see what one is causing the problem

tbworld
10-10-2013, 09:04 PM
@ForceHSS is right, it is a warning error in PHP from one of your MOD's. Make sure you read this from @PaulM:
http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released

Or look for a plugin with hook "global_bootstrap_complete", should narrow down your search for the product.

On the plugin page you can search by hook name. The header links are clickable.

Find the Product (MOD) and then we can help you further.

Hope this helps :)

eboggs_jkvl
10-10-2013, 09:14 PM
Will that fix the "upload attachment" issue too?

I still have a product in trouble and there's no reason for me to go back to 4.2.2 if the upload attachment issue is not resolved. The product thing can be worked out with the software guy but the upload thing is totally a kill for 4.2.2

Elmer

ForceHSS
10-10-2013, 09:23 PM
Will that fix the "upload attachment" issue too?

I still have a product in trouble and there's no reason for me to go back to 4.2.2 if the upload attachment issue is not resolved. The product thing can be worked out with the software guy but the upload thing is totally a kill for 4.2.2

Elmer
the fix I posted is the fix for attachments
but do put a test server up and test all things before u update live site if you want to be sure and always backup first
https://vborg.vbsupport.ru/showpost.php?p=2451966&postcount=56

eboggs_jkvl
10-10-2013, 09:29 PM
the fix I posted is the fix for attachments
but do put a test server up and test all things before u update live site if you want to be sure and always backup first
https://vborg.vbsupport.ru/showpost.php?p=2451966&postcount=56

Ok, I'll think on it. I'm still chasing down the program glitch. It is a "VB Pro Garage" program and I have a car site, Jacksonville Corvette Club. Without the garage, the members would kill me! :D

Elmer

Exeter
10-10-2013, 09:40 PM
For those of you with the attachment problem: which version of PHP are you runnning?

I ran into the attachment issue when I tried running VB4.1.X with PHP5.4. A downgrade to PHP5.3 fixed the issue.

Now I am running VB4.2.2 with PHP5.3 and everything works.

meaters
10-10-2013, 10:39 PM
@ForceHSS is right, it is a warning error in PHP from one of your MOD's. Make sure you read this from @PaulM:
http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released

Or look for a plugin with hook "global_bootstrap_complete", should narrow down your search for the product.

On the plugin page you can search by hook name. The header links are clickable.

Find the Product (MOD) and then we can help you further.

Hope this helps :)

Hi man,

Many thanks for your reply.

Only plugin with "global_bootstrap" is Forum Runner :(

http://store.img-share.eu/6_pngGja0lyB.png

HELP!

http://store.img-share.eu/e_pngeLnqt3v.png

ozzy47
10-10-2013, 10:43 PM
Ok disable forum runner and see if the errors go away.

tbworld
10-10-2013, 10:45 PM
Sorry, I looked at the wrong line number. I should have told you this hook: "process_templates_complete".

Oh wonder you did not find it -- I am doing a bit too much multitasking:)

Thanks for the great return feedback. That picture in this case told me everything.

ozzy47
10-10-2013, 10:49 PM
That would be a blond moment :)

eboggs_jkvl
10-10-2013, 10:53 PM
To be sure, the above fix is for an attachment problem not the "Upload attachment" issue? I just want to be clear on "attachments"

tbworld
10-10-2013, 10:54 PM
That would be a blond moment :)

<Grin>

--------------- Added 1381449434 at 1381449434 ---------------

To be sure, the above fix is for an attachment problem not the "Upload attachment" issue? I just want to be clear on "attachments"

State which post you are referring too. This thread has become a little wobbly. :)

ForceHSS
10-10-2013, 11:47 PM
think he meant mine tbworld

KHALIK
10-11-2013, 12:06 AM
it's the "= &" or "=&" you're looking for. You need to remove the "&".

Thank you, I love you.

tbworld
10-11-2013, 12:23 AM
think he meant mine tbworld

No problem @ForceHSS, you can own it :) <Grin>

meaters
10-11-2013, 12:33 AM
Sorry, I looked at the wrong line number. I should have told you this hook: "process_templates_complete".

Oh wonder you did not find it -- I am doing a bit too much multitasking:)

Thanks for the great return feedback. That picture in this case told me everything.

http://store.img-share.eu/r_pngz28d2BD.png

No problem, here is another pic for you but as I explained in this thread (https://vborg.vbsupport.ru/showthread.php?t=303187) disabling the mod doesn't solve the issue.

Errors remain ontop, the forum sidebar is pushed to the bottom and text overlaps everywhere.

I hope Paul M reads this, he's been away all day.

ozzy47
10-11-2013, 12:39 AM
Did you by chance try disabling all your mods and see if the error is still there?

Open your config.php and below<?php add this line:

define('DISABLE_HOOKS', true);

So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2

Digital Jedi
10-11-2013, 01:49 AM
Does anyone know what the benefits of 4.2.2 are over 4.2.1? Will my forum run faster with a new version of PHP? Or is it mostly updates to Facebook + PayPal and adding Panjo? I don't use any of those things, so I don't want to pursue this headache if it's not going to result in any performance or security improvements.

Thanks!
The list of what's been updated is posted here: http://www.vbulletin.com/go/422

Take complaints about the update problems with a grain of salt. They're mostly directly related to modification conflicts. And will depend on the users level of understanding of certain things. Not to mention their level (or lack) of patience.

eboggs_jkvl
10-11-2013, 12:57 PM
The list of what's been updated is posted here: http://www.vbulletin.com/go/422

Take complaints about the update problems with a grain of salt. They're mostly directly related to modification conflicts. And will depend on the users level of understanding of certain things. Not to mention their level (or lack) of patience.


Well, sir, my grain of salt was a site down with no clue why. I've done every update faithfully upon it's release and have not had any issues other than 1 previous problem of "uploading attachments" which proved to be some setting that the ISP needed to make. I accepted that issue as it took a few hours and they located the problem easily through error messages. HOWEVER, the site was functioning perfectly and the one problem they were chasing could "wait" and a later fix was acceptable.

This time, my site was giving a full screen of scrolling warnings and then the forum displayed. The error messages were not coming ICW the upload problem and the ISP was spinning their wheels trying to figure out the issue. Without answers or clues, I saw no reason to stay on 4.2.2 and weather the storm hoping for a cure. Yes, being limited on my coder knowledge, I un-updated back to 4.2.1 as that one worked and currently IS working.

I lost a program called VB Garage Pro and the forum I run is Jaxvette.com. Missing the car information from a car site is not an option. Was it vBulletin's fault? Probably not as it was an added program so I'll try and deal with that issue with the other vendor. That was my "modification" conflict and was trouble shot quickly so that really wasn't the issue as that didn't hamper my board's function. I'm still working with that vendor.

So, in conclusion, the forum once again lost the ability to upload attachments. Why? I still haven't gotten an answer for that. It may be on here by now but I haven't scoured the site today to dig out the answer. My patience was a full day of "try this" to see if it fixes it. Well we got the warnings cleared but the upload and garage were still messed up and no prospects of them ever getting corrected.

I'm not mad about this, I'm disappointed. I now have to read the forum and google the world on every update to see what issues are presented. Then, and only then, I can do the update with all of the OMGs on file so I can keep my site up.

True, I'm not a coder, but I am an end user. Without end users, companies fail in a Capitalistic society.

Elmer Boggs


Edit

Nope, no clue yet as to why the upload attachments is failing on 4.2.2. Bear in mind that I'm not the one person in the whole world with this issue. The last time I think it was a "Post bit" issue but nothing so far on the current issue.

ikorolis
10-11-2013, 01:46 PM
Hello everyone

Unfortunately I made the mistake to pass the software upgrade without you suspect that could be a problem as it was the first time that I upgrade the software.

now is the only way as there is no backup before upgrading nor can I do a clean installation from start (preferred quitting altogether my website to convert the blog to put another open source software)

expect to make some kind of upgrade that will fix the problems

an error message that I took after the installation was this:


Warning: Function split() is deprecated in ..../forum.php(791) : eval()'d code on line 265


(Anyway have update this Mod / Plugin VSa - Visitors In Last X Hours v3.0.5)

Follow instructions and have edit this file class_core.php (includes)
locate lines 5683-5685

Code:
case E_NOTICE:
// Just ignore these completely //
break;

Add lines for Deprecated and/or Strict errors as required ;

Code:
case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely //
break;
This will bypass the additional error reporting.

and see this errors on error.log

11-Oct-2013 01:31:39 Europe/Athens] PHP Fatal error: Class 'vB' not found in /home/*****/public_html/includes/class_bootstrap_framework.php on line 101
[11-Oct-2013 01:31:41 Europe/Athens] PHP Fatal error: Class 'vB' not found in /home/*****/public_html/includes/class_bootstrap_framework.php on line 101
[11-Oct-2013 02:11:34 Europe/Athens] PHP Warning: set_error_handler() expects the argument (vb_error_handler) to be a valid callback in /home/*****/public_html/includes/init.php on line 57
[11-Oct-2013 02:11:34 Europe/Athens] PHP Fatal error: Class 'vB_Registry' not found in /home/*****/public_html/includes/init.php on line 60
[11-Oct-2013 02:11:36 Europe/Athens] PHP Warning: set_error_handler() expects the argument (vb_error_handler) to be a valid callback in /home/*****/public_html/includes/init.php on line 57
[11-Oct-2013 02:11:36 Europe/Athens] PHP Fatal error: Class 'vB_Registry' not found in /home/*****/public_html/includes/init.php on line 60
[11-Oct-2013 02:11:37 Europe/Athens] PHP Warning: set_error_handler() expects the argument (vb_error_handler) to be a valid callback in /home/*****/public_html/includes/init.php on line 57
[11-Oct-2013 02:11:37 Europe/Athens] PHP Fatal error: Class 'vB_Registry' not found in /home/*****/public_html/includes/init.php on line 60

init.php
Line 57 set_error_handler('vb_error_handler');
Line 60 $vbulletin = new vB_Registry();

class_bootstrap_framework.php
Line 101 vB::init($relative_path);

Anyidea how to fix?

Shared Hosting Package

Server Type Linux
Web Server Apache v2.2.24
PHP 5.3.23
MySQL Version 5.1.70-cll

Time Date Setting (PHP)


date

date/time support enabled
"Olson" Timezone Database Version 2013.2
Timezone Database external
Default timezone Europe/Athens

date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone Europe/Athens Europe/Athens

Peafor
10-11-2013, 02:44 PM
You don't need a backup, upload the 4.2.1 files then run the upgrade.php it worked for me on all my sites I tested this first on my test site to make sure it worked first

Just make sure you pick the left side option when going from 4.2.2 to 4.2.1

I think I might have to try this.

I also did the upgrade and got errors, thankfully I took back ups of database and forum folder. However, silly me, I reverted to the 4.2.0 patch 3 forum folder but did not replace the database to the saved version.

Now I have a 4.2.2 database with 4.2.0 patch 3 forum. :(

My only option is to try ForceHSS suggestion above or revert to the last saved 'old' version of my database/forum, which was yesterday morning, but I will lose members and posts that have happened in the mean time.

Can I just ask ForceHSS - when you say 'pick the left side option' what does this mean?

I appreciate this thread, don't feel so alone now. :)

weave
10-11-2013, 04:33 PM
If you did the mods to class_core.php - lines 5683-5685 like this:


case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely
// break;



Some people have had success with adding in "case E_WARNING:"

So your code would be:


case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
case E_WARNING:
// Just ignore these completely
// break;



I did not have to add "case E_WARNING:" to my forum and I am fully up and functional 4.2.2 with no known issues reported. This upgrade for sure SUCKS and I feel for all of you who have not been able to get past it.

For additional info I am on:

vBulletin 4.2.2
MySQL 5.5.30
PHP Version 5.3.27

For those wondering what these things are "doing"....

E_NOTICE -- "Run-time notices. Indicate that the script encountered something that could indicate an error, but could also happen in the normal course of running a script."

E_STRICT -- "Enable to have PHP suggest changes to your code which will ensure the best interoperability and forward compatibility of your code. "

E_DEPRECATED -- "User-generated warning message. This is like an E_DEPRECATED, except it is generated in PHP code by using the PHP function trigger_error()."

E_WARNING -- "Run-time warnings (non-fatal errors). Execution of the script is not halted."

Digital Jedi
10-11-2013, 04:41 PM
Well, sir, my grain of salt was a site down with no clue why. I've done every update faithfully upon it's release and have not had any issues other than 1 previous problem of "uploading attachments" which proved to be some setting that the ISP needed to make. I accepted that issue as it took a few hours and they located the problem easily through error messages. HOWEVER, the site was functioning perfectly and the one problem they were chasing could "wait" and a later fix was acceptable.

This time, my site was giving a full screen of scrolling warnings and then the forum displayed. The error messages were not coming ICW the upload problem and the ISP was spinning their wheels trying to figure out the issue. Without answers or clues, I saw no reason to stay on 4.2.2 and weather the storm hoping for a cure. Yes, being limited on my coder knowledge, I un-updated back to 4.2.1 as that one worked and currently IS working.

I lost a program called VB Garage Pro and the forum I run is Jaxvette.com. Missing the car information from a car site is not an option. Was it vBulletin's fault? Probably not as it was an added program so I'll try and deal with that issue with the other vendor. That was my "modification" conflict and was trouble shot quickly so that really wasn't the issue as that didn't hamper my board's function. I'm still working with that vendor.

So, in conclusion, the forum once again lost the ability to upload attachments. Why? I still haven't gotten an answer for that. It may be on here by now but I haven't scoured the site today to dig out the answer. My patience was a full day of "try this" to see if it fixes it. Well we got the warnings cleared but the upload and garage were still messed up and no prospects of them ever getting corrected.

I'm not mad about this, I'm disappointed. I now have to read the forum and google the world on every update to see what issues are presented. Then, and only then, I can do the update with all of the OMGs on file so I can keep my site up.

True, I'm not a coder, but I am an end user. Without end users, companies fail in a Capitalistic society.

Elmer Boggs


Edit

Nope, no clue yet as to why the upload attachments is failing on 4.2.2. Bear in mind that I'm not the one person in the whole world with this issue. The last time I think it was a "Post bit" issue but nothing so far on the current issue.

My coding knowledge is limited, as well. I have no education in the field. Almost everything I know is directly related to my time spent using this software, and on this board specifically. As such, I would never tell anyone not to upgrade, just because I couldn't get something to work. And certainly, not because the solution wasn't sorted out in a day. Boards are work. Boards are complex. Sometimes your lack of knowledge on something means you won't sort a problem out today, this month, this year. It's the nature of the beast. My post said to take complaints with a grain of salt, because a person's decision to upgrade should be based on the all available information. I don't think people, especially people who are in the midst of a problem, should be telling anyone with vehemence not to upgrade. That's why comment said what it said, and what I was specifically addressing.

AndrewSimm
10-11-2013, 05:00 PM
If you have errors after the upgrade start disabling plugins one by one until the errors go away. Also upgrade to php 5.4.20 if possible.

weave
10-11-2013, 05:11 PM
If you have errors after the upgrade start disabling plugins one by one until the errors go away. Also upgrade to php 5.4.20 if possible.

My test board is PHP Version 5.4.19 and has all the same issues I saw in the hosted 5.3 server. I will kick it up to .20 and see if that just "fixes" it all

ForceHSS
10-11-2013, 06:16 PM
I think I might have to try this.

I also did the upgrade and got errors, thankfully I took back ups of database and forum folder. However, silly me, I reverted to the 4.2.0 patch 3 forum folder but did not replace the database to the saved version.

Now I have a 4.2.2 database with 4.2.0 patch 3 forum. :(

My only option is to try ForceHSS suggestion above or revert to the last saved 'old' version of my database/forum, which was yesterday morning, but I will lose members and posts that have happened in the mean time.

Can I just ask ForceHSS - when you say 'pick the left side option' what does this mean?

I appreciate this thread, don't feel so alone now. :)
Install the version you had before the updating of 4.2.2 when you run the upgrade.php you will see a option before you click the upgrade if you dont understand I can post a screenshot

meaters
10-11-2013, 06:36 PM
My test board is PHP Version 5.4.19 and has all the same issues I saw in the hosted 5.3 server. I will kick it up to .20 and see if that just "fixes" it all

Awesome, that will help a lot as I am also on PHP 5.4.20

Good luck man please post how it goes.

eboggs_jkvl
10-11-2013, 11:37 PM
Ok, after much tension and nerves stress, the board is up and running with all functionality.

I really appreciate the help on this and hopefully won't have the smoking software the next update that comes down.

The "fix" was to

edit class_core.php

and add lines 5683-5686
case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
case E_WARNING:

Thanks again to all for helping this 70 year old geezer through this.

Elmer

meaters
10-12-2013, 12:03 AM
Awesome!

I've fixed some of the errors too but one remains in album.php

Can you help?

http://store.img-share.eu/r_pngX0uvahE.png

ForceHSS
10-12-2013, 12:45 AM
Ok, after much tension and nerves stress, the board is up and running with all functionality.

I really appreciate the help on this and hopefully won't have the smoking software the next update that comes down.

The "fix" was to

edit class_core.php

and add lines 5683-5686
case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
case E_WARNING:


Thanks again to all for helping this 70 year old geezer through this.

Elmer

Your welcome

Paul M
10-12-2013, 01:35 AM
Im curious why people resort to editing files before trying the options already provided.

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released?p=4000466#post4000466

1. Use the option provided in 4.2.2 to suppress these messages if you have products or hooks in use that still generate errors.

Goto : Settings > Options > Plugin/Hook System and then set the "PHP Compatability" setting to 'Yes'.

This will change the error reporting options within vBulletin on the first hook that is run.

If you have vBulletin Suite (i.e. Blogs / CMS) this setting will pretty much disable all the new Strict & Deprecated messages anywhere.
If you have vBulletin Forum only, and have the Panjo enabled, this setting will also pretty much disable all the new Strict & Deprecated messages anywhere.

I havent seen anyone mention they tried this option first.

Paul M
10-12-2013, 01:37 AM
I hope Paul M reads this, he's been away all day.
I do have a life outside of forums, aside from the fact I work during the day. :p

AusPhotography
10-12-2013, 02:47 AM
for those with issues...
1. The 4.2.2 upgrade is very solid! (i.e. a vanilla vB site wont have problems)
2. All the issues we have had are due to add-ons (in test)
3. I'm waiting for DBtech and a few others to remediate their products
4. You have the option of suppressing the errors, but that has side effects (i.e. you miss errors that really need to be dealt with)

Peafor
10-12-2013, 08:54 AM
Im curious why people resort to editing files before trying the options already provided.

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released?p=4000466#post4000466


I havent seen anyone mention they tried this option first.

I wanted to try it but all the errors had locked me out of the admin panel, I couldn't get in to turn them off. :(

--------------- Added 1381571945 at 1381571945 ---------------

Install the version you had before the updating of 4.2.2 when you run the upgrade.php you will see a option before you click the upgrade if you dont understand I can post a screenshot

Thanks for taking the time to reply. I couldn't get that far, it kept saying the install folder was not there, when it was.

I've given up now and reverted to the last safe version I had, lost two days of posts but our members are great and we will get over it. It was not worth any more stress or loss of sleep.

One thing I can't understand is that I have two forums, identical in every way except content. What I do to one I do the the other. They are on the same server. I upgraded one without a problem, that is why I assumed the 2nd would be just as easy, it wasn't and produced all these errors. :huh:

Hey ho, life is too short for stressing. :)

Thanks for your help though, appreciated.

Good luck with everyone in getting your sites sorted.

eboggs_jkvl
10-12-2013, 11:35 AM
Im curious why people resort to editing files before trying the options already provided.

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released?p=4000466#post4000466


I havent seen anyone mention they tried this option first.

Option 2 is what fixed the "Upload attachment" problem.

Elmer

--------------- Added 1381582220 at 1381582220 ---------------

Um... one tiny little question for the coders on here.

Since I edited the class_core.php, what happens when I update to 4.2.3? Will I lose that edit and need to re-edit the file and add the lines again?

Elmer

Digital Jedi
10-12-2013, 12:48 PM
Option 2 is what fixed the "Upload attachment" problem.

Elmer

--------------- Added 1381582220 at 1381582220 ---------------

Um... one tiny little question for the coders on here.

Since I edited the class_core.php, what happens when I update to 4.2.3? Will I lose that edit and need to re-edit the file and add the lines again?

Elmer
I would imagine a new version would account for it. Or if class_core hasn't had any changes between versions, you could just use it.

justicechick
10-12-2013, 02:40 PM
Im curious why people resort to editing files before trying the options already provided.

http://www.vbulletin.com/forum/forum/vbulletin-announcements/vbulletin-announcements_aa/4000121-vbulletin-4-2-2-full-has-been-released?p=4000466#post4000466


I havent seen anyone mention they tried this option first.

I tried it...didnt work. I've seen some say they went back to 4.2.1, yet Ive also read that once you upgrade you cant revert ????? :confused:

As someone that is new to all of this I would much rather not have to be doing walk arounds and rigging to get things to work that typically should never cross my mind. However, Ive been at it since the upgrade started throwing off the time zone error right on up until now, I fix one things and find another. :)

--------------- Added 1381593051 at 1381593051 ---------------

I would imagine a new version would account for it. Or if class_core hasn't had any changes between versions, you could just use it.

Im wondering the same thing. I was dealing with a qwa.qwa@qa that kept putting themselves into the usergroup admin, regardless how many times we banned them. So I was looking for a solutions to keep them out or else I would have stayed with my 4.2.1... To bad I found out to late that I needed to delete the entire install directory, not just the install/install.php! LOL I traded one problem for what seems like a entire apple cart full of them. Thankfully there are some smart ppl here that always seem to have the answer for anyone who can follow a few directions. :up:

Paul M
10-12-2013, 05:23 PM
I wanted to try it but all the errors had locked me out of the admin panel, I couldn't get in to turn them off. :(

Then you would need to disable hooks via the config file, then login and turn the option on. You could then re-enabled hooks.

Paul M
10-12-2013, 05:28 PM
I tried it...didnt work. I've seen some say they went back to 4.2.1, yet Ive also read that once you upgrade you cant revert ????? :confused:
Please be more than specific than "didnt work". Id like to know under what circumstancs it would not work.

As for reverting, there are no database changes from 4.2.1 to 4.2.2, so you could quite easily re-upload 4.2.1 and it would work.
I would suggest if you did this that you turn debug mode on and reset the version back to 4.2.1 in Options > Untouchables (then turn debug back off).

justicechick
10-12-2013, 10:36 PM
Please be more than specific than "didnt work". Id like to know under what circumstancs it would not work.

As for reverting, there are no database changes from 4.2.1 to 4.2.2, so you could quite easily re-upload 4.2.1 and it would work.
I would suggest if you did this that you turn debug mode on and reset the version back to 4.2.1 in Options > Untouchables (then turn debug back off).

I try the setting in options > Plugins > PHP Compatability. Turning it on alone didnt solve the error codes I was getting. I did the code edit , I had seen

(2. For those who feel comfortable with editing files.

In class_core.php locate lines 5683-5685 (class_core.php is in the 'includes' folder)
Code:

case E_NOTICE:
// Just ignore these completely //
break;

Add lines for Deprecated and/or Strict errors as required ;

Code:

case E_NOTICE:
case E_STRICT:
case E_DEPRECATED:
// Just ignore these completely //
break;

This will bypass the additional error reporting. )

And its working fine now. Thanks