dailytemplate not generating archive pages

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Post Reply
User avatar
Foxie299
Newbie
Posts: 8
Joined: Sat Feb 18, 2006 1:07 pm
Location: Bethesda, North Wales

dailytemplate not generating archive pages

Post by Foxie299 »

While in the process of updating and redesigning my site, I uploaded my new index page, and noticed that the 'first_day', 'next_day' etc. tags aren't working. A few hours later, I discovered that the reason for this was that autokeen wasn't generating archive pages from the dailytemplate - both the w/ and d/ folders in my public_html are entirely empty.

I checked that the dailytemplate had a .html extension, and not a .htm extension (which it did) and then uploaded it (my new dailytemplate).

I then moved some of the old comics back to the /workspace folder, so autokeen would find them there and generate archive pages for them.

Then I ran an update.

The comics moved from the /workspace folder to the /public_html folder, but no pages were generated.

Despite all my searching, I can't find any answers relating to this particular problem. My best guess at the moment is that it's all my fault. See, when trying to get my index page to work, I vagually remember deleating a whole bunch of the old pages from my folders. As I used to have archive pages and now don't, I'm assuming that they were among the casualties. I've noticed that the majority of the folders have random files in there which have nothing to do with me: for example, the public_html folder has two, one called, 'htaccess', and another called, 'htaccess.bak'; /workspace has such things as, '.bash_logout', and '.bash_profile'. However, my /w and /d folders have none of these files. I suspect I deleated them when I nuked all the archive pages. Could this be the problem?

If not, what could?

Thank you in advance for your help.

The comic is at http://dogdays.comicgen.com

User avatar
Oualawouzou
Cartoon Cop (Moderator)
Cartoon Cop (Moderator)
Posts: 1548
Joined: Fri Jan 10, 2003 7:47 am
Contact:

Re: dailytemplate not generating archive pages

Post by Oualawouzou »

Foxie299 wrote:
I then moved some of the old comics back to the /workspace folder, so autokeen would find them there and generate archive pages for them.

Then I ran an update.

The comics moved from the /workspace folder to the /public_html folder, but no pages were generated.
You mean you moved them back to /workspace/comics , right? If you put comics straight in /workspace and not in the subfolder workspace/comics, it won't work. The templates (indextemplate.html and dailytemplate.html) must be straight in /workspace and not in a subfolder though.
I've noticed that the majority of the folders have random files in there which have nothing to do with me: for example, the public_html folder has two, one called, 'htaccess', and another called, 'htaccess.bak'; /workspace has such things as, '.bash_logout', and '.bash_profile'. However, my /w and /d folders have none of these files. I suspect I deleated them when I nuked all the archive pages. Could this be the problem?
(ETA: Sorry, forgot to type in my response before posting.

I don't know if deleting them would break your site, but you shouldn't touch these. These files are there for the benefit of the CG people.
Your navigation buttons show up, but they're not links... That's weird. Could you post your indextemplate.html code here please?

User avatar
Foxie299
Newbie
Posts: 8
Joined: Sat Feb 18, 2006 1:07 pm
Location: Bethesda, North Wales

Re: dailytemplate not generating archive pages

Post by Foxie299 »

Oualawouzou wrote:
You mean you moved them back to /workspace/comics , right? If you put comics straight in /workspace and not in the subfolder workspace/comics, it won't work. The templates (indextemplate.html and dailytemplate.html) must be straight in /workspace and not in a subfolder though.
Yeah, that's what I meant to say. My bad.

Your navigation buttons show up, but they're not links... That's weird. Could you post your indextemplate.html code here please?
Sure, but I'll warn you, there's tables nesting in there like a rabbit warren :)

The fact that the navigation buttons were just pictures rather than links was the place where this whole problem started. When I uploaded them and the old pages were still up, they worked fine. Although, I'm not sure if they ever worked with the new index page . . . hmm . . . memory's hazy. Too much coffee and stress. Either way, when I poked around on the server side folders, I found both the d/ and w/ folders were empty and moving the comics back to /workspace/comics/ and running an update didn't help. If it's any help, here's a few comic names: 20050430.jpg; 20050423.jpg; 20050312.jpg; 20050305.jpg. They're all in public_html/comics/.

Of course, I'm not sure which way around the problem is running itself - which is the cause and which is the effect . . .

Anyway, sorry, the code:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<STYLE TYPE="text/css">
<!--
 .auto { height: 1000px; overflow: auto; margin-left: 30px; ; font-family:"comic sans MS", Arial, sans-serif }
      A:link { text-decoration: none; color: navy }
      A:active { text-decoration: none; color: silver }
      A:visited { text-decoration: none ; color: maroon } 
-->

</style>
<title>Dog Days - A comic with talking animals</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=450,height=450,left = 212,top = 0');");
}
// End -->
</script>

<link rel="shortcut icon" href="http://dogdays.comicgen.com/images/favicon.ico" >

</head>

<body background="../images/tile.jpg">

