GreatDevelopers / Certificate

Web-based Certificate generation system
MIT License
20 stars 35 forks source link

Two files 404 error? #26

Open vigasdeep opened 7 years ago

vigasdeep commented 7 years ago

2017-10-02-010352_1366x768_scrot

Look at the bottom of the screenshot. Why 404 errors? It does not look like a serious issue, whatever it is, can you find out what files is it looking for? and do we need it those two files?

mandeeps708 commented 7 years ago

Just checked. bck.jpg is the pattern that's being used for background. Wrong path. Doesn't seem much serious :dagger: Not sure about the Jcrop.gif.

Found this: https://github.com/GreatDevelopers/Certificate/blob/eb4837b1c80884a50526d0efcc600b01c537d90a/CGS/jcrop/jquery.Jcrop.css#L20

But file isn't there.

vigasdeep commented 7 years ago

okay should remove the code that uses bck.jpg or put a file there.

mandeeps708 commented 7 years ago

Missing files browser console errors are gone. Anyone please test.

Just now noticed, I get one warning in browser console:

Resource interpreted as Document but transferred with MIME type application/pdf: "http://localhost/Certificate/pdf/59dfcbd633229.pdf?".

Tested on Chrome/Opera. It's fine on Firefox as it directly downloads the PDF instead of showing it in browser.