Welcome Guest, Not a member yet? Register   Sign In
Internet explorer style, not found error.
#1

[eluser]RodrigoFM[/eluser]
Hi

I am having problems with IE9 on displaying correctly the style of the webage, you can see it here:

www.noctta.com

The error log:

ERROR - 2012-12-03 08:04:26 --> 404 Page Not Found --> js (IE 9)
ERROR - 2012-12-03 08:06:55 --> 404 Page Not Found --> js (IE 9)
ERROR - 2012-12-03 08:06:57 --> 404 Page Not Found --> js (IE 9)
ERROR - 2012-12-03 08:07:00 --> 404 Page Not Found --> js (IE 9)
ERROR - 2012-12-03 08:07:02 --> 404 Page Not Found --> js (IE 9)
ERROR - 2012-12-03 08:07:06 --> 404 Page Not Found --> js (IE 9)
ERROR - 2012-12-03 08:07:06 --> 404 Page Not Found --> Establecimientos (IE 9)
ERROR - 2012-12-03 08:10:12 --> 404 Page Not Found --> favicon.ico (Chrome, Firefox)
ERROR - 2012-12-03 08:10:12 --> 404 Page Not Found --> favicon.ico (Chrome, Firefox)
ERROR - 2012-12-03 08:10:12 --> 404 Page Not Found --> favicon.ico (Chrome, Firefox)
ERROR - 2012-12-03 08:10:12 --> 404 Page Not Found --> favicon.ico (Chrome, Firefox)
ERROR - 2012-12-03 08:10:12 --> 404 Page Not Found --> favicon.ico (Chrome, Firefox)
ERROR - 2012-12-03 08:10:12 --> 404 Page Not Found --> favicon.ico (Chrome, Firefox)

The error log shows IE9 not finding:

<.script type="text/javascript" src="http://noctta.com/js/....js">[removed]

This is only on IE, Chrome and Firefox display the classic error because i haven't place the favicon.ico yet. I think is URL interpretation problem.

Please help with this weird issue.

Best regards.
#2

[eluser]TunaMaxx[/eluser]
Looks like two problems. Looking at the source:

Code:
&lt;!--[if lt IE 9]>

// Modified the 'script' here because forum wants to strip it from the comment
<scr*pt type="text/javascript" src="js/html5.js"></scr*pt>
&lt;link rel="stylesheet" href="css/ie.css" type="text/css" media="all"&gt;

<![endif]--&gt;

#1 There is no file at js/html5.js. But there is one at js/otros/html5.js.
#2 Both the CSS and JS use relative paths. That will only work on the 'home' page. Use absolute paths with base_url() on the src and href attributes like it appears you have done with the rest of the CSS / JS.
#3

[eluser]RodrigoFM[/eluser]
Thanks Tuna

For taking the time of viewing my code and noticing that noob mistake. Commented that and totally forgot about it, but the error never went off until now, that's funky.

Anyway ... stupid sexy CI, was never his fault... attachment file...

Best regards
#4

[eluser]TunaMaxx[/eluser]
Glad I could help.




Theme © iAndrew 2016 - Forum software by © MyBB