I am a newbie to Sitecore 6.4.
I tried to upload an image to Media Library/Images. However, the system always tells me "One or more files could not be uploaded. See the Log file for more details.".
The error message is "IOErrorEvent type="IOError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"
I've assigned all the permission to sitecore\Admin, default\Anonymous, extranet\Anonymous.
Did I miss anything?
I checked the log folder under my sitecore site. There is a file called WebDAV.log.*.txt.
Inside the file, it said:
"WebDAV feature is supported for Internet Explorer browser only."
Then I switched to IE9, it works.
There appears to be a fix apparently from the Sitecore team that involves enabling "'Anonymous' authentication in IIS for ‘/sitecore/shell/Applications/FlashUpload’ and ‘/sitecore/shell/Applications/Media’."
From http://maesitus-sitecore.blogspot.com/2011/04/sitecore-media-upload-is-not-working.html
Related
I was trying to upload an image using Sitecore [Version 6.5] media library to my existing sitecore website. I see the Advance Upload Files option is completly missing. Later, I tried to install a default sitecore instance and I see the Advanced Upload option is there. But it is completely missing to the existing sitecore website.
Here, is the snapshot of my site where the Advanced upload option is completely missing:
And here is the snapshot of my default sitecore site where the Advanced upload option is there:
To fix this, I tried to change couple of configuration files. But still the same issue. The Advanced upload files option is completely missing. Did you face the same type of issue or if you know how to fix this issue, can you please share your thoughts. Or if I need to change any of the configuration files, then can you share your thoughts about that change of any of the configuration file?
Thanks
Upload files (Advanced) button is hidden in 2 cases:
Folder does not use Media Folder template. Just check your folders - maybe they use standard Folder template instead of Media Folder.
Upload.Classic setting is set to false. Open /sitecore/admin/showconfig.aspx and look for Upload.Classic value. When it's set to true, Sitecore uses flash upload instead.
If none of above is the case, maybe you have some custom code which hides Upload files (Advanced) button from you editors.
I get this "One or more files could not be uploaded. See the Log file for more details." error when i tried to upload an image file using firefox browser. In other browsers (IE and Chrome), it works fine. I checked whether WebDav.config causing the issue and i removed this config but didn't help. Also, I checked the anonymous access on Applications/FlashUpload and /Applications/Media.
Does anyone encountered this scenario?
May i know what is the cause.
Sitecore version : sitecore 7.1
Firefox 27.0.1
Thanks,
Mohan
Please try modifying the following settings:
<setting name="Upload.Classic" value="true" />
answer from user459491 will solve the problem, but it simply changes the controls used for file downloads. I had same issue and the reason was that our website used windows authentication and asp.net authentication. The solution is explained here:
http://maesitus-sitecore.blogspot.co.uk/2011/04/sitecore-media-upload-is-not-working.html
"I have then lodged a ticket with Sitecore support. Few days later they come back with a solution that is to enable "Anonymous" authentication in IIS for ‘/sitecore/shell/Applications/FlashUpload’ and ‘/sitecore/shell/Applications/Media’."
We are using Sitecore 6.5 and have a multi-site Sitecore solution (with lots of library code we have inherited)
Publishing the Media Library by item from Staging to Production but we are not seeing the image on the web.
The images are in the web database and the path to the images in the web site is good.
Error we are getting when the file is requested (same in browser window address bar) is http://domainname/error?aspxerrorpath=/~/media/OSS/Images/WaterAndWildlife/myimage.jpg.
There is no media prefix in the web.config
Any idea?
....Looking into it now but site is going live tomorrow so help very appreciated! Help!!
We faced a similar problem when, in production, media files were not published which resulted in 404 errors.
Solution: The problem was that media files were not saved to the database because a file path was provided with the Sitecore media files while uploading.
So the images were saved on the file system instead of in the database. But based on our web.config configuration we were fetching images from the database.
If you are facing a similar issue, just download the media image, remove the file path, and save it. Then re-upload the same image, save and publish the image.
Hope your problem will be solved.
One question, are these staging and production environments separate code files? if they are, what is the setting in your web.config for the settigns UploadAsFiles? because if that's true it will store them on server and the images will be on staging but not on prod. But usually if this setting is true and the files are getting stored in file system, specially in CM/CD environment it should push the physical files on publish as well, but sometime there might be other issues going on like permission etc..... and the files cant get to the destination.
"<setting name="Media.UploadAsFiles" value="false">"
I have been trying to fix this without success.
Lately, I am trying to build up a forum using Kunena forum with joomla. I build it all in my local server. When I uploaded the files to the remote server, I got the problem when I access the backend Kunena control panel as follow:
500 - An error has occurred.
load error: failed to find /Applications/MAMP/htdocs/abacdeal1/media/kunena/less/bootstrap/kunena.less
I couldn't find where to change that directory.
Thanks a lot in advance for the help!
I solved the issue as I was having the same problem myself.
Go to root/cache/kunena
In there is a cache file for less which all you need to do is simply delete.
Please re-download the Kunena package from http://www.kunena.org/download, extract files on your PC, open packages folder -> kunena_media_v3.0.0.zip (extract-it) -> open less folder -> open bootstrap and here is "kunena.less". Now, upload this file to /Applications/MAMP/htdocs/abacdeal1/media/kunena/less/bootstrap/ on your server and refresh your site.
Now it must works!
I hope it will works.
PS: when you copy (upload files) from your PC to your own server, some files may not copy correct because of files permissions.
Using Joomla 3.6 and Kunena 5.0.
I built a test site and them moved it over to my production domain name. That caused Load Error Failed to Find Kunena Crypsis.less whenever I clicked on the menu item for Kunena Forum.
My solution was to clear cache in Joomla.
Can anyone help with this strange problem.
I have just installed CF10 developer on Win7 which is using IIS7.5.
Installation went smooth, and can browse .cfm files no problem and connect to datasources no problem .. BUT: even though I can browse all my local cf sites, none of the sites will display images or styles for external .CSS files.
So, I get the site, content from the database, and all the functionality of cfm files being parsed OK, but no styles and no images.
If I browse directly (pasting the filepath in the browser) to one of the images I get a 404 error - file not found - even though the .gif file does indeed exist in the directory.
So, basically, I can run CFM files, and browse a local site built in coldfusion, but none of the images or externally referenced css files will be "found" by the browser/IIS.
Can anyone help?
Thanks in advance if someone can..
Sounds like an issue with those mimetypes, please see the following for information on installing the static content role to IIS and enabling those mimetypes to be served.
No Mime Types Option in IIS 7
Be sure to enable static content in IIS 7.
Had two occurrences of this problem lately.
See here:
http://weblogs.asp.net/anasghanem/archive/2008/05/23/don-t-forget-to-check-quot-static-content-service-quot-in-iis7-installation.aspx
Try restarting the IIS server. Close all browsers and restart.
You need to determine if it is a CF issue or an IIS issue. Try the following:
Check to see if this is an issue with images not being served vs broken paths to the images. There may be CFML code that is creating links to invalid locations.
If the locations are valid then it would be an issue with IIS not server image files.
Also check to see if there is a similar issue with JPEG and PNG files. If JPEGs and PNGs show up, this suggests an IIS issue.
Also try creating a simple HTML page that has an image on it. If it has an image on it, this suggests a CF issue