mikey2017 Posted November 14, 2011 Share Posted November 14, 2011 I'm working on a site and I'm getting a 'The requested contect cannot be loaded' error (with busy box?) This didn't happen with the first lot of images I uploaded but does with anything I have uploaded recently :/ My site is www.gekeclothing.co.uk/prestashop a working product image: http://gekeclothing....ans-indigo.html one of the broken ones: http://gekeclothing....rrel-jeans.html Please help if you can! It's about the last thing I need to sort out before I upload all of my stock and got live. Link to comment Share on other sites More sharing options...
PrestaShopDeveloper Posted November 14, 2011 Share Posted November 14, 2011 Try to fix your js errors first. Link to comment Share on other sites More sharing options...
markb Posted November 14, 2011 Share Posted November 14, 2011 In the 'broken' example :when I check I can see it is trying to load this image: http://gekeclothing....arrel-jeans.jpg If you copy this url into your address bar and try to visit it you will see the image is not there. The problem is your images did not actually upload. This can be for a number of reasons - have you put the site behind a password protected directory until it goes live for example. Another possibility is if you are using import by csv and the image urls in your csv file do not match the actual location of your images on the server. Corrupt image files can also cause this sort of problem. Try opening and resaving the images in something like photoshop or fireworks before uploading. You could also try uploading one of the images which worked before - if it still works then you know the problem is not with your setup, but with either your images or if importing from csv with your csv file. Hope this helps Another thought: it could be that the script which resizes images is running out of time before finishing - if you have access to your php.ini try increasing the amount of time a script has to run (max_execution_time). Link to comment Share on other sites More sharing options...
razaro Posted November 15, 2011 Share Posted November 15, 2011 Your whole header.tpl in theme foder is strangely formatted, this one part that causing js errors <script type="text/javascript"> var baseDir = '{$content_dir} '; var static_token = '{$static_token} '; var token = '{$token} '; var priceDisplayPrecision ={$priceDisplayPrecision*$currency->decimals} ; var priceDisplayMethod ={$priceDisplay} ; var roundMode ={$roundMode} ; </script> You should check default theme and compare code with all your files, this is correct part <script type="text/javascript"> var baseDir = '{$content_dir}'; var static_token = '{$static_token}'; var token = '{$token}'; var priceDisplayPrecision = {$priceDisplayPrecision*$currency->decimals}; var priceDisplayMethod = {$priceDisplay}; var roundMode = {$roundMode}; </script> Link to comment Share on other sites More sharing options...
Recommended Posts