vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Update to 4.2.2 blew up my board. (https://vborg.vbsupport.ru/showthread.php?t=303172)

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

1 Attachment(s)
Quote:

Originally Posted by eboggs_jkvl (Post 2451827)
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

Quote:

Originally Posted by Arrogant-One (Post 2451920)
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
Code:

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

to this
Code:

        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

Code:

[date]
; 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

Code:

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
Code:

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

Quote:

Originally Posted by meaters (Post 2451971)
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


All times are GMT. The time now is 11:01 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
  • Page Generation 0.02759 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete