Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-26-2016, 01:25 PM
chikuru chikuru is offline
 
Join Date: Nov 2011
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Change domain via phpmyadmin

What are the steps needed to change the domain via phpmyadmin? I already changed the URL in bburl but its still redirecting to old site when trying to login via admincp
Reply With Quote
  #2  
Old 08-26-2016, 01:58 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're still being redirected to the old site because it's cached in the datastore. You have to clear the datastore.
Reply With Quote
  #3  
Old 08-26-2016, 02:10 PM
chikuru chikuru is offline
 
Join Date: Nov 2011
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
You're still being redirected to the old site because it's cached in the datastore. You have to clear the datastore.
Can you tell me how to clear it from pypmyadmin?
Reply With Quote
  #4  
Old 08-26-2016, 03:41 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Copy the install directory from your upload folder to the core directory, then copy the tools.php file from the do_not_upload folder. Navigate to the example.com/your_forum/core/install/tools.php and set the directory in Other Tools > Location of Website. Trying to do it in the database is just asking for all kinds of problems and isn't recommended.
Reply With Quote
  #5  
Old 08-26-2016, 04:26 PM
chikuru chikuru is offline
 
Join Date: Nov 2011
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
Copy the install directory from your upload folder to the core directory, then copy the tools.php file from the do_not_upload folder. Navigate to the example.com/your_forum/core/install/tools.php and set the directory in Other Tools > Location of Website. Trying to do it in the database is just asking for all kinds of problems and isn't recommended.
This is already pointing to newer domain. However its still redirecting me to old domain whenever I try logging in only..
Reply With Quote
  #6  
Old 08-26-2016, 04:31 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I recently had an issue like this one and it was a 301 redirect in the cpanel that was causing the issue. After deleting the 301, the site came up and worked within 20 minutes.
Reply With Quote
  #7  
Old 08-26-2016, 04:35 PM
chikuru chikuru is offline
 
Join Date: Nov 2011
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
I recently had an issue like this one and it was a 301 redirect in the cpanel that was causing the issue. After deleting the 301, the site came up and worked within 20 minutes.
There is no redirect in place. Maybe its datastore cache as what Dave is referring? Do you know how to clear it?
Reply With Quote
  #8  
Old 08-26-2016, 04:49 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I assumed you already executed these SQL queries.

Code:
update setting set value = 'http://mynewdomain.com' where varname='frontendurl';
update setting set value = 'http://mynewdomain.com' where varname='frontendurl_login';
update setting set value = 'http://mynewdomain.com/core' where varname='bburl';
You have to run this one to delete the options in datastore.
Code:
delete from datastore where title in ('options', 'publicoptions', 'miscoptions');
Add the table prefix if any.

NOTE: Do this at your own risk. It is recommended to back up the database before doing this.
Reply With Quote
Благодарность от:
shimei
  #9  
Old 08-26-2016, 04:50 PM
shimei shimei is offline
 
Join Date: Feb 2015
Posts: 216
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chikuru View Post
There is no redirect in place. Maybe its datastore cache as what Dave is referring? Do you know how to clear it?
I ran into this problem but with templates stored as files, maybe this will solve your issue, running the sql query or get you on the right track.

https://www.christforums.org/forum/e...heets-as-files

If you have memcached you may need to remember to clear it, and cloudflare, you may want to pause your website while working on htaccess. At least with mine redirects ect sometimes don't show up immediately.
Reply With Quote
  #10  
Old 08-26-2016, 04:57 PM
chikuru chikuru is offline
 
Join Date: Nov 2011
Posts: 228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your input guys!

I already did those noypiscripter except for the last code you. Salamat

I reupload files and re run upgrade and its all working now. Not sure which one exactly fixed it but thanks for all the replies!
Reply With Quote
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:03 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.04441 seconds
  • Memory Usage 2,250KB
  • Queries Executed 11 (?)
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_code
  • (4)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
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete