Jump to content

Upload the second image for the product shows an error!


Recommended Posts

Hello, when loading the second image for the product shows an error Unexpected token <in JSON at position 0.

But the first image should be loaded is always excellent, the only problem is when you load a second image. What could be the problem. Errors in the log clean and the browser does not display anything from the mistakes.

Thank you....

post-765654-0-20115600-1467418118_thumb.png

Link to comment
Share on other sites

Script

 

/*! * enquire.js v2.1.0 - Awesome Media Queries in JavaScript * Copyright © 2013 Nick Williams - http://wicky.nillia.ms/enquire.js * License: MIT (http://www.opensource.org/licenses/mit-license.php) */(function(e,t,n){var r=t.matchMedia;typeof module!="undefined"&&module.exports?module.exports=n®:typeof define=="function"&&define.amd?define(function(){return t[e]=n®}):t[e]=n®})("enquire",this,function(e){"use strict";function t(e,t){var n=0,r=e.length,i;for(n;n<r;n++){i=t(e[n],n);if(i===!1)break[spam-filter]function n(e){return Object.prototype.toString.apply(e)==="[object Array]"}function r(e){return typeof e=="function"}function i(e){this.options=e;!e.deferSetup&&this.setup()}function s(t,n){this.query=t;this.isUnconditional=n;this.handlers=[];this.mql=e(t);var r=this;this.listener=function(e){r.mql=e;r.assess()};this.mql.addListener(this.listener)}function o(){if(!e)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={};this.browserIsIncapable=!e("only all").matches}i.prototype={setup:function(){this.options.setup&&this.options.setup();this.initialised=!0},on:function(){!this.initialised&&this.setup();this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e[spam-filter];s.prototype={addHandler:function(e){var t=new i(e);this.handlers.push(t);this.matches()&&t.on()},removeHandler:function(e){var n=this.handlers;t(n,function(t,r){if(t.equals(e)){t.destroy();return!n.splice(r,1)[spam-filter])},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){t(this.handlers,function(e){e.destroy()});this.mql.removeListener(this.listener);this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";t(this.handlers,function(t){t[e]()})[spam-filter];o.prototype={register:function(e,i,o){var u=this.queries,a=o&&this.browserIsIncapable;u[e]||(u[e]=new s(e,a));r(i)&&(i={match:i});n(i)||(i=);t(i,function(t){u[e].addHandler(t)});return this},unregister:function(e,t){var n=this.queries[e];if(n)if(t)n.removeHandler(t);else{n.clear();delete this.queries[e]}return this[spam-filter];return new o});

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...