On Wednesday 02 April 2003 20:04, Brian Aker wrote:
> On Wed, 2003-04-02 at 17:06, shane wrote:
> > Page naming issue? I guess I don't understand. Is it a bug? Is it
> > something that I've configured wrong or not config'd?
>
> I suspect its template names.
>
> > Because it's still calling all the templates index;index;default , etc.
> > It doesn't seem like it's ever calling page.pl. It seem like it's
> > ignoring the indexhandler when currentsection eq 'index'. Though, for any
> > section that I've created, that's other then 'index', it'll work just
> > fine and page.pl will be run.
>
> Does http://sitename.com/page.pl work?
yes.
http://www.lottadot.com/page.pl
> And what sort of message is freshenup giving when it goes over the
> section (just set the section and restart slashd to make sure it runs).
tail -100
Subroutine _make_cchp_file redefined at
/usr/local/slash/site/www.lottadot.com/t
asks/freshenup.pl line 182.
Subroutine _read_and_unlink_cchp_file redefined at
/usr/local/slash/site/www.lot
tadot.com/tasks/freshenup.pl line 206.
Subroutine galLog redefined at
/usr/local/slash/site/www.lottadot.com/tasks/last
logins_task.pl line 72.
"my" variable $backupdb masks earlier declaration in same scope at
/usr/local/sl
ash/site/www.lottadot.com/tasks/relocount_run_count.pl line 20.
Thu Apr 3 02:02:17 2003 processed
/usr/local/slash/site/www.lottadot.com/tasks;
28 successful (adminmail.pl calleria_task.pl clean_blobs.pl daily.pl
daily_arch ive.pl daily_forget.pl expire.pl
flush_formkeys.pl freshenup.pl galleria_task.pl
lastcommentstask.pl lastlogins_task.pl message_delete.pl message_delivery.pl
ne w_headfoot.pl new_motd.pl
open_backend.pl p2f_cheesy.pl p2f_hof_topics.pl refres
h_authors_cache.pl refresh_uncommon.pl relocount_run_count.pl rss_submit.pl
run_ moderatord.pl run_portald.pl
set_recent_topics.pl spamarmor.pl zoo_run_people_lo
g.pl); 0 failed
Thu Apr 3 02:02:18 2003 first task will be freshenup.pl in -1 secs
Thu Apr 3 02:02:18 2003 freshenup.pl forked; new_headfoot.pl 1s late
Thu Apr 3 02:02:20 2003 [freshenup.pl] begin (26035)
that didn't show much. so i ran it by hand:
[root@... logs]# runtask -u lottadot freshenup.pl
Thu Apr 3 02:02:44 2003 runtask freshenup.pl begin
Thu Apr 3 02:02:48 2003 runtask index.pl virtual_user=lottadot ssi=yes
section='index' bytes=69359
Thu Apr 3 02:02:48 2003 runtask freshenup.pl end: (ran in 4.42s)
and got a boatload of errrors. Some of them:
Thu Apr 3 02:03:37 2003 [freshenup.pl] index.pl virtual_user=lottadot ssi=yes
section='index' bytes=69359
Thu Apr 3 02:03:42 2003 [freshenup.pl] index.pl virtual_user=lottadot ssi=yes
section='articles' bytes=6444
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31,
main line 39
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31, main lin
e 39
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31,
main line 39
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31, main lin
e 39
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31,
main line 39
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31, main lin
e 39
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display.pm:204:Failed
templat
e lookup on 'storylink;page[misc];default[default]', callers: Slash::Page line
309, Slash::Page line 179, Slash::Di
splay line 233
Which was called
by:Slash::Page:/usr/local/lib/perl5/site_perl/5.6.1/Slash/Page.pm:309:Failed
template lookup on 's
torylink;page[misc];default[default]', callers: Slash::Page line 309,
Slash::Page line 179, Slash::Display line 233
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'storylink;page[misc];default[default]',
callers: Slash::Display line 233, Slash::Pag
e line 309, Slash::Page line 179
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'storylink;page[misc];default[default]', callers:
Slash::Display line 233, Slash::Page line 30
9, Slash::Page line 179
Error in
library:Slash::Display::Provider:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Slash/Display/Provider.pm
:81:Failed template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31,
main line 39
Which was called
by:Template::Context:/usr/local/lib/perl5/site_perl/5.6.1/i686-linux/Template/Context.pm:133:Faile
d template lookup on 'topicbar;page[misc];index[default]', callers:
Slash::Display line 233, main line 31, main lin e 39
Thu Apr 3 02:03:48 2003 [freshenup.pl] page.pl virtual_user=lottadot ssi=yes
section='index' bytes=60858
mysql> select tpid,name from templates where page='page';
+------+----------------+
| tpid | name |
+------+----------------+
| 322 | index |
| 356 | data |
| 357 | storyTitleOnly |
+------+----------------+
3 rows in set (0.01 sec)
So something's defintely going on w/ slashd/freshenup...
here's the links that should show the page plugin as index:
<URL: http://www.lottadot.com/index.shtml >
<URL: http://www.lottadot.com/ >
and if you were to login:
<URL: http://www.lottadot.com/index.pl >
<URL: http://www.lottadot.com/page.pl >
Thanks,
Shane
|