Jump to content

Recommended Posts

When a user tries to update their profile picture or cover picture on my website, the upload will be stuck, and I run the developer console in Google Chrome.
After running developer console while updating profile picture, i discovered that the problem is in two files and those file are (1) request.php and jquery-v3.5.1.min.js Maybe their connection is not well established.
There is an error sign at the end of line 663 of jquery-v3.5.1.min.js in the developer console.

 

 

Quote

this is line 663 of jquery-v3.5.1.min.js  where the error was pointed in the google chrome developer console

  o = function(e) { return function() { o && (o = a = r.onload = r.onerror = r.onabort = r.ontimeout = r.onreadystatechange = null, "abort" === e ? r.abort() : "error" === e ? "number" != typeof r.status ? t(0, "error") : t(r.status, r.statusText) : t(_t[r.status] || r.status, r.statusText, "text" !== (r.responseType || "text") || "string" != typeof r.responseText ? { binary: r.response } : { text: r.responseText }, r.getAllResponseHeaders())) } }, r.onload = o(), a = r.onerror = r.ontimeout = o("error"), void 0 !== r.onabort ? r.onabort = a : r.onreadystatechange = function() { 4 === r.readyState && C.setTimeout(function() { o && a() }) }, o = o("abort"); try { r.send(i.hasContent && i.data || null) } catch (e) { if (o) throw e } }, abort: function() { o && o() } } }), S.ajaxPrefilter(function(e) { e.crossDomain && (e.contents.script = !1) }), S.ajaxSetup({ accepts: { script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript" }, contents: { script: /\b(?:java|ecma)script\b/ }, converters: { "text script": function(e) { return S.globalEval(e), e } } }), S.ajaxPrefilter("script", function(e) { void 0 === e.cache && (e.cache = !1), e.crossDomain && (e.type = "GET") }), S.ajaxTransport("script", function(n) { var r, i; if (n.crossDomain || n.scriptAttrs) return { send: function(e, t) { r = S("<script>").attr(n.scriptAttrs || {}).prop({ charset: n.scriptCharset, src: n.url }).on("load error", i = function(e) { r.remove(), i = null, e && t("error" === e.type ? 404 : 200, e.type) }), E.head.appendChild(r[0]) }, abort: function() { i && i() } } }); var Ut, Xt = [],
        Vt = /(=)\?(?=&|$)|\?\?/;

 

Anyone knows how to correct this problem. or anyone with working website share with me their request/request.php file and theme/default/js/jquery-v3.5.1.min.js file let me replace my to know if it will work

is good now ugos.png

  • 1 month later...

I installed the script and it's working fine so far the only issue I'm facing is that the upload speed for large video files is very slow. I tried to post a video of 20MB and it took it over 15 minutes. Also, I noticed that if we are using USD as the default currency and then also using Razorpay, the system is not converting USD to INR. There should be a system to add USD-INR price so it can be converted at the time of payment. 

12 hours ago, Formula One said:

I installed the script and it's working fine so far the only issue I'm facing is that the upload speed for large video files is very slow. I tried to post a video of 20MB and it took it over 15 minutes. Also, I noticed that if we are using USD as the default currency and then also using Razorpay, the system is not converting USD to INR. There should be a system to add USD-INR price so it can be converted at the time of payment. 

Please help me to install it

  • 4 weeks later...
  • 5 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
  • Create New...