EllisLab text mark
Advanced Search
     
CSS and Javascript not loading after updating to last CI
Posted: 03 August 2007 11:03 PM   [ Ignore ]
Avatar
Joined: 2006-07-06
77 posts

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:

<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

 
Posted: 04 August 2007 10:21 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

If you remove the htaccess file, does it run?

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

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design

 
Posted: 04 August 2007 12:24 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2006-07-06
77 posts

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

 
Posted: 04 August 2007 12:59 PM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2006-03-23
3194 posts

No need wink  Glad you got it working!

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design