Hey, folks… I have an issue that is probably limited to my local WAMP installation, but I’m unfortunately unable to test it on my remote site.
I have three file upload fields (images only) in my channel. When I upload a new file, it obviously doesn’t really do it correctly –the upload screen never goes away, and it prompts me to save index.json (which I’ve done in several locations with no avail, and I’m actually assuming that this file is supposed to add info to another one).
Even though the upload screen never goes away, the image did actually go to the folder. I am able to then select the picture if I click the upload button again. However, of course, since it’s not really working for me here, when I go back to edit the page for any reason, the image thumbnails are shown still on the “Edit Entry” form, but they will disappear from the rendered page after I hit “publish”. No more pictures!
So, I’ve been trying to find the workaround for this. I’m assuming it’s some sort of permission issue (or something like that). I have the paths set correctly (the images do get uploaded), and I have it set to accept uploads from the channel’s category group, etc.
Is it not possible to use the uploader on a WAMP installation? …Am I supposed to set some other sort of writing permissions?
Thanks for your help!!!
-John
Hey, Seth!
At the risk of public scorn: Internet Explorer 11 running on Windows 8.1.
I know this is an invitation to check it on another browser, but unfortunately I can’t do that until later on this evening -but if you have any ideas, please let me know in the meantime!
FYI -when I uploaded the category picture, it still prompted me to save the index.json and “hung” on the screen (even though the picture was in the directory), but when I reopen to edit that category and re-save it, the picture DOES NOT disappear. So, a little different circumstance there.
Thanks! -John
No scorn! 😊
I suspect you are running into this problem where IE is not sure what to do with the application/json
header ExpressionEngine is sending when we output JSON data, as is happening here. From what I can gather, this can happen when IE is running in compatibility mode. By chance is that the case?
So, the “display intranet sites in compatibility mode” box was indeed checked, but unckecking it does not fix it. I saw that second link you posted said it did, but I verified and re-verified, restarted more than once, and it still does the same thing.
Unfortunately, with the first link you gave me, I have no idea where to do any of those modifications (and they are talking about ie8, so I’d be afraid that it was outdated).
It does work fine in Chrome, of course. At least that could be a temp fix -but I’d rather have it working in IE!
Thanks for your help so far!!!
-John
I found another potential solution. I’m attaching a patched version of themes/ee/asset/javascript/src/cp/files/picker.js
. Please backup the original and give this one a try and let me know if it fixes the issue.
Unfortunately, this didn’t work for that category image uploads. [I’m unable to easily test the channel field upload right now –I have to recreate the fields this evening.]
If it makes a difference, that file was located in themes\ee\asset\javascript\compressed\cp\files – “compressed” vs. “src”. I didn’t have a “src” folder.
Hey, Seth! It works fine in Chrome and firefox, so I think this is probably just a browser specific problem with ie11 –and I blame them. 😊
In the meantime, I’m just going to use relative paths to the pictures in a text field. So, I’d love for this to work in ie, but if this isn’t easily done, then I can move on and wait (unless you have some other ideas!).
Just tried it, and unfortunately, it didn’t solve the problem!
Thanks for your help, though –I wish it’d work because it’d make things easier, but at least by using links I can hotlink a picture if I ever find the need (which I don’t think I’ll have the need, but I’m just trying to make myself feel better! 😊 ).
Thanks again! -John
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.