Error 404

3d-drafting.infy.uk

(please specify the URL of the site on which you are experiencing the problem)

Error Message

Hi. I have an image uploader that works fine. Then an image viewer will show the content of the folder. I made a mistake to have an html file (refresh to the previous page) in that folder. It was retrieved by the viewer and thus showed an error 404. But then I deleted the html file. The viewer is still showing that error message. I believe it’s in the server that keeps referring to the same error message in spite the fact that only image files are listed in that folder. How can I fix such problem?

Other Information

(other information and details relevant to your question)

The exact URL is

http://3d-drafting.infy.uk/show.htm

I didn’t see the error in your website. It must be a problem from your end. Perhaps it’s the browser cache. Try to clear it. You can also try using a private window when browsing your webpage. You can also append ?v=1 at the end of the URL to enforce the page reload.

If the issue persists, please provide a screenshot of the issue.

4 Likes

I removed cache. I also tried another browser. The 404 error shows at the end of the page. Here’s a screenshot.

This is what your website looks like from my browser.

4 Likes

I think I’ve found your problem.

at the bottom of your source you’ve got the following

<script src="[ins-imgs.php](http://3d-drafting.infy.uk/ins-imgs.php)"></script>
<embed src="[upload/target-frame.txt](http://3d-drafting.infy.uk/upload/target-frame.txt)" style="width:100%; height:500px; background-color:#FFF">

The embed code is whats causing the 404 error not the image viewer.

If you remove that it should work. Whats the target-frame.txt supposed to be doing?

  1. Did you check the developer console to help pin-point the error?
  2. Did you upload all files correctly?
  3. In your source code, did you define the path to the files correctly?
3 Likes

I thank you for your answer.
I really don’t remember how that link to a text file is embedded in the script.
Your remake is correct. Once I deleted the embed tag, the 404 error disappeared. In fact, the refered file (show.php) stored in my laptop doesn’t have the embed tag. That’s why I couldn’t remember why such tag was listed in the uploaded file in the server. I think on the long run I probably modified the tag on my cellphone and uploaded it for some reason. As I said the original file on my laptop doesn’t have that embed tag, and for that reason I couldn’t figure out why such error message appeared.
Thank you again.
Take care.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.