You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(35) |
Nov
(38) |
Dec
(112) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(20) |
Feb
(24) |
Mar
(47) |
Apr
(18) |
May
(28) |
Jun
(17) |
Jul
(15) |
Aug
(40) |
Sep
(14) |
Oct
(5) |
Nov
(26) |
Dec
(31) |
| 2003 |
Jan
(8) |
Feb
(14) |
Mar
(38) |
Apr
(34) |
May
(33) |
Jun
(32) |
Jul
(24) |
Aug
(9) |
Sep
|
Oct
(20) |
Nov
(43) |
Dec
(22) |
| 2004 |
Jan
(23) |
Feb
(25) |
Mar
(15) |
Apr
(3) |
May
(31) |
Jun
(13) |
Jul
(3) |
Aug
(3) |
Sep
(13) |
Oct
(15) |
Nov
(3) |
Dec
(5) |
| 2005 |
Jan
|
Feb
|
Mar
(16) |
Apr
(24) |
May
|
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(4) |
Oct
|
Nov
(3) |
Dec
(2) |
| 2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Jon D. <jd...@nc...> - 2002-06-17 21:20:49
|
OpenInteract looks like it will be a great environment for a couple of sites I need to put together. I installed mod_perl 1.27 and had a ton of problems. I switched to mod_perl 1.26 and httpd will start now. (Weird problems claiming that it couldn't find a module in a list of paths when the module was there.) My system is FreeBSD 4.4 and apache 1.3.24, mod_perl 1.25 and perl 5.6.1. The problem I am having now, is that when I go to the site I have just set up I get a 500 Internal Server Error back. The error log file in the OI directory shows: [Mon Jun 17 21:40:23 2002] [error] Can't locate object method "send_html" via package "Apache" (perhaps you forgot to load "Apache"?) at /usr/local/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 31. The server error log file has: OpenInteract::Error::Main::initialize (59) >> Initialized DEFAULT_HANDLER for app (SCinet::Stash) to (OpenInteract::Error::System) Any hints would be greatly appreciated! Thanks, Jon -- Jon Dugan | Senior Network Engineer, NCSA Network Development jd...@nc... | 269 CAB, 605 E Springfield, Champaign, IL 61820 217-244-7715 | http://www.ncsa.uiuc.edu/~jdugan/ |
|
From: Allen D. <all...@uc...> - 2002-06-16 05:09:07
|
I think the problem is here: OpenInteract::Session::DBI::_create_session (28) >> Trying to fetch session [c4d27f160f39f8564580debf2619324f] OpenInteract::Auth::user (63) >> No uid found in session. Finding login info. OpenInteract::Auth::user (72) >> Creating the not-logged-in user. OpenInteract::Auth::group (256) >> No logged-in user found, not retrieving groups. <snip> >> Error: Cannot accomplish task due to security. at /usr/lib/perl5/site_perl/5.6.1/OpenInteract/Error/System.pm line 295 Shouldn't a uid be found in that session after a successful login? Would it be in sessions.a_session? Here are the contents of the cookie, if it helps: session c4d27f160f39f8564580debf2619324f 192.168.10.2/ 0 3602669568 29514667 956963648 29496562 * |
|
From: Allen D. <all...@uc...> - 2002-06-15 19:03:00
|
> What versions are you using of the following?
>
> Apache
1.3.22
> mod_perl
1.26
> DBI
1.14
> DBD::mysql
2.0415
> Apache::Session
1.54
>
Here is another superuser login and attempt to add a user, after closing
all browser windows:
OpenInteract::handler (34) >>
==============================
Request started: Sat Jun 15 12:05:10 2002
path: ( / ) PID: (32700)
OpenInteract::setup_server_interface (128) >> Server hostname set to
192.168.10.2:83
OpenInteract::setup_server_interface (131) >> Request coming from
192.168.10.1
OpenInteract::parse_uri (176) >> Original path: (/)
OpenInteract::parse_uri (184) >> Items in the path:
OpenInteract::parse_uri (197) >> Action found from URL:
OpenInteract::parse_uri (204) >> Original path/query string set to: /
OpenInteract::Request::lookup_conductor (225) >> Find conductor for action
()
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
()
OpenInteract::Request::lookup_action (275) >> Found action info for ()
OpenInteract::find_action_handler (227) >> Found OpenInteract::UI::Main //
handler for conductor
Found item: Apache::DBI::db
OpenInteract::Session::DBI::_create_session (28) >> Trying to fetch
session [9f056c35523389ed13ed7624ee6eb370]
vcdnfo::ErrorObject::initialize (67) >> Set (tmp_class) to
Apache::Session::MySQL
vcdnfo::ErrorObject::initialize (67) >> Set (tmp_session_id) to
9f056c35523389ed13ed7624ee6eb370
OpenInteract::Error::Main::catch (25) >> Action where the error was thrown
from: <<n/a>>
OpenInteract::Error::Main::catch (35) >> See if class
<<OpenInteract::Error::System>> will take error
OpenInteract::Error::System::cannot_create_session (335) >> Cannot create
session -- someone is probably using a defunct key or something.
>> Error with code 310 thrown. Info: Object does not exist in the data
store at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Store/DBI.pm line
91
.
OpenInteract::Error::System::log_and_return('vcdnfo::ErrorObject=HASH(0x86e09b8)')
called at /usr/lib/perl5/site_perl/5.6.1/OpenInteract/E
rror/System.pm line 342
OpenInteract::Error::System::cannot_create_session('vcdnfo::ErrorObject=HASH(0x86e09b8)')
called at /usr/lib/perl5/site_perl/5.6.1/OpenInt
eract/Error/Main.pm line 38
OpenInteract::Error::Main::catch('OpenInteract::Error::Main',
'vcdnfo::ErrorObject=HASH(0x86e09b8)') called at (eval 333) line 39
vcdnfo::ErrorObject::throw('vcdnfo::ErrorObject',
'HASH(0x8c3f5c8)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Error.pm line 9
4
OpenInteract::Error::throw('OpenInteract::Error',
'HASH(0x8c3f5c8)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Request.pm line
124
OpenInteract::Request::throw('OpenInteract::Request=HASH(0x8938da4)',
'HASH(0x8c3f5c8)') called at /usr/lib/perl5/site_perl/5.6.1/OpenInte
ract/Session/DBI.pm line 31
OpenInteract::Session::DBI::_create_session('OpenInteract::Session::DBI',
'9f056c35523389ed13ed7624ee6eb370') called at /usr/lib/perl5/sit
e_perl/5.6.1/OpenInteract/Session.pm line 27
OpenInteract::Session::parse('OpenInteract::Session::DBI') called
at /usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 256
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 251
OpenInteract::setup_cookies_and_session('OpenInteract',
'OpenInteract::Request=HASH(0x8938da4)') called at
/usr/lib/perl5/site_perl/5.6.1/
OpenInteract.pm line 52
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 46
OpenInteract::handler('OpenInteract', 'Apache=SCALAR(0x8ebfd9c)')
called at /dev/null line 0
eval {...} called at /dev/null line 0
Error saved ok (ID: ZEZNQUNHPTQH). at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Error/System.pm line 394
OpenInteract::Session::DBI::_create_session (36) >> Error thrown. Now
clear the cookie
OpenInteract::Auth::user (63) >> No uid found in session. Finding login
info.
OpenInteract::Auth::user (72) >> Creating the not-logged-in user.
OpenInteract::Auth::group (256) >> No logged-in user found, not retrieving
groups.
OpenInteract::setup_theme (351) >> Set theme to session cache, expires in
[30] minutes
OpenInteract::run_content_handler (365) >> Trying the conductor:
<<OpenInteract::UI::Main/handler>>
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
()
OpenInteract::Request::lookup_action (275) >> Found action info for ()
OpenInteract::UI::Main::handler (31) >> Action info: vcdnfo::Handler::Page
/ handler
vcdnfo::Handler::Page::_get_task (111) >> Task found from _get_task:
[show]
OpenInteract::Handler::GenericDispatcher::handler (31) >> Trying to run
vcdnfo::Handler::Page with show
vcdnfo::Handler::Page::show (303) >> Edit status of page: [edit: ] [new
object: ]
vcdnfo::Page::page_by_location (39) >> Trying to retrieve object with
location [/]
vcdnfo::Page::page_by_location (58) >> Testing [/] as a directory
vcdnfo::PageDirectory::fetch_by_directory (27) >> Initial fetch: (/)
vcdnfo::Page::page_by_location (64) >> 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)
vcdnfo::Handler::PageDirectoryIndex::file_index (112) >> Using the
following for index names: index.html
vcdnfo::Handler::PageDirectoryIndex::file_index (118) >> Trying to fetch
location (/index.html)
vcdnfo::Handler::PageDirectoryIndex::file_index (126) >> Found matching
location: (/index.html)
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(page)
OpenInteract::Request::lookup_action (275) >> Found action info for (page)
vcdnfo::Handler::Page::_is_active (583) >> Page is active: there is no
'active_on' date
vcdnfo::Handler::Page::show_displayable_page (380) >> Display
[/index.html] as normal HTML
OpenInteract::Page::File::_create_file_location (185) >> Trying to find
filesystem location for [/usr/local/www/vcdnfo/html] [/index.html]
OpenInteract::Page::File::load (29) >> File
(/usr/local/www/vcdnfo/html/index.html) exists. Trying to read file.
OpenInteract::Page::File::load (36) >> File read ok. Scanning for valid
content then returning.
vcdnfo::Handler::Page::_add_object_boxes (553) >> Adding box name
[powered_by_box] from page definition
OpenInteract::Template::Process::handler (111) >> Using raw template
source ( SCALAR ) for processing
OpenInteract::Template::Process::initialize (26) >> Starting template
initialization process
OpenInteract::Template::Process::_package_template_config (193) >>
Packages for inspection by template initialization read ok
OpenInteract::Template::Process::_package_template_config (212) >> Found
template plugin =>
OpenInteract::Template::Process::_package_template_config (212) >> Found
template plugin =>
OpenInteract::UI::Main::handler (61) >> Using template (base_main) for
full page
OpenInteract::Template::Process::handler (138) >> Using template name
(base_main) for processing
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
vcdnfo::Handler::Box->process_boxes
vcdnfo::Handler::SystemBoxes::handler (88) >> Generating information for
login box
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(login_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(login_box)
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(powered_by_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(powered_by_box)
vcdnfo::Handler::Box::process_boxes (105) >> Found information in action
table for (powered_by_box)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (class) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (method) = (handler)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (title) = (Powered By)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (weight) = (8)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (base_template) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (image) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (image_alt) = ()
vcdnfo::Handler::Box::process_boxes (130) >> Putting box (powered_by_box)
onto the stack with weight 8
vcdnfo::Handler::Box::process_boxes (130) >> Putting box (login_box) onto
the stack with weight 1
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(login_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(login_box)
OpenInteract::Handler::Component::handler (90) >> Generic template action
with (base_box::login_box)
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::login_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(powered_by_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(powered_by_box)
OpenInteract::Handler::Component::handler (90) >> Generic template action
with (base_box::powered_by_box)
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::powered_by_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::Session::save (79) >> Session not yet created. Creating...
OpenInteract::Session::DBI::_create_session (28) >> Trying to fetch
session []
OpenInteract::Session::save (101) >> Expiration for new session set to
default from config (+3M)
OpenInteract::cleanup (428) >>
Request done: Sat Jun 15 12:05:12 2002
path: (/) PID: (32700)
from: (192.168.10.1)
==============================
OpenInteract::handler (34) >>
==============================
Request started: Sat Jun 15 12:05:22 2002
path: ( / ) PID: (32701)
OpenInteract::setup_server_interface (128) >> Server hostname set to
192.168.10.2:83
OpenInteract::setup_server_interface (131) >> Request coming from
192.168.10.1
OpenInteract::parse_uri (176) >> Original path: (/)
OpenInteract::parse_uri (184) >> Items in the path:
OpenInteract::parse_uri (197) >> Action found from URL:
OpenInteract::parse_uri (204) >> Original path/query string set to: /
OpenInteract::Request::lookup_conductor (225) >> Find conductor for action
()
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
()
OpenInteract::Request::lookup_action (275) >> Found action info for ()
OpenInteract::find_action_handler (227) >> Found OpenInteract::UI::Main //
handler for conductor
Found item: Apache::DBI::db
OpenInteract::Session::DBI::_create_session (28) >> Trying to fetch
session [5bf0f8d5f745e50d2704dec1f482b3a3]
OpenInteract::Auth::user (63) >> No uid found in session. Finding login
info.
OpenInteract::Auth::login_user (166) >> Found login name from form:
(superuser)
OpenInteract::Auth::login_user (194) >> Passwords matched; UID (1)
OpenInteract::Auth::set_cached_user (214) >> Set user to session cache,
expires in [30] minutes
OpenInteract::Auth::group (259) >> Authenticated user exists; getting
groups.
OpenInteract::Auth::group (283) >> Set groups to session cache, expires
in [30] minutes
OpenInteract::setup_theme (351) >> Set theme to session cache, expires in
[30] minutes
OpenInteract::run_content_handler (365) >> Trying the conductor:
<<OpenInteract::UI::Main/handler>>
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
()
OpenInteract::Request::lookup_action (275) >> Found action info for ()
OpenInteract::UI::Main::handler (31) >> Action info: vcdnfo::Handler::Page
/ handler
vcdnfo::Handler::Page::_get_task (111) >> Task found from _get_task:
[show]
OpenInteract::Handler::GenericDispatcher::handler (31) >> Trying to run
vcdnfo::Handler::Page with show
vcdnfo::Handler::Page::show (303) >> Edit status of page: [edit: ] [new
object: ]
vcdnfo::Page::page_by_location (39) >> Trying to retrieve object with
location [/]
vcdnfo::Page::page_by_location (58) >> Testing [/] as a directory
vcdnfo::PageDirectory::fetch_by_directory (27) >> Initial fetch: (/)
vcdnfo::Page::page_by_location (64) >> 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)
vcdnfo::Handler::PageDirectoryIndex::file_index (112) >> Using the
following for index names: index.html
vcdnfo::Handler::PageDirectoryIndex::file_index (118) >> Trying to fetch
location (/index.html)
vcdnfo::Handler::PageDirectoryIndex::file_index (126) >> Found matching
location: (/index.html)
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(page)
OpenInteract::Request::lookup_action (275) >> Found action info for (page)
vcdnfo::Handler::Page::_is_active (583) >> Page is active: there is no
'active_on' date
vcdnfo::Handler::Page::show_displayable_page (380) >> Display
[/index.html] as normal HTML
OpenInteract::Page::File::_create_file_location (185) >> Trying to find
filesystem location for [/usr/local/www/vcdnfo/html] [/index.html]
OpenInteract::Page::File::load (29) >> File
(/usr/local/www/vcdnfo/html/index.html) exists. Trying to read file.
OpenInteract::Page::File::load (36) >> File read ok. Scanning for valid
content then returning.
vcdnfo::Handler::Page::_add_object_boxes (553) >> Adding box name
[powered_by_box] from page definition
OpenInteract::Template::Process::handler (111) >> Using raw template
source ( SCALAR ) for processing
OpenInteract::Template::Process::initialize (26) >> Starting template
initialization process
OpenInteract::Template::Process::_package_template_config (193) >>
Packages for inspection by template initialization read ok
OpenInteract::Template::Process::_package_template_config (212) >> Found
template plugin =>
OpenInteract::Template::Process::_package_template_config (212) >> Found
template plugin =>
OpenInteract::UI::Main::handler (61) >> Using template (base_main) for
full page
OpenInteract::Template::Process::handler (138) >> Using template name
(base_main) for processing
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
vcdnfo::Handler::Box->process_boxes
vcdnfo::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)
vcdnfo::Handler::SystemBoxes::handler (73) >> User is in site admin group:
generating info for admin_tools_box and templates used box
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(admin_tools_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(admin_tools_box)
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(templates_used_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(templates_used_box)
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(powered_by_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(powered_by_box)
vcdnfo::Handler::Box::process_boxes (105) >> Found information in action
table for (powered_by_box)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (class) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (method) = (handler)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (title) = (Powered By)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (weight) = (8)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (base_template) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (image) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (image_alt) = ()
vcdnfo::Handler::Box::process_boxes (130) >> Putting box (powered_by_box)
onto the stack with weight 8
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(edit_document_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(edit_document_box)
vcdnfo::Handler::Box::process_boxes (105) >> Found information in action
table for (edit_document_box)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (class) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (method) = (handler)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (title) = (Document Info)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (weight) = (4)
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (base_template) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (image) = ()
vcdnfo::Handler::Box::process_boxes (107) >> Box information from action
table: (image_alt) = ()
vcdnfo::Handler::Box::process_boxes (130) >> Putting box
(edit_document_box) onto the stack with weight 4
vcdnfo::Handler::Box::process_boxes (130) >> Putting box (user_info_box)
onto the stack with weight 1
vcdnfo::Handler::Box::process_boxes (130) >> Putting box (admin_tools_box)
onto the stack with weight 10
vcdnfo::Handler::Box::process_boxes (130) >> Putting box
(templates_used_box) onto the stack with weight 11
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 (138) >> Using template name
(base_box::user_info_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(edit_document_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(edit_document_box)
OpenInteract::Handler::Component::handler (90) >> Generic template action
with (base_page::edit_document_box)
OpenInteract::Template::Process::handler (138) >> Using template name
(base_page::edit_document_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(powered_by_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(powered_by_box)
OpenInteract::Handler::Component::handler (90) >> Generic template action
with (base_box::powered_by_box)
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::powered_by_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(admin_tools_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(admin_tools_box)
OpenInteract::Handler::Component::handler (90) >> Generic template action
with (base_box::admin_tools_box)
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::admin_tools_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(templates_used_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(templates_used_box)
OpenInteract::Handler::Component::handler (105) >> Calling component with
vcdnfo::Handler::SystemBoxes->templates_used
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::templates_used_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::cleanup (428) >>
Request done: Sat Jun 15 12:05:23 2002
path: (/) PID: (32701)
from: (192.168.10.1)
==============================
OpenInteract::handler (34) >>
==============================
Request started: Sat Jun 15 12:05:39 2002
path: ( /User/show/ ) PID: (32703)
OpenInteract::setup_server_interface (128) >> Server hostname set to
192.168.10.2:83
OpenInteract::setup_server_interface (131) >> Request coming from
192.168.10.1
OpenInteract::parse_uri (176) >> Original path: (/User/show/)
OpenInteract::parse_uri (184) >> Items in the path: User // show
OpenInteract::parse_uri (197) >> Action found from URL: User
OpenInteract::parse_uri (204) >> Original path/query string set to:
/User/show/?edit=1
OpenInteract::Request::lookup_conductor (225) >> Find conductor for action
(User)
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(User)
OpenInteract::Request::lookup_action (275) >> Found action info for (User)
OpenInteract::find_action_handler (227) >> Found OpenInteract::UI::Main //
handler for conductor
Found item: Apache::DBI::db
OpenInteract::Session::DBI::_create_session (28) >> Trying to fetch
session [5bf0f8d5f745e50d2704dec1f482b3a3]
OpenInteract::Auth::user (63) >> No uid found in session. Finding login
info.
OpenInteract::Auth::user (72) >> Creating the not-logged-in user.
OpenInteract::Auth::group (256) >> No logged-in user found, not retrieving
groups.
OpenInteract::setup_theme (351) >> Set theme to session cache, expires in
[30] minutes
OpenInteract::run_content_handler (365) >> Trying the conductor:
<<OpenInteract::UI::Main/handler>>
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(User)
OpenInteract::Request::lookup_action (275) >> Found action info for (User)
OpenInteract::UI::Main::handler (31) >> Action info: vcdnfo::Handler::User
/ handler
OpenInteract::Handler::GenericDispatcher::handler (31) >> Trying to run
vcdnfo::Handler::User with show
vcdnfo::Handler::User::show (128) >> No permission to create new user.
OpenInteract::Template::Process::handler (138) >> Using template name
(base_user::user_search_form) for processing
OpenInteract::Template::Process::initialize (26) >> Starting template
initialization process
OpenInteract::Template::Process::_package_template_config (193) >>
Packages for inspection by template initialization read ok
OpenInteract::Template::Process::_package_template_config (212) >> Found
template plugin =>
OpenInteract::Template::Process::_package_template_config (212) >> Found
template plugin =>
OpenInteract::UI::Main::handler (61) >> Using template (base_main) for
full page
OpenInteract::Template::Process::handler (138) >> Using template name
(base_main) for processing
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
vcdnfo::Handler::Box->process_boxes
vcdnfo::Handler::SystemBoxes::handler (88) >> Generating information for
login box
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(login_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(login_box)
vcdnfo::Handler::Box::process_boxes (130) >> Putting box (login_box) onto
the stack with weight 1
OpenInteract::Request::lookup_action (254) >> Find action corresponding to
(login_box)
OpenInteract::Request::lookup_action (275) >> Found action info for
(login_box)
OpenInteract::Handler::Component::handler (90) >> Generic template action
with (base_box::login_box)
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::login_box) for processing
OpenInteract::Template::Process::handler (138) >> Using template name
(base_box::main_box_shell) for processing
OpenInteract::cleanup (428) >>
Request done: Sat Jun 15 12:05:40 2002
path: (/User/show/?edit=1) PID: (32703)
from: (192.168.10.1)
==============================
|
|
From: Chris W. <ch...@cw...> - 2002-06-15 18:34:55
|
On Sat, 2002-06-15 at 14:17, Allen Day wrote:
> There were some sessions left in the sessions table. I deleted them, but
> still have the same problem. The a_session field seems to have some
> binary data in it. It puts backspaces into the row display. Is this
> normal?
Yeah, that's correct. Apache::Session::MySQL uses Storable to
freeze/thaw the session data, and Storable is a binary format.
> I'm using MySQL 3.23
I think that should be ok. I've tested OI/MySQL with 3.23.36 without
problems.
What versions are you using of the following?
Apache
mod_perl
DBI
DBD::mysql
Apache::Session
> Here is the content of a fresh error_log_modperl_solo logfile after trying
> to log in as superuser and create a new user and a new template. Why is
> it setting hostname to either the admin or content email address?
It sets the hostname by calling:
my $srv = $apr->server;
$R->{server_name} = $srv->server_hostname;
And 'perldoc Apache' says:
$s->server_hostname
Returns the hostname used by this server.
So maybe you have the server or vhost name set incorrectly in your
Apache configuration? ('ServerName' should be the hostname,
'ServerAdmin' should be your email.)
> ------------
> OpenInteract::Template::Process::handler (138) >> Using
> template name (base_box::login_box) for processing
> OpenInteract::Template::Process::handler (138) >> Using
> template name (base_box::main_box_shell) for processing
> OpenInteract::cleanup (428) >>
> Request done: Sat Jun 15 11:12:37 2002
> path: (/User/show/?edit=1) PID: (32312)
> from: (192.168.10.1)
> ==============================
Had you logged in previously? This isn't a complete request -- it would
be useful to see the snippet that you've logged in ok. It would look
something like:
---------------
OpenInteract::Session::DBI::_create_session (26) >> Trying to fetch
session 7c958d41dfd21477f02ab1396d683f03
OpenInteract::Auth::user (63) >> No uid found in session. Finding login
info.
OpenInteract::Auth::login_user (166) >> Found login name from form:
(superuser)
OITest::User::check_password (101) >> Checking using the crypt()
function.
OpenInteract::Auth::login_user (194) >> Passwords matched; UID (1)
OpenInteract::Auth::set_cached_user (214) >> Set user to session cache,
expires in [30] minutes
OpenInteract::Auth::group (259) >> Authenticated user exists; getting
groups.
OpenInteract::Auth::group (283) >> Set groups to session cache, expires
in [30] minutes
---------------
> OpenInteract::Session::DBI::_create_session (28) >> Trying to
> fetch session [a38ca239fbc176829e875e2c5d7fc3bb]
> OpenInteract::Auth::user (63) >> No uid found in session.
> Finding login info.
> OpenInteract::Auth::user (72) >> Creating the not-logged-in
> user.
> OpenInteract::Auth::group (256) >> No logged-in user found,
> not retrieving groups.
This says that you've got a session without login infomration, which is
why you're getting the 'task forbidden' errors.
Try:
- deleting the session from the table:
delete from session where id ='a38ca239fbc176829e875e2c5d7fc3bb'
- login using the login box
- see if you get something like this toward the end of the request
where you login and/or create a new session:
---------------
OpenInteract::Session::save (79) >> Session not yet created. Creating...
OpenInteract::Session::DBI::_create_session (26) >> Trying to fetch
session
OpenInteract::Session::save (101) >> Expiration for new session set to
default from config (+3M)
---------------
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|
|
From: Allen D. <all...@uc...> - 2002-06-15 18:09:01
|
There were some sessions left in the sessions table. I deleted them, but
still have the same problem. The a_session field seems to have some
binary data in it. It puts backspaces into the row display. Is this
normal?
I'm using MySQL 3.23
Here is the content of a fresh error_log_modperl_solo logfile after trying
to log in as superuser and create a new user and a new template. Why is
it setting hostname to either the admin or content email address?
------------
OpenInteract::Template::Process::handler (138) >> Using
template name (base_box::login_box) for processing
OpenInteract::Template::Process::handler (138) >> Using
template name (base_box::main_box_shell) for processing
OpenInteract::cleanup (428) >>
Request done: Sat Jun 15 11:12:37 2002
path: (/User/show/?edit=1) PID: (32312)
from: (192.168.10.1)
==============================
OpenInteract::handler (34) >>
==============================
Request started: Sat Jun 15 11:14:04 2002
path: ( /Theme/show/ ) PID: (32313)
OpenInteract::setup_server_interface (128) >> Server hostname
set to all...@uc...
OpenInteract::setup_server_interface (131) >> Request coming
from 192.168.10.1
OpenInteract::parse_uri (176) >> Original path: (/Theme/show/)
OpenInteract::parse_uri (184) >> Items in the path: Theme //
show
OpenInteract::parse_uri (197) >> Action found from URL: Theme
OpenInteract::parse_uri (204) >> Original path/query string
set to: /Theme/show/?edit=1
OpenInteract::Request::lookup_conductor (225) >> Find
conductor for action (Theme)
OpenInteract::Request::lookup_action (254) >> Find action
corresponding to (Theme)
OpenInteract::Request::lookup_action (275) >> Found action
info for (Theme)
OpenInteract::find_action_handler (227) >> Found
OpenInteract::UI::Main // handler for conductor
Found item: Apache::DBI::db
OpenInteract::Session::DBI::_create_session (28) >> Trying to
fetch session [a38ca239fbc176829e875e2c5d7fc3bb]
OpenInteract::Auth::user (63) >> No uid found in session.
Finding login info.
OpenInteract::Auth::user (72) >> Creating the not-logged-in
user.
OpenInteract::Auth::group (256) >> No logged-in user found,
not retrieving groups.
OpenInteract::setup_theme (351) >> Set theme to session cache,
expires in [30] minutes
OpenInteract::run_content_handler (365) >> Trying the
conductor: <<OpenInteract::UI::Main/handler>>
OpenInteract::Request::lookup_action (254) >> Find action
corresponding to (Theme)
OpenInteract::Request::lookup_action (275) >> Found action
info for (Theme)
OpenInteract::UI::Main::handler (31) >> Action info:
vcdnfo::Handler::Theme / handler
OpenInteract::Handler::GenericDispatcher::handler (31) >>
Trying to run vcdnfo::Handler::Theme with show
vcdnfo::ErrorObject::initialize (67) >> Set
(tmp_required_level) to 8
vcdnfo::ErrorObject::initialize (67) >> Set (tmp_task) to show
vcdnfo::ErrorObject::initialize (67) >> Set (tmp_class) to
vcdnfo::Handler::Theme
vcdnfo::ErrorObject::initialize (67) >> Set (tmp_user_level)
to 1
OpenInteract::Error::Main::catch (25) >> Action where the
error was thrown from: <<n/a>>
OpenInteract::Error::Main::catch (35) >> See if class
<<OpenInteract::Error::System>> will take error
>> Error: Cannot accomplish task due to security. at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Error/System.pm
line 295
OpenInteract::Error::System::task_not_allowed_security('vcdnfo::ErrorObject=HASH(0x8f1d008)')
called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Error/Main.pm line
38
OpenInteract::Error::Main::catch('OpenInteract::Error::Main',
'vcdnfo::ErrorObject=HASH(0x8f1d008)') called at (eval 333)
line 39
vcdnfo::ErrorObject::throw('vcdnfo::ErrorObject',
'HASH(0x8f21af0)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Error.pm line 94
OpenInteract::Error::throw('OpenInteract::Error',
'HASH(0x8f21af0)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Request.pm line
124
OpenInteract::Request::throw('OpenInteract::Request=HASH(0x8938da4)',
'HASH(0x8f21af0)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Handler/GenericDispatcher.pm
line 148
OpenInteract::Handler::GenericDispatcher::_check_task_security('vcdnfo::Handler::Theme',
'show') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/Handler/GenericDispatcher.pm
line 50
OpenInteract::Handler::GenericDispatcher::handler('vcdnfo::Handler::Theme',
'HASH(0x88120c8)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/UI/Main.pm line 37
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract/UI/Main.pm line 37
OpenInteract::UI::Main::handler('OpenInteract::UI::Main')
called at /usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line
366
OpenInteract::run_content_handler('OpenInteract',
'OpenInteract::Request=HASH(0x8938da4)') called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 55
eval {...} called at
/usr/lib/perl5/site_perl/5.6.1/OpenInteract.pm line 46
OpenInteract::handler('OpenInteract',
'Apache=SCALAR(0x8ebfd90)') called at /dev/null line 0
eval {...} called at /dev/null line 0
OpenInteract::Template::Process::handler (138) >> Using
template name (error_task_forbidden) for processing
OpenInteract::Template::Process::initialize (26) >> Starting
template initialization process
OpenInteract::Template::Process::_package_template_config
(193) >> Packages for inspection by template initialization
read ok
OpenInteract::Template::Process::_package_template_config
(212) >> Found template plugin =>
OpenInteract::Template::Process::_package_template_config
(212) >> Found template plugin =>
OpenInteract::UI::Main::handler (41) >> Action died. Here is
what it left: <div align="center">
<h1>Task is Forbidden</h1>
<table width="50%" border="0" cellpadding="5" cellspacing="0">
<tr><td align="left">
You cannot accomplish the task you have requested due to
security restrictions. If you believe there is a mistake,
please
contact <a href="mailto:all...@uc...">The
Administrator</a>.
</td></tr>
<tr><td align="right">Sincerely,<br>
The Management
</td></tr>
</table>
</div>
OpenInteract::UI::Main::handler (61) >> Using template
(base_main) for full page
OpenInteract::Template::Process::handler (138) >> Using
template name (base_main) for processing
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 vcdnfo::Handler::Box->process_boxes
vcdnfo::Handler::SystemBoxes::handler (88) >> Generating
information for login box
OpenInteract::Request::lookup_action (254) >> Find action
corresponding to (login_box)
OpenInteract::Request::lookup_action (275) >> Found action
info for (login_box)
vcdnfo::Handler::Box::process_boxes (130) >> Putting box
(login_box) onto the stack with weight 1
OpenInteract::Request::lookup_action (254) >> Find action
corresponding to (login_box)
OpenInteract::Request::lookup_action (275) >> Found action
info for (login_box)
OpenInteract::Handler::Component::handler (90) >> Generic
template action with (base_box::login_box)
OpenInteract::Template::Process::handler (138) >> Using
template name (base_box::login_box) for processing
OpenInteract::Template::Process::handler (138) >> Using
template name (base_box::main_box_shell) for processing
OpenInteract::cleanup (428) >>
Request done: Sat Jun 15 11:14:05 2002
path: (/Theme/show/?edit=1) PID: (32313)
from: (192.168.10.1)
==============================
------------
On Sat, 15 Jun 2002, Chris Winters wrote:
> On Sat, 2002-06-15 at 13:55, Allen Day wrote:
> > I changed both server.ini and server.perl to use
> > OpenInteract::Cookies::CGI, restarted the server, and I am still getting
> > the same errors. I have tried on both Linux Netscape 4.76 and Windows
> > MSIE 5.0.
>
> First thing: see if any sessions were saved to the database. Just do a
> 'select id from sessions' in whatever database you're using. If not,
> then something is screwy with your session setup. (What database are you
> using, by the way?)
>
> If there is at least one then the next thing is to view logging
> information for a request. Set your DEBUG in server.ini to 1, stop and
> restart the server then try to login and then request another page and
> see if you find anything interesting in
> $WEBSITE_DIR/logs/error_log_modperl. If nothing jumps out at you, snip
> out these requests from the log and send it to the list.
>
> Also, just get rid of the server.perl file. It's there for backward
> compatibility.
>
> Chris
>
>
|
|
From: Chris W. <ch...@cw...> - 2002-06-15 17:57:04
|
On Sat, 2002-06-15 at 13:55, Allen Day wrote: > I changed both server.ini and server.perl to use > OpenInteract::Cookies::CGI, restarted the server, and I am still getting > the same errors. I have tried on both Linux Netscape 4.76 and Windows > MSIE 5.0. First thing: see if any sessions were saved to the database. Just do a 'select id from sessions' in whatever database you're using. If not, then something is screwy with your session setup. (What database are you using, by the way?) If there is at least one then the next thing is to view logging information for a request. Set your DEBUG in server.ini to 1, stop and restart the server then try to login and then request another page and see if you find anything interesting in $WEBSITE_DIR/logs/error_log_modperl. If nothing jumps out at you, snip out these requests from the log and send it to the list. Also, just get rid of the server.perl file. It's there for backward compatibility. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Allen D. <all...@uc...> - 2002-06-15 17:47:32
|
Chris, I changed both server.ini and server.perl to use OpenInteract::Cookies::CGI, restarted the server, and I am still getting the same errors. I have tried on both Linux Netscape 4.76 and Windows MSIE 5.0. -Allen On Sat, 15 Jun 2002, Chris Winters wrote: > On Sat, 2002-06-15 at 05:05, Allen Day wrote: > > I just installed OpenInteract. HTML/images are working fine. > > > > Adding users works fine unless I set the passwords in the DB to be > > unencrypted, in which case it leaves the password field blank in sys_user. > > But this is no big deal. > > > > The problem I'm stuck on is that as any user (including superuser), I am > > unable to perform any actions. Cannot change password, cannot change user > > details, cannot create or change users/groups/templates/themes. > > Everything gives a "Task is Forbidden" screen. > > Sounds like cookies aren't working. See the last entry in the FAQ > distributed in the OpenInteract package, or check online at: > > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/openinteract/OpenInteract/FAQ?rev=1.15&content-type=text/vnd.viewcvs-markup > > Chris > > |
|
From: Chris W. <ch...@cw...> - 2002-06-15 15:33:05
|
On Sat, 2002-06-15 at 05:05, Allen Day wrote: > I just installed OpenInteract. HTML/images are working fine. > > Adding users works fine unless I set the passwords in the DB to be > unencrypted, in which case it leaves the password field blank in sys_user. > But this is no big deal. > > The problem I'm stuck on is that as any user (including superuser), I am > unable to perform any actions. Cannot change password, cannot change user > details, cannot create or change users/groups/templates/themes. > Everything gives a "Task is Forbidden" screen. Sounds like cookies aren't working. See the last entry in the FAQ distributed in the OpenInteract package, or check online at: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/openinteract/OpenInteract/FAQ?rev=1.15&content-type=text/vnd.viewcvs-markup Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Allen D. <all...@uc...> - 2002-06-15 08:56:55
|
Hi, I just installed OpenInteract. HTML/images are working fine. Adding users works fine unless I set the passwords in the DB to be unencrypted, in which case it leaves the password field blank in sys_user. But this is no big deal. The problem I'm stuck on is that as any user (including superuser), I am unable to perform any actions. Cannot change password, cannot change user details, cannot create or change users/groups/templates/themes. Everything gives a "Task is Forbidden" screen. What is causing this? -Allen |
|
From: Chris W. <ch...@cw...> - 2002-05-24 19:25:28
|
On Fri, 2002-05-24 at 06:51, Ben Avery wrote: > I'm building a information and workflow system onto an existing relational > schema, which is fairly complex (around 25 tables), and which has three > types of user with different roles, but whose activities use and affect the > same tables. > > I'm wondering the best approach to structuring the packages and objects? > I thought of making a package for each user's activities (there is very > little shared functionality), and making each table into a SPOPS object > (with any more complex activities handled explicitly with SQL) but then > which packages should the common tables belong to? > Could I make a separate 'schema' package which contains all the tables as > SPOPS objects? OpenInteract doesn't really care about packages per-se. At server startup it merges all the relevant information from all installed packages into a single data structure provided by the configuration object. So the packages are really for us humans who have trouble keeping these things separate. As a result, it's really up to you how you organize them. A few rules of thumb off the top of my head: - If you find yourself updating templates/objects/actions/handlers in two packages at the same time, they probably belong in one package - If you have more than five or six objects that are not tightly related (dependent objects, etc.) in the same package, you might think about splitting some functionality out into another package - Keeping the schema (struct/foo.sql) definition in the same package as the object definition (conf/spops.perl) is a very good idea. - If you have non-object tables, what package are they most closely related to? If the answer is more than 1, it's probably a good idea to create a 'mycompany_common' package and put them there. Doing this is also a good idea for common object behaviors, template plugins, site widgets, etc. Hope this helps, Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Ben A. <be...@th...> - 2002-05-24 10:52:17
|
I'm building a information and workflow system onto an existing relational schema, which is fairly complex (around 25 tables), and which has three types of user with different roles, but whose activities use and affect the same tables. I'm wondering the best approach to structuring the packages and objects? I thought of making a package for each user's activities (there is very little shared functionality), and making each table into a SPOPS object (with any more complex activities handled explicitly with SQL) but then which packages should the common tables belong to? Could I make a separate 'schema' package which contains all the tables as SPOPS objects? any ideas gratefully received ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ben Avery YouthNet Programmer/Analyst Broadmead House e: be...@th... 21-23 Panton St t: 020 7925 2530 London f: 020 7925 2830 SW1Y 4DR ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
|
From: Chris W. <ch...@cw...> - 2002-05-17 12:59:22
|
On Fri, 2002-05-17 at 02:06, Chris McDaniel wrote: > I would like to write a script that I could cron that would read in a csv > file and create user accounts based on the contents. I'd like to use OI > functions to ensure that security and whatnot gets set properly. I've > looked at the way users are created within OI, but I don't see a way to get > $R outside the web server (as there is not a request, right?). Is there > another way to call OI functionality without having a request to base if on? Check the script: $WEBSITE_DIR/pkg/base_security-x.xx/script/create_object_security.pl for an example. It's actually really easy! Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Chris M. <Chr...@te...> - 2002-05-17 06:11:12
|
Hi, I would like to write a script that I could cron that would read in a csv file and create user accounts based on the contents. I'd like to use OI functions to ensure that security and whatnot gets set properly. I've looked at the way users are created within OI, but I don't see a way to get $R outside the web server (as there is not a request, right?). Is there another way to call OI functionality without having a request to base if on? Thanks, Chris McDaniel Service Development Architect TELUS Business Solutions Voice.416.862.1401e590 Cell.416.676.4654 |
|
From: Kim H. / A. <k...@oe...> - 2002-05-14 07:59:51
|
When I use the 'Template New' link i 'Admin Tools' the new template overwrites an existing template. I have set DEBUG to 1 and pasted a piece of the logfile that probably shows where it goes wrong. ========== OpenInteract::UI::Main::handler (31) >> Action info: EssoWeb::Handler::SiteTemplate / handler OpenInteract::Handler::GenericDispatcher::handler (31) >> Trying to run EssoWeb::Handler::SiteTemplate with edit EssoWeb::Handler::SiteTemplate::edit (110) >> Trying to modify ID <<>> SPOPS::DBI::id_clause (140) >> No ID passed in and called as a class method rather than an object method. OpenInteract::SPOPS::log_action_enter (137) >> Entering action update to EssoWeb::SiteTemplate (5) by 2 on 2002-05-07 20:27:55 OpenInteract::Template::Process::handler (131) >> Using template name (base_template::template_list) for processing ========== What can I do to correct the problem? -- Kim Hansen | |\ _,,,---,,_ Dalslandsgade 8, A708 | /,`.-'`' -. ;-;;,_ 2300 København S | |,4- ) )-,_. ,\ ( `'-' Phone: 32 88 60 86 | '---''(_/--' `-'\_) |
|
From: Chris W. <ch...@cw...> - 2002-05-10 12:57:54
|
On Fri, 2002-05-10 at 08:20, Mike Melillo wrote: > > Both exist. However, I did not use the extension .html is that > necessary? Umm... check the mime_type of the page and see what it says. > After coming back to the server after about 20 hours of idle time I got > this error in my browser. > > Fundamental part of OpenInteract (themes) not functioning; please > contact the system administrator This might be because your database handle timed out. Check the apache (vhost, if you're running it) error log and see what it says. What database are you using? Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Chris W. <ch...@cw...> - 2002-05-10 12:12:28
|
On Wed, 2002-05-08 at 20:25, Drew Taylor wrote: > OK, I've got the OI installed and the proxies setup. I've verified that the > modperl server is receiving the requests. But I'm getting an error. Here is > what is displayed in the browser: > > Can't locate object method "error" via package "OpenInteract::Request" > (perhaps you forgot to load "OpenInteract::Request"?) at > /usr/local/lib/perl5/site_perl/5.6.1/OpenInteract/Request.pm line 124. > > Below is what I see in the error log after turning on debugging. Ideas? > > OpenInteract::handler (34) >> > > ============================== > Request started: Wed May 8 20:19:30 2002 > path: ( /oi/ ) PID: (26202) > OpenInteract::setup_server_interface (128) >> Server hostname set to > home.drewtaylor.com > OpenInteract::setup_server_interface (131) >> Request coming from 192.168.1.100 > OpenInteract::parse_uri (176) >> Original path: (/oi/) > OpenInteract::parse_uri (180) >> Modified path by removing (/oi): (/) > OpenInteract::parse_uri (184) >> Items in the path: > OpenInteract::parse_uri (197) >> Action found from URL: > OpenInteract::parse_uri (204) >> Original path/query string set to: / > OpenInteract::Request::lookup_conductor (225) >> Find conductor for action () > OpenInteract::Request::lookup_action (254) >> Find action corresponding to () > OpenInteract::Request::lookup_action (275) >> Found action info for () > OpenInteract::find_action_handler (216) >> Conductor not found; displaying > oops page. > --EXITED WITH ERROR from main handler eval block > Error: 0 This is strange -- the fact that the 'error' message doesn't exist in OpenInteract::Request means that the aliases weren't properly setup during server startup. Do you see any messages in your server (versus this virtualhost) error log? Also: are you trying to run this under a different root directory? For example, running everything under /oi/? I don't think this is supported yet.... Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Chris W. <ch...@cw...> - 2002-05-10 12:07:59
|
On Wed, 2002-05-08 at 21:14, Mike Melillo wrote:
> I finally got OI installed and working properly in all regards(so I
> think...)
>
> Now I'm trying to get my head around its functionality. I tried to
> create a test page, and I was informed the page was created properly,
> but then when I try to view/edit or do anything with the page, I am
> brought to the Sorry: Not Found page.
>
> Any tips on how to properly create pages/templates/locations and also,
> what do I do about about this test page scenario?
Some things to check:
1) Peek into the database and see if the page metadata was created:
SELECT * FROM page where location = '/url/I/created.html'
2) Peek into the filesystem and see if the content was created:
$WEBSITE_DIR/html/url/I/created.html
If neither is created, there should be a message in the error log.
If the first is created but not the second, it's likely a permissions
problem. Ensure the user the webserver runs has write access to the
'html/' directory and all subdirectories.
Chris
--
Chris Winters (ch...@cw...)
Building enterprise-capable snack solutions since 1988.
|
|
From: Mike M. <mme...@at...> - 2002-05-09 01:24:39
|
I finally got OI installed and working properly in all regards(so I think...) Now I'm trying to get my head around its functionality. I tried to create a test page, and I was informed the page was created properly, but then when I try to view/edit or do anything with the page, I am brought to the Sorry: Not Found page. Any tips on how to properly create pages/templates/locations and also, what do I do about about this test page scenario? Thanks, Mike Melillo -----Original Message----- From: ope...@li... [mailto:ope...@li...] On Behalf Of Chris Winters Sent: Wednesday, May 08, 2002 4:22 PM To: Drew Taylor Cc: ope...@li... Subject: Re: [Openinteract-help] Install problems solved On Wed, 2002-05-08 at 10:28, Drew Taylor wrote: > Chris, > > I just wanted to let you know that I got the initial install problems > solved by just starting from scratch. I have to say I'm impressed w/ how > easy it was - about 10 min total. Now I'm off to compile a proper server > setup (just using a single heavy server at the moment due to now resolved > lack of memory problems). I'm sure you'll be hearing from me again soon. :-) Excellent news! I figured Postgres shouldn't present any problems -- that's the system I use for testinng, my website, intranet website, etc. > BTW, what is the preferred, read fastest, solution for changing the SPOPS > drivers? I actually have both ways implemented, so I was wondering which > one was actually being used. Well, the centralized configuration is very new, but you could say as of two days ago it's the preferred method. I'll probably remove any mention of the old 'change_spops_driver' from the README, docs, etc. for the next version. > Thanks again for SPOPS & OI. I'm looking > forward to getting to know them. Any chance you're going to YAPC & giving a > talk there about OI? Unfortunately not. Scheduling conflicts -- summer vacation plans needed more lead time than YAPC presented. Huge bummer for me, as it will be the first YAPC::NA I haven't gone to. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: ban...@so... _______________________________________________ openinteract-help mailing list ope...@li... https://lists.sourceforge.net/lists/listinfo/openinteract-help |
|
From: Drew T. <dr...@dr...> - 2002-05-09 00:25:30
|
OK, I've got the OI installed and the proxies setup. I've verified that the modperl server is receiving the requests. But I'm getting an error. Here is what is displayed in the browser: Can't locate object method "error" via package "OpenInteract::Request" (perhaps you forgot to load "OpenInteract::Request"?) at /usr/local/lib/perl5/site_perl/5.6.1/OpenInteract/Request.pm line 124. Below is what I see in the error log after turning on debugging. Ideas? OpenInteract::handler (34) >> ============================== Request started: Wed May 8 20:19:30 2002 path: ( /oi/ ) PID: (26202) OpenInteract::setup_server_interface (128) >> Server hostname set to home.drewtaylor.com OpenInteract::setup_server_interface (131) >> Request coming from 192.168.1.100 OpenInteract::parse_uri (176) >> Original path: (/oi/) OpenInteract::parse_uri (180) >> Modified path by removing (/oi): (/) OpenInteract::parse_uri (184) >> Items in the path: OpenInteract::parse_uri (197) >> Action found from URL: OpenInteract::parse_uri (204) >> Original path/query string set to: / OpenInteract::Request::lookup_conductor (225) >> Find conductor for action () OpenInteract::Request::lookup_action (254) >> Find action corresponding to () OpenInteract::Request::lookup_action (275) >> Found action info for () OpenInteract::find_action_handler (216) >> Conductor not found; displaying oops page. --EXITED WITH ERROR from main handler eval block Error: 0 ====================================================================== Drew Taylor | Freelance web development using http://www.drewtaylor.com/ | perl/mod_perl/MySQL/postgresql/DBI mailto:dr...@dr... | Contact: jo...@dr... ---------------------------------------------------------------------- Speakeasy.net: A DSL provider with a clue. Sign up today. http://www.speakeasy.net/refer/29655 ====================================================================== |
|
From: Chris W. <ch...@cw...> - 2002-05-08 20:26:03
|
On Wed, 2002-05-08 at 10:28, Drew Taylor wrote: > Chris, > > I just wanted to let you know that I got the initial install problems > solved by just starting from scratch. I have to say I'm impressed w/ how > easy it was - about 10 min total. Now I'm off to compile a proper server > setup (just using a single heavy server at the moment due to now resolved > lack of memory problems). I'm sure you'll be hearing from me again soon. :-) Excellent news! I figured Postgres shouldn't present any problems -- that's the system I use for testinng, my website, intranet website, etc. > BTW, what is the preferred, read fastest, solution for changing the SPOPS > drivers? I actually have both ways implemented, so I was wondering which > one was actually being used. Well, the centralized configuration is very new, but you could say as of two days ago it's the preferred method. I'll probably remove any mention of the old 'change_spops_driver' from the README, docs, etc. for the next version. > Thanks again for SPOPS & OI. I'm looking > forward to getting to know them. Any chance you're going to YAPC & giving a > talk there about OI? Unfortunately not. Scheduling conflicts -- summer vacation plans needed more lead time than YAPC presented. Huge bummer for me, as it will be the first YAPC::NA I haven't gone to. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Drew T. <dr...@dr...> - 2002-05-08 14:27:27
|
Chris, I just wanted to let you know that I got the initial install problems solved by just starting from scratch. I have to say I'm impressed w/ how easy it was - about 10 min total. Now I'm off to compile a proper server setup (just using a single heavy server at the moment due to now resolved lack of memory problems). I'm sure you'll be hearing from me again soon. :-) BTW, what is the preferred, read fastest, solution for changing the SPOPS drivers? I actually have both ways implemented, so I was wondering which one was actually being used. Thanks again for SPOPS & OI. I'm looking forward to getting to know them. Any chance you're going to YAPC & giving a talk there about OI? ====================================================================== Drew Taylor | Freelance web development using http://www.drewtaylor.com/ | perl/mod_perl/MySQL/postgresql/DBI mailto:dr...@dr... | Email jobs at drewtaylor.com ---------------------------------------------------------------------- Speakeasy.net: A DSL provider with a clue. Sign up today. http://www.speakeasy.net/refer/29655 ====================================================================== |
|
From: Drew T. <dr...@dr...> - 2002-05-08 13:27:23
|
At 08:54 AM 5/8/02 -0400, Drew Taylor wrote: >>Date: 08 May 2002 08:47:34 -0400 >> >>This is almost certainly related to not having the correct SPOPS driver >>specified in your object. One of the main things the SPOPS driver does >>is ensure that automatic key generation works consistently from database >>to database. If you have the wrong driver, then the ID will not be set >>properly and you'll get an error like the one you got. >> >>The easy way to tell: What does the file: >> >> $WEBSITE_DIR/conf/base_error-1.42/conf/spops.perl >> >>have in the 'isa' key? I can't seem to find that file at all, so I obviously screwed something up big. I'm going to create a new website and start over from scratch. Shouldn't take long since I have my notes. ====================================================================== Drew Taylor | Freelance web development using http://www.drewtaylor.com/ | perl/mod_perl/MySQL/postgresql/DBI mailto:dr...@dr... | Email jobs at drewtaylor.com ---------------------------------------------------------------------- Speakeasy.net: A DSL provider with a clue. Sign up today. http://www.speakeasy.net/refer/29655 ====================================================================== |
|
From: Chris W. <ch...@cw...> - 2002-05-08 12:11:00
|
On Wed, 2002-05-08 at 01:31, Drew Taylor wrote: > Hi, it's me again. :-) > > Now I'm running into errors running oi_manage install_sql. The tables are > created properly: > ... > But I get this error when trying to create the super user. And then for the > various packages I get errors trying to create a SPOPS object. Any ideas? > I'm assuming this is a showstopper. I don't remember having this much > trouble w/ the Mysql based SPOPS. > ... This is almost certainly related to not having the correct SPOPS driver specified in your object. One of the main things the SPOPS driver does is ensure that automatic key generation works consistently from database to database. If you have the wrong driver, then the ID will not be set properly and you'll get an error like the one you got. The easy way to tell: What does the file: $WEBSITE_DIR/conf/base_error-1.42/conf/spops.perl have in the 'isa' key? Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Chris W. <ch...@cw...> - 2002-05-08 12:06:55
|
On Wed, 2002-05-08 at 01:23, Drew Taylor wrote: > I'm changing the SPOPS drivers to use Pg and found a problem. I was able to > successfully change the driver the first time. But I didn't read the next > paragraph to see the proper value I SHOULD have set. But subsequent runs of > oi_manage change_spops_driver does not change any files. All the ones that > were first changed are listed under the "Not changed" section. > > I've used the new override ability in 1.40 to fix the above bug. But I like > to squash bugs, so tell me what you need from me to do so. :-) The change_spops_driver command will replace a token beginning with 'SPOPS::DBI::' to the driver you specify. If you've replaced that driver with something else, say 'DBD::Pg' (not that you did this, just an example) then subsequent attempts will not work. The 'change_spops_driver' will eventually be phased out in favor of the centralized configuration option introduced in 1.40. Thanks, Chris PS - I didn't think we'd see you again until the tedious edit/deploy/apply foo was taken care of :-) -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |
|
From: Chris W. <ch...@cw...> - 2002-05-08 12:03:48
|
On Wed, 2002-05-08 at 01:15, Drew Taylor wrote: > Chris, > > I am doing a fresh install of OI in anticipation of using it in a project. > In getting things ready using postgres I noticed a problem. In > OpenInteract::DBI.pm you have these lines: > ... > Postgres apparently does not support the "use dbname" syntax because it was > giving me an error. I had db_name set in the [db_info main] section within > server.ini. Changing this to be blank fixed my problem. I don't know if > there is a workaround for this, other than documentation, which seemed a > little scarce in this area. I'll be sure to let you know of anything else I > might find while diving into OI. I look forward to having to reinvent a > much smaller portion of the wheel. :-) Yeah, this is a known thing. I've added more information on the 'db_name' parameter to OpenInteract::DBI. Thanks for the note. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |