design fails

Having trouble installing serendipity?
Post Reply
hkit
Regular
Posts: 25
Joined: Mon Oct 10, 2005 11:20 am

design fails

Post by hkit »

Hej,

I just installed serendipity on a webprovider's webspace, after having tested and customized it on a local system. But there is a problem with permissions - that's what I guess - on the webserver.
Because if you have a look at the web page now (http://www.deutschland.se), there is no design at all, images aren't shown, templates don't look like they should be. Does anybody know how to fix that problem, respectively which permissions I have to change or might there be some files missing, perhaps (which wasn't migrated properly)?

thanks
Stefan
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: design fails

Post by garvinhicking »

Hi!

It seems your new server does not support URL rewriting, or your .htaccess file is/was missing. Set URL Rewriting to "None" in the s9y configuration and you should see content!

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Hi,

thanks for your help Garvin, hopefully you can help me again. I did disable URL-rewriting but still images which he takes out of the /templates/default/ - folder aren't visible. I saved a ./htaccess-file with the content shown underneath. What does this file do, anyway?

I hope somebody can help me... that's the page
http://www.deutschland.se


thanks
Stefan


----.htaccess:
# BEGIN s9y
DirectoryIndex index.php
php_value session.use_trans_sid 0
php_value register_globals off

<Files *.tpl.php>
deny from all
</Files>

<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

The .htaccess file controls URL rewriting and denies access to some unneeded files. When you don't use URL Rewriting you don't really need it, but having it should be better.

Your images do not display properly, because you didn't upload them properly to your FTP host! Maybe you enabled ASCI transfer of the binary images, and thus they are broken - if I fetch the URL http://www.deutschland.se/templates/def ... orward.png manually, I get a broken image...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply