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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2010, 04:38 PM
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Location: Nashville, TN
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How SHOULD I Handle MODS, when Upgrading from 4.x to < 4.x

Hello everyone,

I'm getting wore out on this 4.0 conversion! Each time I run the upgrade script, when it gets to the styles section at the very end, I get a "Fatal error: Out of memory", (however I have plenty of space in my hosting package, that's not the issue).

Then I have to delete my entire site and the database, and replace it all with my pre-upgrade backups, then go in and revert all my templates, then upload the new files for the upgrade, then run the upgrade script again. It is plain wearing me out!

Ok, I did all of this (a couple times) and made the transition from 3.8.4 to 4.0.1. I honestly didn't think it would be an issue upgrading from 4.0.1 to 4.0.2, but here I am again, facing the same Fatal error.



Prior to the upgrade from 4.0.1 to 4.0.2, I disabled all my mods, selected the default style as the primary, and even added the 'disable hooks' in the config file, but apparently that wasn't "good enough".

So again I'm deleting the site and database to upload my final pre-upgrade backup. Then I will uninstall a half dozzen mods I've installed, revert all the templates, upload the new files for 4.0.2, and again run the upgrade script.

Here is my question: Can I just disable the mods and revert my templates (instead of uninstalling the mods) OR do I need to uninstall all mods everytime I upgrade my vB? My thinking is that some of the mods may alter the templates when they are installed, so if I just disable them and revert the templates, though that may work for the vB upgrade, it will kill the mods to where I can't just enable them again. I'm thinking that if I physically uninstall the mods, and then reinstall the mods, that whatever changes (if any) they did to my templates, it will perform again when I reinstall them. Am I correct in my thinking? PLEASE tell me that there is an easier way!?!?!? Do I also need to completely uninstall any additional styles?

This has been an EXTREMELY frustrating transition!

How SHOULD I be facilitating upgrades (from within the 4.x family)? (I've probably read 20 different 'how-to' threads on this and am still scratching my head.)

Please help.

Thanks!
Jeff
Reply With Quote
  #2  
Old 02-19-2010, 09:00 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems like its a memory issue with php. Try to add the following cose somewhere below the starting php tag in the config.php file and run the upgrader once again:

PHP Code:
ini_set('memory_limit'64 1024 1024); 
Reply With Quote
  #3  
Old 02-19-2010, 09:18 PM
NashChristian's Avatar
NashChristian NashChristian is offline
 
Join Date: Jul 2007
Location: Nashville, TN
Posts: 292
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by borbole View Post
It seems like its a memory issue with php. Try to add the following cose somewhere below the starting php tag in the config.php file and run the upgrader once again:

PHP Code:
ini_set('memory_limit'64 1024 1024); 
Thanks for the help Borbole.

I've actually got it to work by doing as I said above, restoring the backups, reverting all the templates, then running the script again. I guess I'm really wondering for future upgrades, how I SHOULD handle MODS prior to upgrade. Should I uninstall them all and revert all the templates first, or should I just disable them and revert all the templates first, or ???

This 4.x transition has just been a nightmare so far.

Thanks again for your help.
Jeff
Reply With Quote
  #4  
Old 02-19-2010, 09:23 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The best way to go about it in my opinion is to disable the mods prior to the upgrade. It lessens the chances of throwing the occasional odd mod related error.

But whatever you do, always make a backup of your db first.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:16 PM.


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.04401 seconds
  • Memory Usage 2,197KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete