Closed yorkshire-pudding closed 3 years ago
Can anyone give me any clues as to what might be causing this...
Do you have access to the webserver/php logs? That might at least give a hint. 500s are often (not always) caused by file system permission problems.
Also: are you sure, this is caused by the insert module? Or does it happen with all fields with upload functionality (image, file...)?
Hi @indigoxela - thanks for getting back to me. If I upload on a content type that doesn't have insert on the same site, then it uploads without a problem.
However, your prompt to look at the logs has identified the culprit: One site has drupal compatibility enabled, and insert works. The other doesn't and it doesn't work.
Looks like this is the offending function:
I'll try and see if I can fix this and put a pull request in
Sounds like it just need a one-line change to this: https://docs.backdropcms.org/api/backdrop/core%21includes%21common.inc/function/backdrop_http_build_query/1
Sounds like it just need a one-line change to this: https://docs.backdropcms.org/api/backdrop/core%21includes%21common.inc/function/backdrop_http_build_query/1
Aye - I found that pretty quickly.
Thanks @yorkshire-pudding, PR merged.
Not sure if this can be reproduced as I don't know what factor is causing this issue on one site but not another.
Issue
Site working ok
Can anyone give me any clues as to what might be causing this on one site but not another? I'm able to upload images to this site on a content type without insert enabled, hence why I think this may have some link to Insert.