vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   New Site/Domain login issue (https://vborg.vbsupport.ru/showthread.php?t=320482)

crazyboy1661 10-10-2015 06:24 AM

New Site/Domain login issue
 
Yesterday I have purchased a new domain from godaddy and renamed the name servers to point it to my hosting company. Today morning I hv edited the config file and .htaccess moved all the old site files to new domain through FTP. Then uploaded the db file to dbase.

But when i tried to log into my admin panel. It is redirecting to the old site. I am neither log into my account or register to the new site. Everything is pointing to the old site only.

I don't know where i have failed to edit the settings.

Need your help plz

RichieBoy67 10-10-2015 10:53 AM

Did you change the settings for the url in the admincp before moving? If not you can do it through phpadmin in the settings table. Just look for the old domain there and change it to the new one.

crazyboy1661 10-10-2015 02:56 PM

@RichieBoy67,
Did you change the settings for the url in the admincp before moving?
No I did not

If not you can do it through phpadmin in the settings table. Just look for the old domain there and change it to the new one.
I tried to do it as you said. But lack of knowledge there, i came back.

Actually I am about to move the entire old domain files to the new domain. For that i have taken backup of both root files and DBfile. But the thing is i have done some changes to the old domain files which doesn't meet my requirements. So I have uploaded the backup files to the new domain. So there is no chance of changing the settings for the urls in admin cp. But changed the .htaccess and config files before to uploading them to the new domain.

Now, when i am typing the new domain address, in the address bar the new domain name is visible but I am not able to login to my admincp. If i have tried to register it is poing to the old domain.

The old domain is working fine but the new one is not permitting me to enter into it

thanks for your reply

Lynne 10-10-2015 03:52 PM

When you create the database backup to use for the new domain, make sure to turn off the vbulletin site, go to AdminCP > Settings > Options > Site Name/URL/etc > Forum URL and change the domain to the new domain and then make the database backup and use this backup for the new domain/site. (Then you can change it back to what it was and turn back on your site.)

crazyboy1661 10-11-2015 12:36 AM

Quote:

Originally Posted by Lynne (Post 2556745)
When you create the database backup to use for the new domain, make sure to turn off the vbulletin site, go to AdminCP > Settings > Options > Site Name/URL/etc > Forum URL and change the domain to the new domain and then make the database backup and use this backup for the new domain/site. (Then you can change it back to what it was and turn back on your site.)

@Lynne you are correct. But unfortunately it was happened. Is there any way to make it correct and enter into the site with admin privileges?

I don't know which file to edit for the present position. Hope you can save me from this.

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

Quote:

Originally Posted by Lynne (Post 2556745)
When you create the database backup to use for the new domain, make sure to turn off the vbulletin site, go to AdminCP > Settings > Options > Site Name/URL/etc > Forum URL and change the domain to the new domain and then make the database backup and use this backup for the new domain/site. (Then you can change it back to what it was and turn back on your site.)

Thanks @Lynne; Today i have replaced all the root and db files with the backup files on a test subdomain and as you said renamed the urls and moved those files to the new domain root and upgraded. Now it is working fine and thanks to all for your replies

RichieBoy67 10-11-2015 12:22 PM

I would have given you the same instructions as Lynne but seeing as the site was already installed opening phpadmin and editing the settings table would have been much easier. Ofcourse if doing it from the start you should change the domain settings before backing up and moving.

For next time:
It(phpadmin) should be an option on your server. You just log in using the same database info you entered in your config file. Once there you see the list of table in alphabetical order on the left side. Scroll through until you see the settings table and then click on it and choose "browse".. Then scroll through looking for your url, change it to your new one where ever you see it. Simply click on the url and enter your new one.. Bam.. done in about 30 seconds. Much easier then switching back to your old domain, changing the admincp, backing up and then reimporting.

Lynne 10-11-2015 05:35 PM

Quote:

Originally Posted by RichieBoy67 (Post 2556779)
For next time:
It(phpadmin) should be an option on your server. You just log in using the same database info you entered in your config file. Once there you see the list of table in alphabetical order on the left side. Scroll through until you see the settings table and then click on it and choose "browse".. Then scroll through looking for your url, change it to your new one where ever you see it. Simply click on the url and enter your new one.. Bam.. done in about 30 seconds. Much easier then switching back to your old domain, changing the admincp, backing up and then reimporting.

Actually, not quite that easy. It needs to be changed in the datastore table also, which is serialized data. Just changing it in the settings table will not fix the issue. So, he'd have to either fix it in the datastore table (and if you aren't familiar with serialized data, you can screw this up) or you would need to upload the tools.php file to the /admincp (as well as upload the /install directory) and then Rebuild the Bitfields. That will fix the datastore table entries.

RichieBoy67 10-12-2015 02:00 AM

Thanks Lynne, Your right, better to change in both the settings and datastore. A search in phpadmin will find the old urls to change.

That's why you get the big bucks. :D

Lynne 10-12-2015 03:41 PM

Quote:

Originally Posted by RichieBoy67 (Post 2556835)
That's why you get the big bucks. :D

https://vborg.vbsupport.ru/external/2015/10/2.gif


All times are GMT. The time now is 07:42 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.01068 seconds
  • Memory Usage 1,737KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete