4571 Posts in 1382 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1187 Views |
-
scripts and styles not loading

16 May 2010 at 11:47pm Last edited: 17 May 2010 12:21pm
Hey I've just started playing around with 2.3.7 in a subdirectory and all working well apart from I can't get any scripts or styles for modules to load in the header of Page.ss. They were working earlier and I don't know why they aren't now. If I enter the full url for the scripts they show, so I know they are public (even when I'm logged out they work). I know I'm referencing them correctly. Checked permissions of folders and files and all are open. Flush, reloaded database...nothing.
Do I need to create a security group and give access or something? Is there a problem with my htaccess file, don't know much about these but 'Deny from all' can't be good?:
### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /RewriteCond %{REQUEST_URI} !(\.gif$)|(\.jpg$)|(\.png$)|(\.css$)|(\.js$)
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###I've got some in a folder I created 'mysite/plugins/whatever.js', but even the layout styles aren't loading in my theme.
Any ideas?
Thanks heaps
Matt -
Re: scripts and styles not loading

17 May 2010 at 10:01pm Last edited: 17 May 2010 10:07pm
Thanks to those that viewed. They are all loading now, but I haven't touched anything since. Weird! I'm wondering if my shared host was having issues...or if I'm just a silly noob...
| 1187 Views | ||
|
Page:
1
|
Go to Top |
