• Resolved grinik767

    (@grinik767)


    I can’t upload images to adverts (if my role isn’t an admin. From admin account I haven’t got any problems).

    Text from log file:
    jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
    3_1_FFFFFFFF_EFEFEFFF_0_visits:1 Failed to load resource: the server responded with a status of 499 (Request has been forbidden by antivirus)
    mc.yandex.ru/metrika/tag.js:1 Failed to load resource: the server responded with a status of 499 (Request has been forbidden by antivirus)
    mc.yandex.ru/metrika/watch.js:1 Failed to load resource: the server responded with a status of 499 (Request has been forbidden by antivirus)
    ad.doubleclick.net/ddm/adj/Btsmdz/Ayly:1 Failed to load resource: the server responded with a status of 499 ()
    ad.doubleclick.net/ddm/adj/Bjhkas/Bdogk:1 Failed to load resource: the server responded with a status of 499 ()
    ad.doubleclick.net/ddm/ad/Acyhse/Bfdung:1 Failed to load resource: the server responded with a status of 499 ()
    plugin.min.js:1 Deprecated TinyMCE API call: <target>.onNodeChange.add(..)
    goroddomodedovo.ru/:1 Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Function.n.parseJSON (jquery.js:4)
    at Function.a.parseJSON (jquery-migrate.min.js:2)
    at WPADVERTS.File.Uploader.Plupload.FileUploaded (wpadverts-gallery.js:299)
    at F.Uploader.d (jquery.js:2)
    at F.Uploader.dispatchEvent (plupload.min.js:1)
    at F.Uploader.trigger (moxie.min.js:1)
    at B.s.status.F.UPLOADING.r.state.F.STOPPED.p.onload (plupload.min.js:1)
    at B.<anonymous> (moxie.min.js:1)
    at Array.<anonymous> (moxie.min.js:1)
    DevTools failed to load SourceMap: Could not load content for https://goroddomodedovo.ru/wp-content/themes/timesnews/assets/library/sticky-sidebar/maps/ResizeSensor.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
    DevTools failed to load SourceMap: Could not load content for https://goroddomodedovo.ru/wp-content/themes/timesnews/assets/library/sticky-sidebar/maps/theia-sticky-sidebar.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

    Please, help

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    the file upload sends an AJAX request to /wp-admin/admin-ajax.php page (a page in WP responsible for handling AJAX requests).

    In your case it is this page https://goroddomodedovo.ru/wp-admin/admin-ajax.php but it redirects to the home page so the file upload requests fail.

    I am guessing you have some kind of security plugin installed which does this, you would need to disable or if it has some options available make an exception so any user can access /wp-admin/admin-ajax.php this will fix your issue with file uploads.

    Thread Starter grinik767

    (@grinik767)

    Thanks a lot! I made redirection to home page from /wp-admin (if person isn’t an admin). Now, I’m trying to fix it

    UPDATE: It’s working, thanks!

    • This reply was modified 6 years ago by grinik767.
    Plugin Author Greg Winiarski

    (@gwin)

    Ok great, i am glad you have it resolved :), i am marking this thread as resolved, maybe someone in the future will find it helpful as well.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with image uploader’ is closed to new replies.