<table width="898" border="10" align="center" cellspacing="0" bgcolor="#CCCCCC">
  <tr> 
    <td align="center" bgcolor="#FFFFF5">***advertisement***</td>
  </tr>
</table>
<table width="873" border="10" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><table border="0" cellpadding="0" cellspacing="0" width="876">
  <!-- fwtable fwsrc="Background 7.png" fwbase="Background 7.jpg" fwstyle="Dreamweaver" fwdocid = "742308039" fwnested="0" -->
  <tr> 
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>

    <td><img src="../WIP/spacer.gif" width="93" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="100" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="83" height="1" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="1" height="1" border="0" alt=""></td>

  </tr>
  <tr> 
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c1.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c2.jpg" width="93" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c3.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c4.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c5.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c6.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c7.jpg" width="100" height="100"></td>

          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c8.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r1_c9.jpg" width="83" height="100"></td>
    <td><img src="../WIP/spacer.gif" width="1" height="100" border="0" alt=""></td>
  </tr>
  <tr> 
          <td rowspan="2"><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c1.jpg" width="100" height="100"></td>
          <td rowspan="2"><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c2.jpg" width="93" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c3.jpg" width="100" height="69"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c4.jpg" width="100" height="69"></td>

          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c5.jpg" width="100" height="69"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c6.jpg" width="100" height="69"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r2_c7.jpg" width="100" height="69"></td>
    <td colspan="2" bgcolor="#FFFFF5"><table width="100%" border="0" cellpadding="1" cellspacing="0">
              <tr> 
                <td width="25%"><img src="http://dogdays.comicgen.com/images/first_day.jpg" alt="First Comic" width="40" height="47"></td>
                <td width="26%"><img src="http://dogdays.comicgen.com/images/previous_day.jpg" alt="Previous Comic" width="40" height="47"></td>
                <td width="25%"><img src="http://dogdays.comicgen.com/images/next_day.jpg" alt="Next Comic" width="40" height="47"></td>
                <td width="24%"><img src="http://dogdays.comicgen.com/images/last_day.jpg" alt="Today's Comic" width="40" height="47"></td>

              </tr>
            </table></td>
    <td><img src="../WIP/spacer.gif" width="1" height="69" border="0" alt=""></td>
  </tr>
  <tr> 
    <td colspan="7" rowspan="5" valign="top" bgcolor="#FFFFF5"><table width="100%" border="0" cellspacing="0">
        <tr> 
                <td width="90%" rowspan="5" align="center" valign="middle">***todays_comics***</td>
                <td width="10%"><a href="News.htm"><img src="http://dogdays.comicgen.com/images/News.jpg" alt="What's News in Foxieland" width="71" height="84" border="0"></a></td>

        </tr>
              <tr> 
                <td><a href="Cast%20and%20Crew.htm"><img src="http://dogdays.comicgen.com/images//Cast.jpg" alt="The Cast and Crew of our comic" width="71" height="76" border="0"></a></td>
        </tr>
        <tr> 
                <td><a href="mailto:amalgamated_fox@yahoo.co.uk"><img src="http://dogdays.comicgen.com/images/Contact.jpg" width="71" height="72" border="0"></a></td>
        </tr>
        <tr> 
                <td><img src="http://dogdays.comicgen.com/images/Home.jpg" alt="Back to our homepage" width="71" height="78"></td>
        </tr>

        <tr> 
          <td>&nbsp;</td>
        </tr>
      </table></td>
    <td><img src="../WIP/spacer.gif" width="1" height="31" border="0" alt=""></td>
  </tr>
  <tr> 
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r4_c1.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r4_c2.jpg" width="93" height="100"></td>
    <td><img src="../WIP/spacer.gif" width="1" height="100" border="0" alt=""></td>

  </tr>
  <tr> 
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r5_c1.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r5_c2.jpg" width="93" height="100"></td>
    <td><img src="../WIP/spacer.gif" width="1" height="100" border="0" alt=""></td>
  </tr>
  <tr> 
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r6_c1.jpg" width="100" height="100"></td>
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r6_c2.jpg" width="93" height="100"></td>
    <td><img src="../WIP/spacer.gif" width="1" height="100" border="0" alt=""></td>

  </tr>
  <tr> 
          <td><img src="http://dogdays.comicgen.com/images/slices/Background7_r7_c1.jpg" width="100" height="117"></td>
    <td bgcolor="#FFFFF5">&nbsp;</td>
    <td><img src="../WIP/spacer.gif" width="1" height="117" border="0" alt=""></td>
  </tr>
  <tr> 
    <td colspan="9"><img name="Background207_r8_c1" src="../WIP/Background7_r8_c1.jpg" width="876" height="3" border="0" alt=""></td>
    <td><img src="../WIP/spacer.gif" width="1" height="3" border="0" alt=""></td>
  </tr>

</table></td>
  </tr>
