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 01-12-2022, 10:28 AM
BillB1 BillB1 is offline
 
Join Date: Jan 2022
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Moving from 3.8 to 4.2

Gentlmen,

I need your advice on how to upgrade to 4.2.5
Testing on local PC using XAMPP:

Old Forum:
PHP Version: 5.6.32
Myadmin: 4.7.4
Vbulletin: 3.8.11
Custom syles
Runs perfect!

New forum:
Migrating database to
PHP 7.1.1
Myadmin: 4.6.5
Vbulletin: 4.2.5

Questions:
1. Do I create a new database and install VB 4.2.5 first then import vb 3.8 backup to it?
2. or Create new data base, restore vb 3.8 back up ?
3. In all cases when installing vb 4.2.5 it over writes the entire database tables.
4. I wish to keep the vb3.8. customized style, is there a tool to modify/upgrade the style to vb4.2?

Note:
If all goes well, I'll be upgrading to VB5

Thanks
Bill
Reply With Quote
  #2  
Old 01-12-2022, 01:47 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You do not need Xamp server. You can just back up and make a test site in a directory on your server if you wish. Run the upgrade script there and fix the theming, etc.

Or is your plan to build the site fresh in 4.2 and then import? Either method will work.

Basically create your new vbulletin site and use Impex to import from the old files and database.
Reply With Quote
  #3  
Old 01-12-2022, 06:41 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. Create new, there is no reason for an import.
2. Create new & import your backup, from the cmd line prefebly as the new server could time out importing thru phpmyadmin, you may have to tweak phps timeouts via php.ini.
3. You will run the upgrade script after uploading the new vb 4.x.x series php files to the server.
4. You should build a new style based off the old style, there are MANY things a 3.8 style wont have for functionality in the templates.
Reply With Quote
  #4  
Old 04-18-2022, 09:48 PM
templaters templaters is offline
 
Join Date: Jul 2005
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Or is your plan to build the site fresh in 4.2 and then import? Either method will work
New and clean is always best, vb4 is way different than vb3
Reply With Quote
  #5  
Old 05-26-2022, 05:48 PM
BillB1 BillB1 is offline
 
Join Date: Jan 2022
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Apology for the late reply; and appreciate all inputs
and yes backed old data up, fresh vb4.2.5 files, did the upgrade today; so far so good!

Note:
I wonder if it's possible to add (LIKE button) I've tried most mods here,
they seem outdated ( I believe the lastest mod is for 4.2.2) triggering errors.

--------------- Added [DATE]1653604847[/DATE] at [TIME]1653604847[/TIME] ---------------

Well! upgrade was too good to be true!

Anyone knows why I am getting this
after the upgrade?
PHP Code:
https://xxxxxx.net/vb4/forumdisplay.php5?8-%C7%E1%CF%C7%E4%C9-%C7%E1%C5%D3%E1%C7%E3%ED%C9 
It was like this:
PHP Code:
https://xxxxxx.net/vb/forumdisplay.php?f=8 
ALL counters updated via admincp.

Also, after creating a new user name/password, can't log in, redirects to forgot password!
Reply With Quote
  #6  
Old 06-03-2022, 02:28 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try fixing your AdminCP access issue using this article:
https://vbulletin.org/forum/showthread.php?t=259619

Any SEO modifications installed or were there .htaccess file modifications (rewrites) done?
Reply With Quote
Благодарность от:
BillB1
  #7  
Old 06-03-2022, 02:57 PM
BillB1 BillB1 is offline
 
Join Date: Jan 2022
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Many thanks.
adding define('DISABLE_HOOKS', true); did the trick.
SEO mod was installed on vb3.8 , uninstalled it prior to upgrade.

I don't see .htaccess file, do I need one to solve the problem these weird characters (%C7%E4%C) in URL .
Reply With Quote
  #8  
Old 06-30-2022, 07:52 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BillB1 View Post
Many thanks.
adding define('DISABLE_HOOKS', true); did the trick.
SEO mod was installed on vb3.8 , uninstalled it prior to upgrade.

I don't see .htaccess file, do I need one to solve the problem these weird characters (%C7%E4%C) in URL .
Apologies for the late reply (life!) but you would want to view hidden files, those may not always show depending on your settings, reference: https://kinsta.com/knowledgebase/fil...%20directories.

You may not be able to view the .htaccess file on the server if it's present, same with using a Mac (when you download the file, you can see it in the left pane of filezilla but until you rename it htaccess.txt it won't display initially).

The gist of this being, you want to test (make a copy of the file first) and remove any code that was included which helped the SEO mod you removed, function in a certain way i.e. a URL Rewrite (which is why those funky characters are still showing in the URLs). *If the SEO mod you removed was VBSEO by chance, you can use this guide to remove it: https://web.archive.org/web/20130122...all-vbseo-238/
Reply With Quote
  #9  
Old 07-03-2022, 07:52 AM
BillB1 BillB1 is offline
 
Join Date: Jan 2022
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No need for apology, life IS life

This is what had happened since our last conversation:

1. The 4.2.5 upgrade went smooth on Xampp, exported DB.sql file , and uploaded the entire directory to VBS, it's live now
https://dantdubai.net/vb

2. The solution: I found out there's a setting in admincp seems to control those weird characters in post URLs: settings>options> friendly URL>disabled and then > ignore option was the fix!

3. Next step:
upgrade 4.2 to 5 (testing on Xampp again)
seems smooth transition (no errors) as long as I am staying with PHP 5.4 on VB 5.4.5
Also it seems OK transition (with few php warnings NOT errors) when using PHP 7.1 on VB 5.5.2, Then hell breaks loose with PHP 7.4 on VB 5.6.8 ! I did try several database conversions namely ( utf8conver.phar) that smoked the hell out of the Arabic characters, no joy.

Interesting notes, after the conversion:
A. The VB 5.6.8/ php7.4 Arabic language pack works perfect on the forum files
but it destroys the actual Arabic texts in all old posts/old DB.

B. The VB 5.4.5 / php 5.6 works perfect on forum files and old posts as well.

With that being said, perhaps tweaking the actual Xampp server files is the answer?
I don't know, but will search and update accordingly.
meanwhile, to take advantage of the responsive VB5 mobile style, I'll have to stop at VB 5.4.5
until I find the proper way to convert the DB on php 7.4.

Excellent learning experience, thanks guys for all the help and support.

All the best!
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 06:22 PM.


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.05185 seconds
  • Memory Usage 2,255KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (1)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete