CotswoldEngraver Posted October 21, 2015 Posted October 21, 2015 When I add images to a new product in admin I have the following problem. I can add a new standard image to the product without problem but when I try to add a 'large image' (using the link below the standard image), the large image is not uploaded. I have easy populate installed and can use that to upload the large image to the server and it displays in the product page ok. The problem appears when I go to edit the item. After editing of the product, the images disappear from the product. The admin screen says 'image does not exist' and it is not displayed on the product page. When I check the images folder via ftp the file is still present in the images directory. Does anyone have any idea why the links to the images in the product page seem to be deleted after editing the product. I can post any code upon request. Kind regards Andy
♥Tsimi Posted October 22, 2015 Posted October 22, 2015 @@CotswoldEngraver Did you install any Addon that could affect the image upload part. Did you try to compare your categories.php file with a new stock osC one?
CotswoldEngraver Posted October 23, 2015 Author Posted October 23, 2015 @@Tsimi Yes I think that I have installed an addon that has affected the image uploads. It is a fairly new install of our new site so there are not too many contributions on there yet. I have tried a fresh install on a local server and it all works ok so I think it is one of the addons I have put on there. Just started adding the contributions on the version on my local server so hopefully it will not take me too long to find out what was causing it! Kind regards Andy
♥Tsimi Posted October 23, 2015 Posted October 23, 2015 It is always good to take regular backups. I personally always take a full shop backup (files and database) before every addon install. Especially those addons that require you to edit a lot files. Nightmare files are; categories.php, application_top.php and products_attributes.php. Easy to make mistakes or if instructions are old you start to fiddle around and then files get messed up. Winmerge or Beyond Compare are good tools to compare files and maybe find one or the other bug. Good luck.
CotswoldEngraver Posted November 5, 2015 Author Posted November 5, 2015 @Tsimi Found it! all sorted, there was a line in the application_top.php file that was commented out for some reason, must have been something I had done while testing! I take backups of the site and database every time I change something on the site. Learn't that hard lesson very early on with our old site. All working now, feel free to take a look - www.thecotswoldengraver.co.uk
♥John W Posted November 5, 2015 Posted November 5, 2015 @@CotswoldEngraver On your home page you have "-->" on the far left under your menue about bestsellers. Looks like leftover from a html comment. I'm not really a dog.
CotswoldEngraver Posted November 6, 2015 Author Posted November 6, 2015 @@John W Many thanks for that John, There should be a slide show at that position on the page which is commented out while I am still working on it. I had put the closing tag in twice, appreciate you pointing that out.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.