[Dbix-class] Can't locate object method "new" via package "DBIx::Class::ResultSource::Table

Thomas Klausner domm at cpan.org
Wed Jan 31 15:12:39 GMT 2007


Hi!

I'm currently in the process of "deploying" a Cat app to a server where 
I have very little rights. i.e. access is only through ftp.

Some parts where installed by the sysadmins, but they do not like to 
install Perl stuff that much (they mostly use Java/PHP or something..)
(In case you wonder why I stick with them: The site in question is for 
the Austrian radio station Oe1 (oe1.orf.at), which is basically 
state-owned. Thus, they have to use this sub-company...)

Anyway. Apache/mod_perl 2.0 is running, but as soon as I fetch a page I 
get this error:

failed to resolve handler `Oe1': Couldn't instantiate component
"Oe1::Model::DB", "Cannot load schema class 'Oe1::Schema':
DBIx::Class::Schema::load_classes(): Can't locate object method "new" via
package "DBIx::Class::ResultSource::Table" at
/usr/local/httpd/htdocs/studios/oe1/lib/DBIx/Class/ResultSourceProxy/Table.pm
line 50.\nCompilation failed in require at (eval 58) line 3.\nCompilation
failed in require at /usr/
local/httpd/htdocs/studios/oe1/lib/Catalyst/Model/DBIC/Schema.pm line 272.\n at
(eval 2) line 3" at (eval 2) line 3\nCompilation failed in require at (eval 2)
line 3.\n

The same code works on my dev box.

Any ideas where to look?


-- 
#!/usr/bin/perl                               http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}



More information about the Dbix-class mailing list