[Catalyst] Problems on Windows 2000

Will Hawes info at whawes.co.uk
Wed Apr 27 19:38:32 CEST 2005


I have Catalyst installed on Windows 2000 and have verified that the test scripts work correctly. Now I am trying to run the Hops example located at http://simonf.com/catalyst/. I have created the database in mySQL using the hops.sql script included with Hops. I have amended the config part of Hops.pm (line 9 in my module) as follows (password removed):

Hops->config(
    name => 'Hops',
    dsn => 'DBI:mysql:database=pondwood2;host=192.168.0.2;port=3306;',
    user => 'web',
    password => 'xxxxxxxx',
);

I want to run the app using Apache and CGI, for which my script (hops.pl) is:

use strict;
use Hops;
Hops->run;

When I visit hops.pl in my browser however, Catalyst just hangs without returning any output. In my Apache error log, all I see is debug info from Catalyst indicating that everything has loaded OK. No actual error message is present - the last thing recorded before the hang is the "Loaded tables ... " message. And that's it.

Any suggestions?

Regards

WH




More information about the Catalyst mailing list