Page 1 of 2
Did I break my site?
Posted: Wed Mar 09, 2005 1:04 pm
by Razzek
Um, hi! I'm a complete Keenspace n00b. I've been following the instructions off Gear to start up my comic and everything was going just fine...until I tried to update my page layout (the indextemplate in workspace). I think the update worked at first, but when I took a look at my site, there was nothing there but a few keentags; my name and the first comic had disappeared (although the background color and font had changed successfully).
I have this feeling that I've done something incredibly stupid by mistake and broke my own site. I've checked the forums and haven't found any posts that answer my questions. At present, put the indextemplate back to the way it was when I first got the site (it's still mangled, but now the background color is white again :P). You can see the mess right here:
http://razzek.keenspace.com
I'm not even sure I've been too clear with this post (if I need to be more specific, please tell me), but can anyone help me out? Has this happened to anybody else?
Posted: Wed Mar 09, 2005 2:24 pm
by Phalanx
Check indextemplate.html is named indextemplate.html, and not indextemplate.htm or indextemplate.HTML or any of such similar names. I'm told that if there are multiple indextemplate files with the same name in /workspace, autokeen gets confused.
Posted: Wed Mar 09, 2005 2:41 pm
by Oualawouzou
What program(s) did you use to alter indextemplate.html ? Some html editors mess up keentags as well.
Posted: Wed Mar 09, 2005 4:02 pm
by Stoker Bramwell
What program(s) did you use to alter indextemplate.html ?
I've only used MS Wordpad to edit the file.
Posted: Wed Mar 09, 2005 5:35 pm
by Dburkhead
Maybe this is a silly question, but where did you save the file? Did you save it to the folder "workspace" or to the folder "public_html"?
Posted: Wed Mar 09, 2005 11:06 pm
by Razzek
Maybe this is a silly question, but where did you save the file? Did you save it to the folder "workspace" or to the folder "public_html"?
I saved it in "workspace".
Posted: Thu Mar 10, 2005 2:48 am
by Phalanx
Hmm... could you attach a copy of your indextemplate here so we can give the code a check?
Posted: Thu Mar 10, 2005 11:23 am
by Razzek
Hmm... could you attach a copy of your indextemplate here so we can give the code a check?
Sure!
Posted: Thu Mar 10, 2005 11:52 am
by Grey_the_angel
that reminds me.. i gotta fix my site. *lost his website designer.*
Posted: Thu Mar 10, 2005 1:51 pm
by Phalanx
Hmm... the code looks all right... could you list out the contents of your directories /workspace and /workspace/webpages?
There must be something in there that's borking the Autokeen updater.
Posted: Thu Mar 10, 2005 10:25 pm
by Razzek
No problem. :)
In /workspace we have:
3 folders (comics, images, webpages)
dailytemplate.html
indextemplate.html
And in /webpages we have:
nothing *blinks*
Huh. All the folders are empty (although there is one comic page listed in /public_html/comics, although I know I uploaded it to /workspace/comics).
Posted: Thu Mar 10, 2005 10:31 pm
by Oualawouzou
(although there is one comic page listed in /public_html/comics, although I know I uploaded it to /workspace/comics).
This is normal, don't worry.
That your ***tags*** don't get properly converted isn't normal, however.
Weird weird weird.
Posted: Fri Mar 11, 2005 4:37 am
by Phalanx
Very very wierd indeed. I don't think you did anything wrong, but Looks like something broke.
Looks like a case for the admin.
Posted: Fri Mar 11, 2005 5:08 am
by Joel Fagin
Unicode text format, I'm afraid. It's full of invalid characters if you look at it in notepad and a complete mess.
Basically the fix is simply to reload the file in Wordpad and then save as a pure text document. I just tried it and although I didn't upload it to test it completely, it knocked all the other problems I had with it on the head.
Edit: I'm not sure why you posted an image of your code, but if it was pasting funny when you tried it as text, this'd be why. Rule of troubleshooting: If there are multiple weird things happening, they're probably connected.
- Joel Fagin
Posted: Fri Mar 11, 2005 5:18 am
by Mr.Bob
When it comes to editing html, notepad is always the best bet.
Posted: Fri Mar 11, 2005 9:58 am
by Phalanx
I'll be damned. I didn't realise that it was an image. *sigh* And there I thought all the code looked all right.
What is wrong with me, lately?
Posted: Fri Mar 11, 2005 4:07 pm
by Joel Fagin
Phalanx wrote:What is wrong with me, lately?
Acute chocolate deficiency.
- Joel Fagin
Posted: Mon Mar 14, 2005 7:21 am
by Razzek
Okay, I put indextemplate in Wordpad and saved it as a text document. I also made some changes to font and background color while I was in there, just to see if it would work. Well, the site's background color and font changed, but there's no other change; still nothing but a bunch of Keentags on there.
Thanks for all the help so far, everyone. :) I'm still open for suggestions. :P *pokes site with stick*
Posted: Mon Mar 14, 2005 7:24 am
by Oualawouzou
Do not use Wordpad if you can help it. Use Notepad instead. Text editors like Wordpad, MS Word and such like to stick in extra "invisible" code that can mess up your page.
Posted: Mon Mar 14, 2005 7:48 am
by Razzek
Woops! Thanks! :)
Re-copied the idextemplate code from the FAQ thread and put it in Notepad then did an update. Still no changes, though.