Page 3 of 3

Posted: Mon Aug 21, 2006 9:15 pm
by dougburns
Whereas, when I switch back to one of the templates that's working, it returns this

Fetching COMMENTFORM FROM: "/var/www/vhosts/oracledoug.com/httpdocs/serendipity/templates/doug2/commentform.tpl"<br />Fetching ENTRIES FROM: "/var/www/vhosts/oracledoug.com/httpdocs/serendipity/templates/doug2/entries.tpl"<br />Fetching CONTENT FROM: "/var/www/vhosts/oracledoug.com/httpdocs/serendipity/templates/doug2/content.tpl"<br />

Posted: Mon Aug 21, 2006 9:18 pm
by dougburns
I think I might have stumbled on the answer. I assume it's not okay for there to be no default directory here?!?!

Code: Select all

-bash-3.00$ pwd
/var/www/vhosts/oracledoug.com/httpdocs/serendipity/templates
-bash-3.00$ ls -ltra
total 44
-rwxrwxrwx   1 oracledoug psacln   66 Apr 16  2005 HOWTO
drwxr-xr-x   2 apache     apache 4096 Jun 11 23:53 wp-clone
drwxrwxrwt  14 oracledoug psacln 4096 Jun 12 08:28 ..
drwxr-xr-x   2 apache     apache 4096 Jun 14 20:55 gila_two
drwxrwxrwx   4 oracledoug psacln 4096 Jul 17 22:09 doug
drwxrwxrwx   4 oracledoug psacln 4096 Aug 17 18:38 doug2
drwxr-xr-x   3 oracledoug psacln 4096 Aug 19 11:00 andreas08_mod
drwxr-xr-x   4 oracledoug psacln 4096 Aug 19 19:52 test
drwxr-xr-x   4 oracledoug psacln 4096 Aug 19 19:58 carl_s9y_v3_original
drwxrwxrwx  10 oracledoug psacln 4096 Aug 19 20:12 .
drwxr-xr-x   4 oracledoug psacln 4096 Aug 19 21:41 andreas08
I'm guessing it's looking for the form in the default directory, but there isn't one. The reason the other templates work okay isthey have their own comment form tpl file?

Posted: Mon Aug 21, 2006 9:21 pm
by garvinhicking
:-)

You hit the spot. The 'default' template directory is mandatory. :)

Regards,
Garvin

Posted: Mon Aug 21, 2006 9:23 pm
by dougburns
<ducks for cover>

Mmmm, yes, quite obvious really. Stupid user, I suppose ;-)

I think I may have renamed default to something else. Idiot.

Is there some way I can get a default default directory back without a reinstall? Is that the Serendipity 3 default theme?

Posted: Mon Aug 21, 2006 9:25 pm
by garvinhicking
Hi!

No problem. That's what we're here for. Even though you did the important stuff yourself. :)

You can just fetch the default templkate directory from the release tarball, that suffices.

Serendipity 3 default is in 'carl-contest'.

Posted: Mon Aug 21, 2006 9:28 pm
by carl_galloway
Argh, what a crazy ride this has been, I've been sitting here chewing my nails wondering if I did something really stoopid with andreas08, and here we are dealing with a missing default folder.

Gee whiz, I guess thats a lesson we need to shout from the tower. BTW Doug, now that you're getting close to making this work, I've been asked to help out another use to change a couple of the things in andreas08 to suit his needs, and while I'm doing that I might as well make any changes you need as well. PM me if there is anything?

EDIT, Doug it might be that you need to ensure the actual default template, serendipity 2.3 (default folder) is present rather than serendipity 3.0 (carl_contest folder)

Posted: Mon Aug 21, 2006 9:45 pm
by dougburns
BINGO!

Everything works just fine now ;-)
carl_galloway wrote:Argh, what a crazy ride this has been, I've been sitting here chewing my nails wondering if I did something really stoopid with andreas08, and here we are dealing with a missing default folder.
So there *was* a 'stupid factor'! You know, it must be obvious if you know it and obvious once you work it out, but it's the wierdness of the errors that made it difficult to track down. Now that I understand that there's a hierarchy and each template doesn't need to provide all the tpl files, because it uses those in default, it makes complete sense :-(
Doug, now that you're getting close to making this work, I've been asked to help out another use to change a couple of the things in andreas08 to suit his needs, and while I'm doing that I might as well make any changes you need as well. PM me if there is anything?
It really is perfect as it is - I love it to bits. The only things I've changed for myself are to make everything wider (It doesn't look as good, but I need it for very wide code examples) and I don't personally like the links in strikethrough font when they've been visited. Other than that, it's fine ;-)

Oooh, actually ... Is it possible to make the title-bar clickable to go to the main blog page from an individual blog? Does that make sense? (Actually, it's no big deal because of the menu bar ...)

Thank you both loads for your help. If it's any consolation, I make sure people know that Serendipity is working out really well for me and I'll correct any unfair comments I made about the template ;-)

Cheers,

Doug

Posted: Mon Aug 21, 2006 9:56 pm
by dougburns

Posted: Tue Aug 22, 2006 9:45 am
by garvinhicking
Hi!

You're much welcome. :) BTW, since you're an "oracle guy": Some people here on the forum made some tries to put s9y up with an Oracle DBI, but I think they only got half way...sadly I had no oracle knowledge whatsoever and thought that it might hardly work with some of our SQL queries. Just thought to let you know. :)

http://www.s9y.org/forums/viewtopic.php?t=6214
http://www.s9y.org/forums/viewtopic.php?t=5684
http://www.s9y.org/forums/viewtopic.php?t=5776

Have fun,
Garvin

Posted: Tue Aug 22, 2006 9:48 am
by dougburns
I'll take a look at that ;-)