f8dev Posted July 28, 2015 Share Posted July 28, 2015 Hi, I have seen many different questions about this but I haven't been able to solve the issue I will give as much information as I can. I have a live site(ps 1.4.8) that I want to move to my development server and to do this I have done the following. Export the live database and downloaded all of the files Creating a new database on the development server and imported the sql file Uploaded all the files to the development server so the shop will be at www.devserver.com/newshop/ changed settings.inc to reflect the new location define('__PS_BASE_URI__', '/newshop/'); and changed the DB settings checked defines.inc that it looks in the correct folder for product images define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/'); changed the following settings in the DB table ps_configuration PS_SSL_ENABLED 0 PS_BASE_URI /newshop/ CANONICAL_URL www.devserver.com/newshop __PS_BASE_URI__ /newshop/ PS_SHOP_DOMAIN devserver.com Go to the url and the shop works and I can access the BO, some images are showing but no product images I have deleted the .htaccess file and regenerated a new one in the BO. Friendly url's are turned on in both shops Legacy File system is used on both shops. https://livesite.eu/494-1868-medium/image.jpg" http://devserver.com/newshop/1868-medium/image.jpg Cleared the cache. As you can see the devserver is missing off the 494- from the url and does not work but an image that works is below https://livesite.eu/107-630-home/image.jpg http://devserver.com/newshop/630-home/image.jpg Again this is missing 107- from the url but the image is visible. Any help would be of great help as I'm out of ideas. Link to comment Share on other sites More sharing options...
musicmaster Posted July 28, 2015 Share Posted July 28, 2015 You did not update the ps_shop and ps_shop_url tables? Link to comment Share on other sites More sharing options...
f8dev Posted July 30, 2015 Author Share Posted July 30, 2015 Thank you for that but there are no PS_SHOP or PS_SHOP_URL tables, can you explain a bit further please Link to comment Share on other sites More sharing options...
musicmaster Posted July 30, 2015 Share Posted July 30, 2015 Did you regenerate the images? It may be that the mediums are missing for some reason. It may also be a good idea to look into the directory of an image and see which extension are available. Link to comment Share on other sites More sharing options...
f8dev Posted August 1, 2015 Author Share Posted August 1, 2015 I have regenerated the images and still no images and if I look in the img directory the images are all .jpg. Link to comment Share on other sites More sharing options...
f8dev Posted September 7, 2015 Author Share Posted September 7, 2015 I am still having this issue, the live site has all the correct images displaying, but as soon as I move them to a new domain and server for development the images disappear. 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