Jump to content
thirty bees forum

Recommended Posts

Posted

Hi!

Sometimes you take out victory a little early

I have cloned our shop, meaning comied all files and dumped the sql into a new created db all on a new domain

I have changed the shop url in the table ps_shop_url, but when I go to the new domain it directly redirect me to the old shop:

What have I missed to change??

Any help apreciated

Anders

Posted
2 minutes ago, Havouza said:

.htaccess is gone but which cache should I delete?

once you delete .htaccess you should re-create it. Have you done it?

I paste my steps (I toke it from PS forum and change it to use it in TB):

1. Copy all files via FTP
2. Duplicate database to other hoster
3. check the php settings at your new hoster!! (PS <= 1.6.1.3 is not yet PHP7 ready! so you wont see anything in these cases)
3. open Database and edit "tb_shop_url". Set the new path and domain for your new shop  (don't forget the last /)
4. edit config/settings.inc.php and set the new database access
5. delete the .htaccess file in your shops root folder
6. login to the admin backend and go to settings > seo & urls and save the path and domain properties to create a new .htaccess file (after creating the new .htaccess file you will be able to view/use the frontend of the shop, not earlier as it contains all necessary info it needs to translate the friendly urls of the shop frontend)

good luck!

Posted
1 minute ago, Wartin said:

once you delete .htaccess you should re-create it. Have you done it?

I paste my steps (I toke it from PS forum and change it to use it in TB):

1. Copy all files via FTP
2. Duplicate database to other hoster
3. check the php settings at your new hoster!! (PS <= 1.6.1.3 is not yet PHP7 ready! so you wont see anything in these cases)
3. open Database and edit "tb_shop_url". Set the new path and domain for your new shop  (don't forget the last /)
4. edit config/settings.inc.php and set the new database access
5. delete the .htaccess file in your shops root folder
6. login to the admin backend and go to settings > seo & urls and save the path and domain properties to create a new .htaccess file (after creating the new .htaccess file you will be able to view/use the frontend of the shop, not earlier as it contains all necessary info it needs to translate the friendly urls of the shop frontend)

good luck!

all done to 5. 6 I cant do because I am directly redirected to the old shop

Posted
32 minutes ago, Havouza said:

But now the frontend show me a 500 Server error. 

well, it is a step forward. Try setting debug mode on to see what's the error about.

Posted
37 minutes ago, Havouza said:

But now the frontend show me a 500 Server error. 

I had troubles before adding a trailing / to the url, in step 3. Double check it.

Posted

well I will start over. I have rolled back the system because for some reason I also got a 500 on the old frontpage so now I will start over

2 hours ago, piet said:

Delete the .htaccess file and cache

 

Posted

Hi!
Well I started from beginning but no luck

One thing I wonder is whet owner and group should the files have in the new shop. Its on the same vps, under a new domain

Posted
8 hours ago, Havouza said:

One thing I wonder is whet owner and group should the files have in the new shop. Its on the same vps, under a new domain

I should be the same user the web server is running.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...