[Catalyst] ServerDB Example problem

Justin Tocci jtocci at tocci.org
Thu May 26 23:22:47 CEST 2005


[Thu May 26 16:12:00 2005] [catalyst] [debug]  
**********************************
[Thu May 26 16:12:00 2005] [catalyst] [debug] * Request 10 (0.024/s)  
[6400]
[Thu May 26 16:12:00 2005] [catalyst] [debug]  
**********************************
[Thu May 26 16:12:00 2005] [catalyst] [debug] Requested action is  
"login"
[Thu May 26 16:12:00 2005] [catalyst] [debug] Created session  
"8233fdf00a9201c60272a4587588a8f1"
[Thu May 26 16:12:00 2005] [catalyst] [debug] "POST" request for  
"login" from 172.16.10.210(172.16.10.210)
[Thu May 26 16:12:00 2005] [catalyst] [debug] Parameters are
.=-------------------------------------- 
+-------------------------------------=.
| Key                                   |  
Value                                |
|=-------------------------------------- 
+-------------------------------------=|
| password                               
|                                12345 |
| username                              |  
admin                                |
'=-------------------------------------- 
+-------------------------------------='

[Thu May 26 16:12:00 2005] [catalyst] [debug] Permission granted "admin"
[Thu May 26 16:12:00 2005] [catalyst] [debug] Rendering template  
"login.xhtml"
[Thu May 26 16:12:00 2005] [catalyst] [debug] Redirecting to "/server/ 
list"
[Thu May 26 16:12:00 2005] [catalyst] [info] Request took 0.378915s  
(2.639/s)
.=----------------------------------------------------------------- 
+----------=.
| Action                                                           |  
Time      |
|=----------------------------------------------------------------- 
+----------=|
| -> /login/login                                                  |  
0.002668s |
| /begin                                                           |  
0.003320s |
| /auto                                                            |  
0.007784s |
| -> ServerDB::V::TT->process                                      |  
0.004526s |
| /end                                                             |  
0.005037s |
'=----------------------------------------------------------------- 
+----------='

[Thu May 26 16:12:00 2005] [catalyst] [debug]  
**********************************
[Thu May 26 16:12:00 2005] [catalyst] [debug] * Request 11 (0.027/s)  
[6400]
[Thu May 26 16:12:00 2005] [catalyst] [debug]  
**********************************
[Thu May 26 16:12:00 2005] [catalyst] [debug] Requested action is  
"server/list"
[Thu May 26 16:12:00 2005] [catalyst] [debug] Created session  
"15ce44dad0e32444390b7870ebcc231c"
[Thu May 26 16:12:00 2005] [catalyst] [debug] "GET" request for  
"server/list" from 172.16.10.210(172.16.10.210)
[Thu May 26 16:12:00 2005] [catalyst] [debug] Permission denied "admin"
[Thu May 26 16:12:00 2005] [catalyst] [debug] Rendering template  
"login.xhtml"
[Thu May 26 16:12:00 2005] [catalyst] [info] Request took 0.136032s  
(7.351/s)
.=----------------------------------------------------------------- 
+----------=.
| Action                                                           |  
Time      |
|=----------------------------------------------------------------- 
+----------=|
| -> /login/login                                                  |  
0.000059s |
| /begin                                                           |  
0.000691s |
| /auto                                                            |  
0.003047s |
| /server/auto                                                     |  
0.002506s |
| -> ServerDB::V::TT->process                                      |  
0.004414s |
| /end                                                             |  
0.004921s |
'=----------------------------------------------------------------- 
+----------='




Things start out looking good and then for some reason a second  
session is created and permission is denied. The web interface never  
leaves the login screen and no error appears. Any help appreciated.

I'm on Mac OS X Tiger 10.4.1 using Perl v5.8.6 built for darwin- 
thread-multi-2level and I'm a Perl newbie looking to do a database  
driven website for the company I work for.

justin tocci
Fort Worth, TX





More information about the Catalyst mailing list