I am getting 404 Not Found errors in my XPages app on the following items:
https://my.domain.com/xsp/.ibmxspres/.extlib/responsive/dijit/dbootstrap-0.1.1/theme/dbootstrap/font/fontawesome-webfont.woff
https://my.domain.com/xsp/.ibmxspres/.extlib/responsive/dijit/dbootstrap-0.1.1/theme/dbootstrap/font/fontawesome-webfont.ttf
This XPages app uses a custom theme which extends Bootstrap3_flat. In the theme, Font Awesome is referenced by using:
<resource>
<content-type>text/css</content-type>
<href>https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css</href>
</resource>
The following links describe similar issues, but I'm not sure exactly how to resolve my specific situation:
Use icon fonts in xpages
"NetworkError: 404 Not Found fontawesome-webfont.woff?v=4.0.3
Issue is with extending the Bootstrap3_flat theme. I changed this to extend Bootstrap3_blank. See IBM article here: https://wiki.openntf.org/display/EXTLIB/How+to+use+the+Bootstrap3_blank.theme+in+XPages
I also needed to copy the dbootstrap.css file and customize it to remove references to the webfont.woff and webfont.tff files.
After I did this the 404 errors went away.
My fontawesome fonts worked great in VisualStudio 2015. After publishing to my 3rd party webserver, the fonts could not be found (404 error). I can't explain why VS2015 worked, but here is the solution for me: The fontawesome fonts are in ~/content/fonts/fontawesome after publish, but they needed to be in ~/fonts/ so I just copied them there and the problem was solved. Using F12 on the webbrowser showed the 404 error and showed where the browser looked for the .woff and .ttf fonts.
Related
We would like to use the Show Preview link via the General tab to share a link to an unpublished page for review. Unfortunately, the page generated seems unable to resolve the bundled .css and javascript and generates 404s for those files.
Anyone know of a way for the preview pages to resolve the bundled css properly?
If your links are not resolving then you have incorrect or invalid syntax in your CSS.
Regarding turning off minimization and it working further confirms your syntax is not correct. The minimization engine fails when it finds incorrect syntax.
To check this turn on minimization and load a page. Download the CSS from the source and look at the last line. There will be an error in the CSS if it has failed to minimize.
Many of styles are not applied and pages looked weird in IE9, because IE has CSS limitation. The problem is that i can't modify css because it is generated with Liferay.
IE9 indeed has limited support, however, as you can create your own theme, you can change the css that is generated.
After installing the XPages Extension Library v15 from openNTF.org the required way I get an 404 Error when previewing XPages in a browser. Previewing XPages in Notes works fine.
IBM states an issue that you need to check the Build Automatically in Project menu item of Domoino Designer to avoid 404 Error. But that item is checked.
What do I miss ?
Make sure you installed ExtLib on server too.
Restart task http on server.
Clean your project with menu Project/Clean. This way it gets rebuild completely.
If it's still showing 404 error then have a look at error.log file on server.
Update:
You pointed out in your comment that you use "Preview in Web Browser" without a server.
The local preview loads plugins from
<data-directory>/domino/workspace/applications/eclipse
Copy all ExtLib's features/plugins from
<prog-directory>/framework/shared/eclipse
into this directory and restart Notes Client & Domino Designer.
In my web site, 'sometimes' the font awesome icons are not loading. It shows only as squares.
When I googled I found out that to change the .htaccess file in the server. But my web site is hosted in weblogic server. Is there any equivalent to .htaccess file in weblogic.
I encountered this issue only in firefox. But other people have got it in IE 11 as well. In my case, when I clear the cache and open it, it loads also.
Pleade let me know, if anyone understands what's happening here. Thsnks in advance
When I include ckeditor aka fckeditor (version 3.0.1 revision 4391), which I downloaded from their site last week, into a page that is SSL encrypted, I get the Firefox broken lock icon and the warning "Warning: contains unauthenticated content". However, IE8 doesn't give this error at all. I checked the headers (Live HTTP headers), and everything is being included VIA SSL. Anyone have any solutions regarding this?
This happens by just including the script, like so
<script type="text/javascript" src="/js/manager/settings.js"></script>
I also found the same problem on our secure portal. Only those web pages using the "ckeditor.js" is giving this warning.
Tried for some time searching through the ckeditor js files to find anywhere which uses http instead of https.
"plugins/flash/dialogs/flash.js" is having the embed from "http://macromedia blah blah...". Changing it to "https://macromedia .. blah blah..." did not solve it although our general flash embedded pages works fine with this workaround. :(
I will try to find out some more in the code... tonight.
If you find solution please put it here...
[http://dev.fckeditor.net/ticket/3905][1]
This will be fixed on 3.1.x onwards as it says.
trying to checkout a development tag.
Checked out CKEditor from a development branch under 3.1.x
This is great! the warning is gone.