Firebug shows 404 error for claro_rtl.css, but I can't find the source that is trying to reference that file - css

I'm in the middle of testing a customized Dojo theme based on the popular claro theme. The new theme is named 'jelam'. I've gone through all the suggested steps for making a new theme based on an existing theme like claro and all seems to be working fine - except Firebug is reporting an error immediately upon opening my page. It reports that it can't find the claro_rtl.css file. The thing is, I've searched many times my source code and files for any reference to that claro_rtl.css file, but I can't find it. I suspected initially that my browser was cacheing it somehow, so I cleared the Firefox browser, closed Firefox and ropened it, and also restarted the WebSphere portal which is serving my JSP page. Despite those attempts to clear out any reference to claro_rtl.css, I'm still getting the error reported in Firebug.
"NetworkError: 404 Not Found - https://localhost:10149/CompassThemesURS/themes/html/commonurs/dojo/1.9.1/dijit/themes/jelam/claro_rtl.css"
How can I get Firebug to show me what the source of that request is? I had initially suspected that I had missed it in one of my many JSP files or CSS files that was possibly importing it, but it's not showing up.
Is there a way to get Firebug to show me who is trying to pull that file in?
Thanks for any insight you can give.

Finally figured it out. In Firebug I put "claro_rtl.css" in the search box, then performed the search in each tab until the search found it from the CSS tab, and it found it referenced in the new jelam.css file.
I had forgotten to redeploy the webapp. I had correctly updated the source files, including jelam.css, but I hadn't redeployed with those updates like I thought I had.
Cheers.

Related

Why is my site requesting (unsuccessfully) a font from an unrelated site

In my deployed website, I'm seeing this in the logs in Firefox:
My site has nothing to do with abc.net.au (although that is a site I browse often).
I've grepped my deployed code to be sure, and there are definitely no references anywhere that I can see that would be causing it to try to load these font files.
Clicking on the source code link doesn't reveal anything useful (just the index.html page).
Perhaps it's some kind of plugin going wrong?
How can I diagnose and fix the cause of these inappropriate font requests?
The first thing I'd do is make sure that the lines come from content requested from your website. You have 2 ways to do that:
Create a new Firefox profile, start it, close all the tabs and just leave 1 blank tab. Open the logs, clear them and then open your website. If the font line is not here, then it might have been a bogus log line.
On your original Firefox or new profile, open a new tab. Open up the Network Monitoring tool and then open your page. Look for the font entry in the network request. Unfortunately, it's not yet possible (see this) to break on specific network requests in the Firefox dev tools.
From there, I would go and check the source code depending on my findings. Keep us posted!
Update: this sounds like bug 1420680.

401 unauthorized error access CSS files MVC

First things first, yes I am fully aware this has been addressed here before, however none of the solutions seem to resolve my issue. My problem is simply that I have created a new web project and everything works fine with the default code template that VS2013 has provided, the problem I am currently runing into is adding my own CSS files. This is the process I went through to add them:
added CSS folder under the already existing Content directory
Linked to CSS files in the header CSHTML (I can be sure it is linked properly as it is not a 404 error
but when i run the project i get: Status Code:401 Unauthorized (pulled form the network explorer in chrome dev tools), nothing more. I have tried everything from modifying my config file to setting WindowsAuthentication to true and even moving NTLM to the top, to going into IIS and giving everyone access to every possible function to the CSS directory, been at this for an hour and I'm simply lost, any ideas?
Edit: if it helps at all this is the erro i get when i navigate to one of the CSS files:
I found the issue and I feel incredibly stupid about it, as it turns out all of my css files had encryption set on, i simply had to turn it off: right-click
*.css file > Properties (General tab) > Advanced button > Encrypt contents to secure data checkbox.
Works like a dream. If anyone ever purchases a template form ThemeForest, be wary of that.

When I try to use grunt serve to view a locally stored web app, the CSS doesn't work. What are the common causes for this?

I think I have installed everything needed and installed it correctly, but I am obviously missing something; or had a misstep somwhere along the line. I am on a Linux and I know for a fact the site works when viewed elsewhere. Here is a screenshot of what I see when I view the site locally: http://imgur.com/yPWcanu What are the common causes for this?
There might be some problems with paths. Open the Chrome development toolbar and check if there's a problem with loading the css files.
You should see them under the "Network" tab after reloading the page.

All in one calendar month view previews don't hide

I am using the all in one calendar.
When I am in month view I can hover over items to get a preview of the event details. When I move my mouse away, or hit esc, or click away, no matter what I try, the preview remains.
This is annoying since the preview can cover up other days.
Does anyone know how to fix this?
Here's a screenshot.
Note how the previews are all expanded and they don't go back .
[UPDATE]
If you need to view it you can go to timetolaugh.ca
The issue occurs in Chrome, FF, and IE.
Thanks for the help so far. I've inquired on the theme custom script here on the theme support page
Per #Pat_J's suggestion I have moved this from a comment to a potential answer.
Check to make sure that all your themes scripts are loading correctly. On page load I got a 404 error for one of the theme's custom script files (customscript.js) which could be causing the issue with all the other errors from jQuery mentioned by Pat J (I also got the same errors as Pat):
Failed to load resource: the server responded with a status of 404 (Not Found) http://timetolaugh.ca/wp-content/themes/point/js/customscript.js?ver=3.8
I looked your theme up on wordpress.org and found it. Here is the file for v1.0.6 of the Point theme. Change the version number in the url below if you know you aren't running the latest version of the theme.
http://themes.svn.wordpress.org/point/1.0.6/js/customscript.js
Save the file to your downloads folder (just ctrl+s in your browser) then upload it using an FTP client to your host in the /wp-content/themes/point/js/ folder. Backup any existing version of the customscript.js file that is on the server (might be a permissions issue which should be fixed by uploading)
LAST RESORT
If you are sure that it isn't a problem with page loading then I would build a jQuery script similar to the following:
jQuery(document).ready(function () {
jQuery(".ai1ec-event-popup").on('mouseleave', function () {
jQuery(this).fadeOut(500);
});
});
But please try to fix the page loading before patching with a script.

Clicklifter showing up in ETag

I just ran YSlow on my site and this shows up under ETag:
http://content.clicklifter.com/Learning/learn.js
I have no idea what it is or how to get rid of it and I can't find any info about this anywhere.
Can someone at least tell me how I can get rid of it if I do not see it in my view source but it shows up in YSlow under "configure entity tags"?
Most likely this script is being brought in by another script or an ad on your site. If that's the case, you won't see it in view source, but tools like YSlow will reveal it.
Hi I know this question is old but the same happened to me and it was because a JavaScript I downloaded from an untrusted site (which I don’t remember), the JavaScript was infobox.js and it was probably modified to download the file you mentioned.
I downloaded the JS from the original source and remove the “corrupt” file and the error stopped.

Resources