From: <And...@Be...> - 2002-01-09 08:27:03
|
Hi Chris, we are quite sure, that show is being called. But inside show you call _run_directory_handler and this is the page which gets displayed ( file_index dir handler ). later, Andreas -----Urspr=FCngliche Nachricht----- Von: Chris Winters [mailto:ch...@cw...] Gesendet am: Mittwoch, 9. Januar 2002 07:09 An: Andreas Nolte Cc: ope...@li...; Die...@Be... Betreff: Re: AW: AW: [Openinteract-dev] base_page-0.58 On Tue, 2002-01-08 at 10:13, And...@Be... wrote: > Hi Chris, > it is OI 1.36 and CommonHandler 1.29. What we currently assume is, = that if > create or show are called without location=3Dwhatever specified, then Page.pm > runs the _run_directory_handler mothod and you never come to the = point, > where you get to create a new page. This only happens on sites, where = we > upgraded base_page from 0.42 to 0.58. You know, we are messing with > directory handlers.. One problem is that we check to see if the action is 'Page' (case-sensitive), so in Page->_get_task(), I changed: return 'show' if ( $R->{path}{full}->[0] ne 'Page' ); to: return 'show' if ( $R->{path}{full}->[0] !~ /^page$/i ); However, Dietmar said that you were using the URL '/Page/create/' (as opposed to '/page/create/') and that actually works for me so I'm a little dumbfounded. Can you set the server debug level to 1, restart your server, request the page and send me (not the list, since it's likely to be large) the log entry for that request? Chris --=20 Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |