Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Receiving the following error when attempting to upload files into IMCE.
An AJAX HTTP error occurred.
Path: /imce
HTTP Result Code: 0
StatusText: SyntaxError: Unexpected token o in JSON at position 1
ResponseText: N/A
For some reason, the issue only exists in our production and staging environments. However, the issue does not seem to occur in our development env. It is most likely a conflict in our database - but wondering if this issue has surfaced for others.
Thanks in advance for your help!
Comments
Comment #2
ufku CreditAttribution: ufku commentedComment #3
ufku CreditAttribution: ufku commentedComment #4
Stephen OllmanGetting something similar with D8.4.4 and IMCE8.x-1.6
An AJAX HTTP error occurred.
Path: /imce
HTTP Result Code: 200
StatusText: OK
ResponseText:
The ResponseText is the HTML code for the IMCE popup browser window.
Funny thing is its only happening on some larger uploads. 6.6Mg works but a 10.3Mg throws the error.
Site is hosted on a Window Server with IIS7
Could it be a network issue or a PHP issue causing files ubove a certain size to fail.