Comic Fury Webcomic Hosting - Comments and dropdown archive have died on me.

You are not logged in. Log in, Register, More info
Forum > Layouts, HTML, CSS & Javascript > Comments and dropdown archive have died on me.
Pages: [1]

"Comments and dropdown archive have died on me.", 14th Jun 2012, 12:39 AM #1
Cammiluna♀

User avatar
Posts: 582
Referrals: 0
Registration date: 2nd May 2011
Location: NY.
I figured the easiest way to get a new layout for my second comic was to upload the backup to my first comic and change the colors and things.

Then all my comments disappeared from the second comic. I copied the comment code again from HiEx to Immortal Fool and they're still broken, but then I copied the code from Immortal Fool back into HiEx and the comments work fine. The dropdown menu is also empty.

I was pretty sure I didn't touch any CF code so I don't know what I did to break these things.
_______________________
14th Jun 2012, 8:44 AM #2
Kyo♂
I got to choose mine
User avatar
Posts: 7029
Referrals: 0
Registration date: 6th Jul 2008
Location: Germany
ah yeah, this is a bug where if you upload a backup whilst also having a default layout, it will translate your layout twice, which breaks a bunch of stuff.

Re-upload the backup and it should all be fine
_______________________
hello
14th Jun 2012, 4:22 PM #3
Cammiluna♀

User avatar
Posts: 582
Referrals: 0
Registration date: 2nd May 2011
Location: NY.
No dice. Do I have to do this all over again from scratch? :(

The problem only happens on things that are supposed to loop, like the comments and archive.

I think I have an idea.... no, nevermind. copying the code into notepad, resetting the layout to defeult, and pasting it back didn't work.
_______________________
14th Jun 2012, 4:24 PM #4
Kyo♂
I got to choose mine
User avatar
Posts: 7029
Referrals: 0
Registration date: 6th Jul 2008
Location: Germany
send me the layout file please. Make sure it's not a backup you took after the layout broke. That wouldn't be helpful.

You can upload the file as a webcomic extra file
_______________________
hello
14th Jun 2012, 4:32 PM #5
Cammiluna♀

User avatar
Posts: 582
Referrals: 0
Registration date: 2nd May 2011
Location: NY.
The original backup I've uploaded which is Hiex's layout, and here's the one that broke.

Readers started leaving comments freaking out about them last night so I had to leave a note on top of the page.
_______________________
14th Jun 2012, 4:54 PM #6
Kyo♂
I got to choose mine
User avatar
Posts: 7029
Referrals: 0
Registration date: 6th Jul 2008
Location: Germany
those backups were definitely both taken after the layout code change. I'll take a look

edit:
i just uploaded the first

it works fine for me. Try uploading it again? Maybe you picked the wrong one or something.




As for the second one: that one was modified after it broke, so it's going to remain broken until it's fixed by hand.

Basically what happened is this, it translated the code twice. The problem is that currently loops look like this: [l:loopname], and loop variables used to look like this: [l:loopvariable]

so yeah. It basically just changed the loop operators into loop variables. Here's a version of the second one where I fixed the 3 loops on the comic strip display: click

I would still not recommend using this as other pages with loops will remain broken. The first one works fine for me though, as how I said. So try uploading that one again.
_______________________
hello
14th Jun 2012, 8:40 PM #7
Cammiluna♀

User avatar
Posts: 582
Referrals: 0
Registration date: 2nd May 2011
Location: NY.
And everything is in order. THANKS, KYO!
_______________________
Forum > Layouts, HTML, CSS & Javascript > Comments and dropdown archive have died on me.
Pages: [1]