[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Premature end of script headers: setup.pl



Just setup and brand new Ledgersmb 1.3.7 server with PostgreSQL 9.1 and Perl 5.14.2.  Ran setup.pl via the browser.  I get to the last step and when I click Next, I get the following error:

Server error!

The server encountered an internal error and was unable to complete your request.

Error message: 
Premature end of script headers: setup.pl

If you think this is a server error, please contact the webmaster.

Error 500

192.168.1.10
Sun 04 Dec 2011 08:07:16 PM BRST
Apache/2.2.21 (Linux/SUSE)


In my Apache error_log file I get the following errors:

[Sun Dec 04 20:06:44 2011] [error] [client 192.168.1.51] sh: /tmp/ledgersmb/dblog: No such file or directory, referer: http://192.168.1.10/ledgersmb/setup.pl
[Sun Dec 04 20:07:18 2011] [error] [client 192.168.1.51] DBI connect('dbname=StallusBoutique_Test','',...) failed: FATAL:  database "StallusBoutique_Test" does not exist at scripts/setup.pl line 535, referer: http://192.168.1.10/ledgersmb/setup.pl
[Sun Dec 04 20:07:18 2011] [error] [client 192.168.1.51] Can't call method "quote_identifier" on an undefined value at /usr/lib/perl5/site_perl/5.14.2/LedgerSMB.pm line 767., referer: http://192.168.1.10/ledgersmb/setup.pl
[Sun Dec 04 20:07:18 2011] [error] [client 192.168.1.51] Compilation failed in require at /usr/local/ledgersmb/setup.pl line 8., referer: http://192.168.1.10/ledgersmb/setup.pl
[Sun Dec 04 20:07:18 2011] [error] [client 192.168.1.51] Premature end of script headers: setup.pl, referer: http://192.168.1.10/ledgersmb/setup.pl


My database is not created.  I also noticed that the log file dblog also doesn't get created so not sure where else to look for additional logging.  I was previously successful creating a company database with an earlier version of Ledgersmb and PostgreSQL 9.0, but had to setup new server with the newer version of PostgreSQL 9.1.  Not sure if that might be related.  I didn't set the contrib parameter in ledgersmb.conf since PostgreSQL 9.1 doesn't have one.  It does still have the default value though.
--
Best Regards,
Steven Marshall