</table>
<table width="898" border="10" align="center" cellspacing="0" bgcolor="#CCCCCC">
  <tr> 
    <td align="center" bgcolor="#FFFFF5"><font size="2">Everything on this site, 
      and the site itself, is and remains the intellectial property Foxie, unless 
      specifically stated otherwise, and is thus protected under international 
      copyright law. There, we said it.<br>
      ***comic_name*** is hosted on <a href="http://www.comicgenesis.com">ComicGenesis</a>, 
      a free webhosting and site automation service for webcomics. Good guys.<br>
      Can't see anything but a bunch of text and background? <a href="javascript:popUp('pictures.htm')">Click 
      here</a>. <br>

      This concludes the important, but <i>very</i> boring section of this page. 
      </font></td>
  </tr>
</table>
<p>&nbsp;</p>
</body>
</html>
ImageImage

User avatar
Oualawouzou
Cartoon Cop (Moderator)
Cartoon Cop (Moderator)
Posts: 1548
Joined: Fri Jan 10, 2003 7:47 am
Contact:

Post by Oualawouzou »

I don't have a lot of time for now, but regarding the navigation buttons: you linked the images directly instead of using the ***tags*** (***previous_day***, ***first_day***, etc). Simply put the ***tags*** where you want the buttons to show up, do not code them in by hand.

User avatar
Mercury Hat
Iron Lady (ForumAdmin)
Iron Lady (ForumAdmin)
Posts: 5608
Joined: Sat Jan 24, 2004 1:57 pm
Location: Hello city.
Contact:

Post by Mercury Hat »

The fact that your comic appears on your site, but the archive page for it is not there (http://dogdays.comicgen.com/d/20050430.html) means that there's probably something screwy with your dailytemplate.html . Check to make sure you have dailytemplate.html in your /workspace folder and that it is named correctly (no weird capitalization, not .htm, nothing like that).
ImageImage
<Legostar> merc is all knowing, all seeing, and not caring

User avatar
Foxie299
Newbie
Posts: 8
Joined: Sat Feb 18, 2006 1:07 pm
Location: Bethesda, North Wales

Post by Foxie299 »

Oualawouzou wrote:I don't have a lot of time for now, but regarding the navigation buttons: you linked the images directly instead of using the ***tags*** (***previous_day***, ***first_day***, etc). Simply put the ***tags*** where you want the buttons to show up, do not code them in by hand.
Okay, have done that. That was the reason that they weren't links.

Thank you :D
Mercury Hat wrote:The fact that your comic appears on your site, but the archive page for it is not there (http://dogdays.comicgen.com/d/20050430.html) means that there's probably something screwy with your dailytemplate.html . Check to make sure you have dailytemplate.html in your /workspace folder and that it is named correctly (no weird capitalization, not .htm, nothing like that).
Okay, I've checked and double checked the spelling. In fact, I've checked it so many times that the letters have ceased to have any meaning. I've checked that it's in the /workspace folder, and I can see it right above indextemplate.html.

Unfortunatly, the archive pages still aren't generating.

I'm sorry to be such a pain in the hiney.
ImageImage

User avatar
Foxie299
Newbie
Posts: 8
Joined: Sat Feb 18, 2006 1:07 pm
Location: Bethesda, North Wales

Post by Foxie299 »

I've been poking around on-line, been through the code with a fine-toothed comb, and posted up here about recovering my .htaccess and .htaccess.bak files for /d and /w, but still no joy. I'm still not getting archive pages.

Any help would be much apprechiated.

Many thanks.
ImageImage

User avatar
Oualawouzou
Cartoon Cop (Moderator)
Cartoon Cop (Moderator)
Posts: 1548
Joined: Fri Jan 10, 2003 7:47 am
Contact:

Post by Oualawouzou »

I sent a PM to STrRedWolf (an admin) to check into that. I don't know about the htaccess stuff myself but he should be able to help.

User avatar
Foxie299
Newbie
Posts: 8
Joined: Sat Feb 18, 2006 1:07 pm
Location: Bethesda, North Wales

Post by Foxie299 »

Thank you. I'm very grateful. You're a star!
ImageImage

User avatar
STrRedWolf
Confuzzled CG Admin
Confuzzled CG Admin
Posts: 2579
Joined: Fri Jan 01, 1999 4:00 pm
Location: undef;
Contact:

Post by STrRedWolf »

Don't touch the .htaccess files. If you do, Kisai will whack your hands with a mallet HARD and replace them.

The /public_html/workspace alias was missing. It has been replaced, so run another update and the archives will be back. This is a known bug in AutoKeen and is "fixed" in WolfKeen.
Kelly "STrRedWolf" Price
Admin, Comic Genesis
Artist/Writer, Stalag '99 (WolfSkunks and Drygers, oh my!)
I NEED MORE TIME, CAPTIN!

User avatar
Foxie299
Newbie
Posts: 8
Joined: Sat Feb 18, 2006 1:07 pm
Location: Bethesda, North Wales

Post by Foxie299 »

Thank you. I'm very, very grateful. I Promise to do my best not to screw my site up in future. I very much apprechiate you taking the time to fix my mistakes.
ImageImage

Post Reply