Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #51  
Old 10-10-2013, 05:24 PM
RedTurtle's Avatar
RedTurtle RedTurtle is offline
 
Join Date: May 2006
Location: California
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #52  
Old 10-10-2013, 06:45 PM
Arrogant-One's Avatar
Arrogant-One Arrogant-One is offline
 
Join Date: Jul 2007
Location: Brisbane
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by eboggs_jkvl View Post
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.
Attached Images
File Type: jpg ScreenShot of OzChess.jpg (121.4 KB, 0 views)
Reply With Quote
  #53  
Old 10-10-2013, 07:02 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Arrogant-One View Post
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
Reply With Quote
Благодарность от:
tbworld
  #54  
Old 10-10-2013, 07:54 PM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Delete config.php.new and replace with config.php from your 4.2.1 version.
Reply With Quote
  #55  
Old 10-10-2013, 08:06 PM
eboggs_jkvl eboggs_jkvl is offline
 
Join Date: Feb 2005
Location: Jacksonville Florida
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #56  
Old 10-10-2013, 08:21 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
Reply With Quote
Благодарность от:
biocyberman
  #57  
Old 10-10-2013, 08:31 PM
meaters meaters is offline
 
Join Date: Jul 2010
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #58  
Old 10-10-2013, 08:35 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

I have a problem with bootstrap.php

Reply With Quote
  #60  
Old 10-10-2013, 08:52 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
tbworld
Reply

Thread Tools
Display Modes

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 05:06 AM.


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.09192 seconds
  • Memory Usage 2,291KB
  • 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
  • (5)bbcode_code
  • (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
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (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
  • postbit_attachment
  • 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