Welcome Guest, Not a member yet? Register   Sign In
css not being read
#1

[eluser]terbor[/eluser]
My css files are not being read, despite the fact that the path looks correct.

everything else works fine, I can see the HTML and the logins work, it is just the public folder that isnt being read.

I tried both saving the entire URL plus using base path, and with and w/o the www.
Code:
<link media="screen" href="http://www.ftrtool.seeklocate.com/public/css/master.css" type="text/css" rel="stylesheet" />
<link media="screen" href="<?php echo base_url();?>public/css/datepicker.css" type="text/css" rel="stylesheet" />

Is there a CI setting somewhere that effects CSS or the public(or any folder for that matter) folder in the root? my root has one file index.php and tow folders system public.

any help would be appreciated.

-Thanks
#2

[eluser]terbor[/eluser]
I am narrowing it down. I was getting an error404 page from CI when I first uploaded it. I figured it had to do with the fact that I was using it on a subdomain as the root. So after further research I found that if I changed in
Code:
config.php $config['uri_protocol'] = "REQUEST_URI";
from
Quote:AUTO
to
Quote:REQUEST_URI
I would no longer get the error404.

On my local setup I have it set to Auto and it reads my CSS file properly. So it would seem that this setting is what I need to figure out.
#3

[eluser]terbor[/eluser]
Despite how quickly I closed this myself, I was working on this for hours.

This is what helped me:
http://ellislab.com/forums/viewthread/89632/

I did not have the rewrite disabled in my webserver (lighttpd)




Theme © iAndrew 2016 - Forum software by © MyBB