ollys Posted November 18, 2022 Share Posted November 18, 2022 Hi I Want to clone a complete site to another domain for testing and development purpose. I started with to separate instances to test it first on the developer site, but than i only created the most content on the live site. So now i want to clone it to go on testing on the develoepr site for not destroying the live version in case of bad updates or whatever... i tried to substitute all url-data with a texteditor in the sql file..i also edited the parameters.php... so what else i have to do that its working? i got allways a redirect to the original url, when i was uploading he changed database to the developer instance with the other url ,which i put in the sql-file.. also for sure a checked the .htaccess which is ok... Any ideas how to do this? kind regards, Oliver Link to comment Share on other sites More sharing options...
juanrojas Posted November 18, 2022 Share Posted November 18, 2022 Hello, the ideal thing in this case is that you would have put the protocol that you did step by step and thus detect where you failed, but to tell you something, did you change the domain in the database? _shop_url Link to comment Share on other sites More sharing options...
ollys Posted November 18, 2022 Author Share Posted November 18, 2022 Hi Juan, yes i substituted all urls in the database so also the _shop_url for sure... when i am searching in the db in plain sql i can find all expression with the old url... but something i am missing... Link to comment Share on other sites More sharing options...
ollys Posted November 18, 2022 Author Share Posted November 18, 2022 OK, i made the following things again: 1. copied all data to a new folder 2. changed in this folder in the htaccess the url to the new one.. 3. changed in the app/config/parameter.php the database and username.. the rest i didnt changed 4. imported the changed database... in the database i substituted all url expression: old_url.com to new_url.com 5. after importation of that changed database y deactivated ssl in the database: changed in Table ps_configuration PS_SSL_ENABLED from 1 to 0 dont know what else to do... but i get now "500 Server Error" Link to comment Share on other sites More sharing options...
juanrojas Posted November 18, 2022 Share Posted November 18, 2022 Clear cache via FTP and enable debug mode Link to comment Share on other sites More sharing options...
ollys Posted November 18, 2022 Author Share Posted November 18, 2022 good advice... but still the same effect.. i delete fodler "prod" in var/cache/ maybe another thing to clean? Link to comment Share on other sites More sharing options...
juanrojas Posted November 18, 2022 Share Posted November 18, 2022 And the other thing that I said, did you also do it? Link to comment Share on other sites More sharing options...
ollys Posted November 18, 2022 Author Share Posted November 18, 2022 Thanks, with the debug i could find the problem... db connection.. user was not allowed on localserver... only % adn was not working.. so seems to work! Thanks! so i will write down the steps and issues.. and next time o delete before copying the cache maybe also.. Link to comment Share on other sites More sharing options...
ollys Posted November 19, 2022 Author Share Posted November 19, 2022 But unfortunatly only backend is running.... frontend gave this problems: (1/1) ContextErrorException Notice: Undefined variable: ipa in Link.php line 96 at Link->getProductLink()in Product.php line 5615 .... Link to comment Share on other sites More sharing options...
juanrojas Posted November 19, 2022 Share Posted November 19, 2022 disable friendly urls Link to comment Share on other sites More sharing options...
ollys Posted November 19, 2022 Author Share Posted November 19, 2022 good idea.. but still not working! when i try to open an article in backend to edit i also get an error. i deleted the cache via ftp etc... but still the error... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now