I had some time yesterday so I decided I’d finally upgrade from 1.63 to 1.64, since I had put it off for a while. I followed the guide for updating (http://expressionengine.com/docs/installation/update.html), and ran update.php, everything going fine.
I cleared cache, and updated my page, and suddenly I found my page without style.. so I checked around, and noticed I couldn’t access my css-script through the url for stylesheet. I tried changing stylesheet to path, and it worked. To see it in action, you can visit my testsite:
My testsite:
http://www.spillmodding.no/site/
Code:
<link rel="stylesheet" href="{stylesheet={template_group}/frontpage_screen}" type="text/css" media="screen, projection" />Url:
http://www.spillmodding.no/?css=site/frontpage_screen.v.1216527753
The strange part is I can access it fine using index.php in the url:
http://www.spillmodding.no/index.php?css=site/frontpage_screen.v.1216527753
So I am guessing it’s an .htaccess problem, which is still kinda wierd since it worked before the upgrade O,o..
.htaccess code:
# BEGIN ExpressionEngine
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond $1 ^(weblog|404|member|spillmodding|slideshowpro|wiki|search|site|forum|P[0-9]{2,8}) [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php\?/$1 [L,QSA]
</IfModule>
# END ExpressionEngine