Post by mazensalman » Tue Oct 13, 2015 1:04 pm

I moved my website from one domain to another and I modified both config.php files but any new order or customer are created on the old domain
please help

Newbie

Posts

Joined
Sun Jun 14, 2015 10:26 am

Post by uksitebuilder » Tue Oct 13, 2015 2:56 pm

That shouldn't happen

But just to clarify, when you say it is created on the old domain, do you mean that you are still running a store under the old domain as well as the new domain and orders are appearing in the old domain's admin control panel ?

If so, then you most likely haven't updated the database settings

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by mazensalman » Tue Oct 13, 2015 4:33 pm

yes that is what im saying and i think i should update the database setting but i dont know how.
can you please tell me what to do

Newbie

Posts

Joined
Sun Jun 14, 2015 10:26 am

Post by uksitebuilder » Tue Oct 13, 2015 6:36 pm

I'm assuming you have a new database set-up for your new domain/store ?

If so, you need to edit the settings in your config.php and admin/config.php files

Database Name
Database Username
Database Password

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by mazensalman » Tue Oct 13, 2015 8:22 pm

i did change both config files in my domain folder if that what you mean.
now i need to make the database changes.
do you know how?
can you tell me the steps?
thanks

Newbie

Posts

Joined
Sun Jun 14, 2015 10:26 am

Post by uksitebuilder » Tue Oct 13, 2015 8:29 pm

So you changed the vqlue for the database in the config.php and admin/config.php

If so, then the store should be posting order data etc to the new database, not the old one.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by mazensalman » Tue Oct 13, 2015 8:40 pm

ok i checked again and the modification was wrong thanks for your reply i really appreciate it

Newbie

Posts

Joined
Sun Jun 14, 2015 10:26 am
Who is online

Users browsing this forum: No registered users and 37 guests