KieranHarvey Posted March 31, 2015 Share Posted March 31, 2015 I am getting an error whenever I try to upload an image to a category, in chrome the error I get is Unexpected token < and I get the following messages from debug; Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/ and Failed to load resource: the server responded with a status of 404 (Not Found) http://ihairbeauty.co.uk/shop/js/tiny_mce/skins/prestashop/skin.min.css I have checked the file location on the 404 Error and the file appears to be correct has anyone come across this and know how to fix it? Thanks Link to comment Share on other sites More sharing options...
LBPC Posted April 9, 2015 Share Posted April 9, 2015 sam problem here v.1.6.0.9 Link to comment Share on other sites More sharing options...
Eickhardt Posted June 24, 2015 Share Posted June 24, 2015 Same problem. v.1.6.0.5 Link to comment Share on other sites More sharing options...
Eickhardt Posted June 24, 2015 Share Posted June 24, 2015 I solved my problem. I SSH'd into my server and ran: "find /img/p/{whatever-you-have} -type d -exec chmod 775 {} +" This CLI command sets the permissions for all folders (recursively) in the provided path to 775. Link to comment Share on other sites More sharing options...
Hasher Posted July 27, 2015 Share Posted July 27, 2015 (edited) Same problem here, but changing permissions doesn't help :/ Edited July 27, 2015 by Hasher (see edit history) Link to comment Share on other sites More sharing options...
Hasher Posted July 30, 2015 Share Posted July 30, 2015 up Link to comment Share on other sites More sharing options...
Hasher Posted July 31, 2015 Share Posted July 31, 2015 In case someone might have similar problem, make sure you have php-gd installed on your server, sudo apt-get install php5-gd Link to comment Share on other sites More sharing options...
enri.movida Posted December 2, 2015 Share Posted December 2, 2015 Have the same problem herewhen trying to upload product images I get an error "Unexpected token <"i get also a wired caption/imageas you can see in the screenshothttps://drive.google.com/file/d/0B_lYODcc5kpxdm90NTBqUGlpaWc/view?usp=sharing Link to comment Share on other sites More sharing options...
Rosie Posy Posted March 17, 2016 Share Posted March 17, 2016 Have the same problem here when trying to upload product images I get an error "Unexpected token <" i get also a wired caption/image as you can see in the screenshot https://drive.google.com/file/d/0B_lYODcc5kpxdm90NTBqUGlpaWc/view?usp=sharing hi guys same problem here I get an error "Unexpected token < I am not a coder. I saved jpg images for web in adobe cs2 , normaly that works but not now. Any ideas? kind regards Len Link to comment Share on other sites More sharing options...
smittvms Posted March 31, 2016 Share Posted March 31, 2016 I'm seeing this now in my 1.6.1.4 shop.I set up a fresh instance of PS1.6.1.4 and the problem is not happening there. I also disabled overrides and still have the problem. I'm uploading the full file set again to my live site just in case some extension jacked with the core files. GD Lib is installed. Everything was working last week...but this has been an insane 10 days so I didn't notice exactly when this started happening. Did you find a solution? 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