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

Re: Premature end of script headers: setup.pl



On Sun, Dec 4, 2011 at 17:29, Steven Marshall
<..hidden..> wrote:
> 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

yes -- you need to go to 1.3.8.  The 1.3.7 that slipped out the door
doesn't create the directory for dblog.

> 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.

you should have an extension directory where contrib used to be -- use that


HTH,

David A. Bandel
-- 
Two things are infinite: the universe and human stupidity; and I'm not
sure about the the universe. -- Albert Einstein
Visit my web page at: http://david.bandel.us/