Help - Search - Members - Calendar
Full Version: Styles Not Working At All
Movable Type Community Forum > Using Movable Type > Default Stylesheets
Adhara
Desperate newbie here... I started using MT some years ago, only not for blogging - I managed to tweak it so I could use it as a fiction archive for my writing, and were using my own template with php (I suck at CSS), with a header and a footer in separate files. Everything was great and I loved it so I never really thought about updating.

Then some months ago my webhost suddenly decided to stop allowing external linking. That messed up my template big time, and when I tried to fix it (I read it could be fixed by using relative links instead of absolut ones) I only made it worse.

So in the end I just took it all down and started from scratch. All my previous entries imported just fine and I thought I'd take it one step at a time and just use the default styles for a while, and try to get a better grasp of the whole MT so this wouldn't happen again...

But now none of the defaul styles seem to work. I've been looking through the CSS and changed the path in @importurl because it seemed to think my mt-static folder was inside the cgi-bin/mt folder the installation is in... still it doesn't work. Al the entries are posting alright but there's just no styles at all and I don't want to mess things up again so I thought maybe someone could help? The site is:

http://so.arkanian.net

Thanks in advance!

OtherNiceMan
Where on your installation is the mt-static folder?
Adhara
QUOTE (OtherNiceMan @ Jul 20 2008, 01:55 PM) *
Where on your installation is the mt-static folder?


The MT installation is on public_html/cgi-bin/, and the mt-static folder is on public_html/
OtherNiceMan
If I go to http://so.arkanian.net/mt-static/ I get a 404 error. I should get a page that says mt-static OK.

I also tried http://so.arkanian.net/mt-static/index.html which is a direct link to the OK and got a 404 as well.

Can you double check please as your web server does not see these pages.
Adhara
QUOTE (OtherNiceMan @ Jul 20 2008, 02:46 PM) *
If I go to http://so.arkanian.net/mt-static/ I get a 404 error. I should get a page that says mt-static OK.

I also tried http://so.arkanian.net/mt-static/index.html which is a direct link to the OK and got a 404 as well.

Can you double check please as your web server does not see these pages.


The mt-static folder is set apart in the server, while the blog is published in a different folder. If I go to http://www.arkanian.net/mt-static it does say mt-static OK, do I have to put mt-static in the same folder where the blog is being published?
OtherNiceMan
There needs to be a symbolic link in the file system at the very least (exactly how this is done depends on host and what permissions you have), so that there seems to be a http://so.arkanian.net/mt-static/. If you can not do that then yes you need to copy the directory.

What your host did was was try to reduce the leaching of bandwidth / reduce attack surface so that you can only load files located in the same domain. www.arkanian.net is a different domain to so.arkanian.net.
Adhara
QUOTE (OtherNiceMan @ Jul 20 2008, 03:16 PM) *
There needs to be a symbolic link in the file system at the very least (exactly how this is done depends on host and what permissions you have), so that there seems to be a http://so.arkanian.net/mt-static/. If you can not do that then yes you need to copy the directory.

What your host did was was try to reduce the leaching of bandwidth / reduce attack surface so that you can only load files located in the same domain. www.arkanian.net is a different domain to so.arkanian.net.


Thanks so much! It's working now smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.