From: Jonathan G. <jgo...@br...> - 2001-06-20 20:35:00
|
ok Jonas.... i think i'm a little better now i get this error Error! Database is offline; please try again later I already create the database and make the psql dbname < acc-Pg.sql Jonas Smedegaard wrote: > On Wed, 20 Jun 2001, Skot wrote: > >> Don't know what I may have missed in the docs. I got all the parts >> installed and I get this in my err.log file: >> >> Compilation failed in require at /var/www/html/sql-ledger/login.pl line >> 65. >> [Wed Jun 20 11:04:34 2001] [error] [client 127.0.0.1] Premature end of >> script headers: /var/www/html/sql-ledger/login.pl > > > On Wed, 20 Jun 2001, Jonathan Gonzalez wrote: > >> I install the latest version of sql-ledger (1.4.6), i can add new users >> in de Administration page and also i can see the login page, but after i >> type the name and password and click on login... i receive an Internal >> Server Error as follow >> >> >> Internal Server Error > > > As others have pointed out recently, it is probably the database access > that is badly configured. > > When creating a user in admin.pl you also need to specify access to the > PostgreSQL database. > > Put something like the following in the last fields of my users: > > Driver: Pg <- NB! cAsE sEnSiTive! > Host: localhost > Name: ledger > Port: 5432 > User: > > Of course you will have to adapt that info to how your own access to > Postgres is. > > Another issue is accessing PostgreSQL through tcp/ip instead of unix > sockets. Make sure that it is turned on in your PostgreSQL server. > > Read earlier posts in the mailinglist archive for more on this... > > Good luck :-) > > - Jonas > |