403 Error, new Javascript file won't load

Problems with the Windows version of XAMPP, questions, comments, and anything related.

403 Error, new Javascript file won't load

Postby gntsketches » 21. June 2017 18:59

Hello, I'm re-building an old website on a new computer, and have just installed XAMPP to get the PHP running (not using MYSQL or databases.) Previously I ran XAMPP Windows 7 (and whatever version of XAMPP was around in 2014), and I had no trouble using it, however on my new Windows 10 machine I am getting an error.

A new Javascript file will not load. The error message is: js/TF4UI.js%3E Failed to load resource: the server responded with a status of 403 (Forbidden)

Interestingly, the *old* .js files load just fine! Everything seems to be in working order with the site except for this specific file.

I'm wondering if someone can help me to fix this problem, or point me in the right direction to a beginner-friendly tutorial. (I am relatively new to coding in general.)

Thanks!
Greg
gntsketches
 
Posts: 1
Joined: 21. June 2017 18:49
XAMPP version: 5.6.30
Operating System: Windows 10

Re: 403 Error, new Javascript file won't load

Postby Altrea » 22. June 2017 06:27

Hi,

gntsketches wrote:The error message is: js/TF4UI.js%3E Failed to load resource: the server responded with a status of 403 (Forbidden)

That makes sense, there is a wrong character in the ressource filename. %3E is the encoded representation of the bracket >
So you need to analyse how this character could be placed at the ressource filename.

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: 403 Error, new Javascript file won't load

Postby Nobbie » 22. June 2017 09:48

It sounds as if there is missing a closing quote character after js/TF4UI.js in the source code.
Nobbie
 
Posts: 13179
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 188 guests