Stories
Slash Boxes
Comments

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • you need to make sure your slashd daemon is running.

    If I were you, I'd set the var 'writestatus' to 'dirty'.

    Then start, or restart, slashd. It should consequently run the 'freshenup' task, which'll generate your index.shtml's for each section, and index, of your site.

    --
    lottadot [lottadot.com]
    • by Bruceo (4646) on Thursday February 06 2003, @03:48AM (#5648)
      Well.. it sorta worked...

      Take a look at what its given me now and offer some more advice: http://gytha.anu.edu.au/ [anu.edu.au]

      I also seem to be missing some .inc files. Can you give me an idea of what I'll need to run to refix everything? Even if its command line stuff?

      • Well, first look at the source for that page.

        You'll see this at the top:

        start template: ID 264, ssihead;misc;default

        [an error occurred while processing this directive]

        so you now know the problem is in that template.
        so then go into your admin interface for the site and pull up that template.

        You'll see:

        #include virtual="[% dir %]/[% section %]slashhead.inc"

        So there you go. It's trying to include 'slashhead.inc'.

        Look at your site's basedir? Is it there? Nope.

        So then goto a CLI shell, cd to your slash src, and

        grep "slashhead.inc" * -r

        you'll see something similar to

        themes/slashcode/tasks/new_headfoot.pl: open $fh, ">$constants->{basedir}/$section/slashhead.inc"

        so there's a script that opens it. it's a task. so try running the task:

        runtask -u {virtualuser} new_headfoot.pl

        look in your htdocs dir, is the file there now?

        there ya go :)

        You could also try searching slashcode for
        slashhead.inc [slashcode.com]

        for more info.

        --
        lottadot [lottadot.com]
        • Thanks for all your helps guys. As I've said before, perl and the template toolkit are both new to me, so I'm still trying to get my head around where everything is in the slash code.

          I've bought the O'Reilly and am going through that, and i've begun to look online for a bit more documentation, but it's obvious stuff like this that I'm not picking up on due to my lack of perl knowledge.

          I'll keep playing around with things and we'll see how far I get. At least I know you guys can provide quick answers if I get totally stumped.