Bizarre HTML error (stopping include of CSS and JS files) - html

Here's the link to my problem:
http://alexcoady.co.uk/crumbl/
Basically, I'm getting nothing; just the markup, which I'm sure is bang on. The CSS file and jQuery file aren't getting pulled in though.. I'm a fairly experienced programmer and this is really throwing me, I'm sure I must be missing something.
Firebug says there's a Syntax error with the DOCTYPE line, there isn't.
It's my .htaccess file - sorry, me being thick.
Thank you!

Check your .htaccess. Aren't there any redirection rule?

Your jquery-1.6.js file is actually an HTML page, and the error is referring to the doctype on that script.

Related

HTML syntax not highlighting correctly

The syntax highlighting for .html files does not work.
However, highlighting for .css files does work. Any ideas what should I do?
If anyone might find it important (though none of them affect HTML other than the indentation colors one, and I use the default Microsoft VSCode HTML syntax highlighting), this is the list of my extensions:
I solved the issue. I realised that once when I was meddling with something I added by accident a single character to the beginning of the file Microsoft VS Code\Resources\App\Extensions\html\syntaxes\html.tmLanguage.json which made VSCode unable to parse it. The highlighting works now.

I keep getting an "unable to open file... file not found" message on vs code, despite my files being in the same workspace

Whenever I try to link an HTML file, I keep getting the "file not found" message, although all of my files are in the same workspace. Is there a solution to this?
How about you try with: <li> Needed Grade</li>.
NOTICE there is no spacing between href and ="needed.html"
If that still doesn't work try with <li> Needed Grade</li>.
It may sound absurd, but first of all be sure you didn't commit any typo errors in your code. Also, it is most likely the URL with which you are trying to link such file doesn't have the right structure. For example: you might be mistakingly looking for a path that doesn't exists. Or confusing a relative path with an absolute one.
Please take a look at the first answer of this question, or at this article, and let me know if I was of any help (or even if I did not understood your issue at all).
Best regards!

Bootstrap CSS & JSP

hope you're doing fine.
I am currently stuck with my Web App project. This is the context: I would like to code a Web App using J2E. There's a free template that I liked and thus I decided to download it. When starting to use it I notice the CSS isn't applied.
Instead of having this, I have this:
However I do not see where the error is. The CSS & Bootstrap files should be visible in the JSP file and IntelliJ recognizes them. However I can't display these files (whether css or even pictures) that are referenced in "href".
Here's the project structure and code, maybe something's wrong there.
I'm used to HTML and to my understanding JSP isn't too different. Are the referencings different though?
Thanks in advance for any help you'll give,
Fares
YES.
Found the answer. Put resources in different folder than WEB-INF.
I believe that, your HTML file is inside the WEB-INF folder, for the to work either remove the WEB-INF path
<link href='style/stylesheet.css'>
or move your HTML one folder up.

Bad request for css file after moving wordpress site

After moving a wordpress site i noticed it didnt look the same so i figured there would be something wrong with a css file, turns out one of the css files of the lambda theme has a bad request and the request URL is constructed weirdly.
The left screen is the one after moving and the right screen is the fully working one that was moved.
Any suggestions?
The problem here is obvious (even thought the solution is not so obvious), There is a incorrect link to the css file on the page:
http://www.laakland.nl/wordpress4/D:/www/laakland.nl/www/wordpress4/wp-content/uploads/lambda/stack-493.css?ver=4.8.1
Since you said you didnt know where this is coming from, you can start here:
Check header.php to see if the CSS is added directly
Check functions.php to see if the CSS file has been added there using wp_register_style
Any plugins might have added this too, so you might check there too.
For convenience, use an IDE to search for the text stack-493.css on the whole wordpress folder to see if you find the file where it is being added from and then fix the link there.
Oke i fixed it, i tried the whole migration through duplicator plugin process again, but on step 3 of importing, i removed 'path' (which was "D:/www/xxxx.nl/www/wordpress4") so that after removing that, i thought it wouldnt add the unnecesary part from amit's answer.
thanks all!

Messed up source code in mediawiki template source

Just started with media wiki but i have a weird problem.
I want to copy a simple template "Template:Note" so i visit:
Mediawiki template link
the code of the template that it shows to my browser is:
{{#if: {{{1|}}}|<div class="block-note"><span class="block-contents">|
[[File:Bulbgraph.png|18px|Note|link=]]}} '''Note:''' {{#if: {{{1|}}}|{{{1}}}</span></div>}}
No i havent copied pasted wrong, this is what it shows. The syntax is wrong ..| is in the wrong places and general the syntax is not correct. Of course it doesnt work if i copy paste, i have to manually correct the syntax.
This happens if i try to export it from the special pages.
Why this is happening?
Install Extension:ParserFunctions.