Can't edit/replace .tpl files

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
bloggerkaren

Can't edit/replace .tpl files

Post by bloggerkaren » Sun Apr 17, 2005 7:32 pm

I am using Serendipity 0.8-beta6 and PHP 4.3.1. I am trying to play with the layout and have downloaded the index.tpl file. As a test, I changed only the "Poered by" text to see if my changes show. However, when I upload the change to a theme folder, the page is blank. This is true with several of the themes. Kubrick does not show up - it is a blank screen when I set it as default, and moz-modern shows up, but if I try to edit or even just download and open the file (making no changes) and re-upload the file, I get a blank screen. I tried using Homesite and just Notebook. Seems like opening the file somehow makes it unreadable. Has anyone else experienced this?

bloggerkaren

Re: Can't edit/replace .tpl files

Post by bloggerkaren » Sun Apr 17, 2005 7:42 pm

bloggerkaren wrote: I tried using Homesite and just Notebook.


I meant Notepad, not Notebook.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Can't edit/replace .tpl files

Post by garvinhicking » Sun Apr 17, 2005 8:23 pm

I've never experienced this. I guess when you re-upload the file again you assign wrong read/write permissions so serendipity cannot read the file. Or you uplad the file as index.tpl.htm instead but serendipity relies on tha index.tpl file. Or maybe you upload the file with wrong binary upload mode...well, it could be a bunch of problems, but all are pointing to you. ;-)

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/

bloggerkaren

Post by bloggerkaren » Sun Apr 17, 2005 8:39 pm

Just to be sure, can you tell me what your permissions are set to?
I am really about to pull my hair out. I can upload/overwrite clean files (ie the backed up copies). There is just some problem when I open and save. Thanks

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Sun Apr 17, 2005 8:50 pm

777 would temporarily do, but I'm not really sure what the problem is on your client/server-side...

Maybe if you are using HTML-preview or WYSIWYG editing in homesite, that can serously screw up your index.tpl file.

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