From: <And...@Be...> - 2002-01-09 15:06:37
|
Hi Chris, we tested with CommonHandler 1.34 - no changes. If you call /Page/create/? or /Page/show/?edit=1 , which we think should work to get a new page, you get a not found message from the file_index dir handler. here the logs... OpenInteract::handler (34) >> ============================== Request started: Wed Jan 9 16:08:51 2002 path: ( /Page/create/ ) PID: (982) OpenInteract::setup_server_interface (127) >> Server hostname set to www.mycompany.com OpenInteract::setup_server_interface (130) >> Request coming from 172.29.3.249 OpenInteract::parse_uri (175) >> Original path: (/Page/create/) OpenInteract::parse_uri (183) >> Items in the path: Page // create OpenInteract::parse_uri (196) >> Action found from URL: Page OpenInteract::parse_uri (203) >> Original path/query string set to: /Page/create/ OpenInteract::Request::lookup_conductor (225) >> Find conductor for action (Page) OpenInteract::Request::lookup_action (254) >> Find action corresponding to (Page) OpenInteract::Request::lookup_action (275) >> Found action info for (Page) OpenInteract::find_action_handler (226) >> Found OpenInteract::UI::Main // handler for conductor OpenInteract::Session::DBI::_create_session (26) >> Trying to fetch session 0ab46d6355142a6eb2574f45c4c1e306 OpenInteract::Auth::user (21) >> Found session and uid (NOL08); fetching user OpenInteract::Auth::user (33) >> User found: NOL08 OpenInteract::Auth::group (222) >> Authenticated user exists; getting groups. OpenInteract::SPOPS::LDAP::global_datasource_handle (18) >> Trying to retrieve handle for key (main) for: oit::Group OpenInteract::run_content_handler (325) >> Trying the conductor: <<OpenInteract::UI::Main/handler>> OpenInteract::Request::lookup_action (254) >> Find action corresponding to (Page) OpenInteract::Request::lookup_action (275) >> Found action info for (Page) OpenInteract::UI::Main::handler (31) >> Action info: oit::Handler::Page / handler OpenInteract::Handler::GenericDispatcher::handler (31) >> Trying to run oit::Handler::Page with create oit::Page::page_by_location (37) >> Trying to retrieve object with location (/page/create/) oit::Page::page_by_location (48) >> Testing (/page/create/) as a directory... oit::PageDirectory::fetch_by_directory (27) >> Initial fetch: (/page/create/) oit::PageDirectory::fetch_by_directory (37) >> Found parents of (): /page/create/;/page/;/ oit::Page::page_by_location (55) >> Directory object found. Returning OpenInteract::Request::lookup_action (254) >> Find action corresponding to (file_index) OpenInteract::Request::lookup_action (275) >> Found action info for (file_index) oit::Handler::PageDirectoryIndex::file_index (97) >> Using the following for index names: index.html oit::Handler::PageDirectoryIndex::file_index (103) >> Trying to fetch location (/page/create/index.html) OpenInteract::UI::Main::handler (61) >> Using template (base_theme::base_main) for full page OpenInteract::Template::Process::handler (122) >> Using template name (base_theme::base_main) for processing OpenInteract::Template::Process::initialize (25) >> Starting template initialization process OpenInteract::Template::Process::_package_template_config (177) >> Packages for inspection by template initialization read ok OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => OpenInteract::Template::Process::_package_template_config (196) >> Found template plugin => oit::SiteTemplate::fetch_by_name (47) >> Trying to retrieve template for name (base_main) and package (base_theme) OpenInteract::Template::Plugin::comp (95) >> Calling template component (boxes) OpenInteract::Request::lookup_action (254) >> Find action corresponding to (boxes) OpenInteract::Request::lookup_action (275) >> Found action info for (boxes) OpenInteract::Handler::Component::handler (105) >> Calling component with oit::Handler::Box->process_boxes oit::Handler::SystemBoxes::handler (60) >> Generating box information for user info box OpenInteract::Request::lookup_action (254) >> Find action corresponding to (user_info_box) OpenInteract::Request::lookup_action (275) >> Found action info for (user_info_box) oit::Handler::Box::process_boxes (130) >> Putting box (user_info_box) onto the stack with weight 1 OpenInteract::Request::lookup_action (254) >> Find action corresponding to (user_info_box) OpenInteract::Request::lookup_action (275) >> Found action info for (user_info_box) OpenInteract::Handler::Component::handler (90) >> Generic template action with (base_box::user_info_box) OpenInteract::Template::Process::handler (122) >> Using template name (base_box::user_info_box) for processing OpenInteract::Template::Process::handler (122) >> Using template name (base_box::main_box_shell) for processing -----Ursprüngliche Nachricht----- Von: Chris Winters [mailto:ch...@cw...] Gesendet am: Mittwoch, 9. Januar 2002 14:51 An: Andreas Nolte Cc: ope...@li...; Die...@Be... Betreff: Re: AW: AW: AW: [Openinteract-dev] base_page-0.58 On Wed, 2002-01-09 at 03:15, And...@Be... wrote: > 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 ). Yeah, I understand what's happening. I've made some relatively small updates to the package, tested it on my end and uploaded it to sourceforge. If you use it, you'll need to grab the latest copy of OpenInteract::CommonHandler from CVS: OpenInteract/OpenInteract/CommonHandler.pm The package also has some additional debugging messages which may help with problems. I'll probably be putting out a new release of OI later today with this stuff included. Thanks, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |