Welcome Guest, Not a member yet? Register   Sign In
CSS and Javascript not loading after updating to last CI
#1

[eluser]guidorossi[/eluser]
Hi!

I just updated a previos app I have working with CI to the last CI version, but now it don't load the CSS and Javascript files...

I think the problem can be caused by the .htaccess file, mine is like this:

Code:
<IfModule mod_rewrite.c>

# Turn on the Rewrite Engine
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^site.com.ar [NC]
    RewriteRule ^(.*)$ http://www.site.com.ar/folder/$1 [R=301,L]


    
    # If the file or directory exists, show it
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d

  
    RewriteRule ^(.+) - [PT,L]
    
    # Blank queries get sent to the index
    RewriteRule ^$ index.php? [L]
    
    # All other queries get sent to the index as index.php/whatever
    RewriteRule ^(.*)$ index.php?/$1 [L]


</IfModule>

any idea?

Thanks
#2

[eluser]Derek Allard[/eluser]
If you remove the htaccess file, does it run?

When you view source of the rendered page, what is the link? Is it right?
#3

[eluser]guidorossi[/eluser]
Sorry, I think it just was a server issue at that moment, because today is all working OK...

A moment of bad luck.

Sorry, the post can be closed or deleted
#4

[eluser]Derek Allard[/eluser]
No need Wink Glad you got it working!




Theme © iAndrew 2016 - Forum software by © MyBB