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

Re: Error! Cannot connect to datasource...

I haven't seen this happen to anyone else yet.  So this has to be
something specific to your environment (a lot of people are using

As I think about it....  Do you use recurring transactions at all?

Best Wishes,
Chris Travers

On 4/4/07, Doug Poland <..hidden..> wrote:

On Wed, April 4, 2007 14:11, Chris Travers wrote:
> This is 1.1.10?
Well, I downloaded 1.1.10 but VERSION says 1.1.9.  I think that's odd.

> When you log in, it provides a new username.conf file in the users/
> directory.  Make sure that the credentials and strings look good
> there.  If that fails try setting the dbport to 5432.  Whether that
> works or not, please let us know.
It did update users/username.conf.  I diffed the SL's file and the
updated one by LS and the only difference is what I listed below
because I changed database name, database user, and database password.
 I also changed the port to 5432 in both users/username.conf and
users/memebers and that made no difference.  Still getting error
message after I submit username/password from login.pl

> On 4/4/07, Doug Poland <..hidden..> wrote:
>> On Tue, April 3, 2007 13:29, Doug Poland wrote:
>> > On Tue, April 3, 2007 13:18, Chris Travers wrote:
>> >> There was an error in the packaging of this version and the
>> >> member file was overwritten.  You can reconstruct the memerfile
>> >> from the information in the login.conf files in the users
>> >> directory.  If you can wait until this evening, I can send you a
>> >> script to do this.
>> >>
>> > Could I not simply copy the member file from the SQL-Ledger users
>> > directory and use that?
>> >
>> I don't think the file users/members is the problem.  I've copied
>> that file from SQL-Ledger 2.6.16 and changed:
>> dbconnect=dbi:Pg:dbname=ledger-smb;host=localhost
>> dbdriver=Pg
>> dbhost=localhost
>> dbname=ledger-smb
>> dboptions=set DateStyle to 'POSTGRES, US'
>> dbpasswd=***********
>> dbport=
>> dbuser=ledger-smb
>> to match my new database, user, and password.  The first time I
>> connect to the site, I get the upgrading message and can use the
>> interface and everything's great.  Once I logoff, then attempt to
>> logon again, I get:
>> Can't connect to data source , no database driver specified and
>> DBI_DSN env var not set at LedgerSMB/Form.pm line 1337
>> Any other ideas?
>> --
>> Regards,
>> Doug


Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Ledger-smb-users mailing list