I keep getting this error, while trying to get the system setup, it alt between Apprentice::Data::Schema and Alzabo::Data::schema

 

Can't locate object method "User_t" via package "Apprentice::Data::Schema" at /iatrack/data/syshandler line 11.
context: 

... 

 

7: 

# A "potential row" is an object that looks like something from the

8: 

# database but that does not really exist. However, it has the

9: 

# same interface so it is handy for things like a generic "guest"

10: 

# user.

11: 

my $guest = $Schema->User_t->potential_row( values => { username => 'Guest' } );

12: 

my $user;

13: 

if ( exists $cookies{apprentice_user_login} )

14: 

{

15: 

my %user_info = $cookies{apprentice_user_login}->value;

 

 

Here is my config file

 

PerlModule Apprentice

PerlModule HTML::Mason::ApacheHandler

 

PerlSetVar      MasonCompRoot   /iatrack/data

PerlSetVar      MasonDataDir    /iatrack/mason

#PerlSetVar      MasonArgsMethod    mod_perl

PerlSetVar      MasonAllowGlobals  $Schema

PerlAddVar      MasonAllowGlobals  $User

 

<Directory /iatrack/data>

    Options Indexes FollowSymLinks MultiViews

    AllowOverride None

    Order allow,deny

    Allow from all

        <FilesMatch "(\.html|\.css)$">

     SetHandler   perl-script

     PerlHandler  HTML::Mason::ApacheHandler

        </FilesMatch>

        <FilesMatch "(\.mas|autohandler|syshandler)$">

     SetHandler   perl-script

         PerlModule   Apache::Constants

     PerlHandler  "sub { return Apache::Constants::NOT_FOUND }"

        </FilesMatch>

</Directory>

 

David Jobes
Senior Consultant - CISSP/ISSAP, Public Services - Technology Soloutions

BearingPoint
Management & Technology Consultants

6465 Loisdale CT
Suite 500 - Office 531
Springfield, VA 22150
USA

T + 1 703 253 2653
C + 1 703 477 3294 
  
www.bearingpoint.com

 

***************************************************************************************************
The information in this email is confidential and may be legally privileged. Access to this email by anyone other than the intended addressee is unauthorized. If you are not the intended recipient of this message, any review, disclosure, copying, distribution, retention, or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you are not the intended recipient, please reply to or forward a copy of this message to the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************