|
From: Chris W. <ch...@cw...> - 2002-03-07 04:41:38
|
On Wed, 2002-03-06 at 17:49, Bernie Ledwick wrote: > Chris, > > Tried your perl debug, but not sure what it means. > > Output is below. > > Regards, > > Bernie. > > bash-2.05$ perl /tmp/bl.pl > Using (/home/oi/bltest) for 'website_dir'. > superuser_id: 1 > Level: [8] > #bash-2.05$ cat /tmp/bl/pl > #!/usr/bin/perl > > use strict; > use OpenInteract::Startup; > > my $HANDLER = 'bltest::Handler::superuser'; Is this handler name correct? That is, is there a handler class in your site in a file called 'superuser.pm'? The handler should be set to a class in your site which acts as a handler. In your case, the following should work: my $HANDLER = 'bltest::Handler::User'; The reason being that if you set $HANDLER to something not in the system then it's not so instructive when you change the user ID we're fetching to something that is not the superuser. Anyway, the only other thing I can think of is to ensure in the website you're actually logged in as the superuser. You should be able to see a line in your error log like: OpenInteract::Auth::user (33) >> User found: superuser near the top of the entries for a particular request. Make sure you check the log for the exact request you're having problems with. This could be an issue where your cookie isn't set properly, is expiring or is somehow corrupt. I've had the corrupted cookie problem when running OI on Win2000 with the Apache::Cookie module and either Netscape or IE (can't remember which). Using CGI::Cookie fixed it right up. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |