On Mon, Feb 13, 2012 at 8:15 PM, Philip Rhoades
<..hidden..> wrote:
Chris,
On 2012-02-08 23:06, Philip Rhoades wrote:
> Chris,
> ledgersmb RPM - after commenting out the line:
>
> cpan Module::Install
>
> in the "install.sh" file and manually installing for errors for the
> three Test modules, I still get:
>
> Installing Perl Modules
> include /usr/share/ledgersmb/inc/Module/Install.pm
> include inc/Module/Install/Metadata.pm
> include inc/Module/Install/Base.pm
> include inc/Module/Install/Makefile.pm
> include inc/Module/Install/AutoInstall.pm
> include inc/Module/Install/Include.pm
> include inc/Module/AutoInstall.pm
> *** Module::AutoInstall version 1.03
> *** Checking for Perl dependencies...
> [Core Features]
> - Test::More ...loaded. (0.98)
> - Test::Trap ...loaded. (0.2.1)
> - Test::Exception ...loaded. (0.31)
> - Data::Dumper ...loaded. (2.130_02)
> - Log::Log4perl ...loaded. (1.33)
> - Locale::Maketext ...loaded. (1.19)
> - DateTime ...loaded. (0.70)
> - Locale::Maketext::Lexicon ...loaded. (0.91 >= 0.62)
> - DBI ...loaded. (1.616 >= 1.00)
> - MIME::Base64 ...loaded. (3.13)
> - Digest::MD5 ...loaded. (2.51)
> - HTML::Entities ...loaded. (3.68)
> - DBD::Pg ...loaded. (2.18.0)
> - Math::BigFloat ...loaded. (1.993)
> - IO::File ...loaded. (1.15)
> - IO::Scalar ...loaded. (2.110)- Encode
> ...loaded. (2.42_01)
> - Time::Local ...loaded. (1.2000)
> - Cwd ...loaded. (3.36)
> - Config::Std ...missing.
> - MIME::Lite ...loaded. (3.027)
> - Template ...loaded. (2.22 >= 2.14)
> - Error ...loaded. (0.17016)
> - CGI::Simple ...loaded. (1.113)
> - File::MimeInfo ...loaded. (0.15)
> ==> Auto-install the 1 mandatory module(s) from CPAN? [y]
>
> but perl-Config-Std-0.0.4-1.noarch is definitely installed . .
This problem is solved by:
mv /usr/lib/perl5/vendor_perl/5.8.8/Config
/usr/lib/perl5/vendor_perl/
After fixing default_db and adding DBPassword in
/etc/ledgersmb/ledgersmb.conf, pointing the browser at
localhost/ledgersmb/admin.pl, in httpd/error_log I get:
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] LINE 1: SELECT
check_expiration()
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] ^
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] HINT: No
function matches the given name and argument types. You might need to
add explicit type casts.
at LedgerSMB.pm line 1025.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] DBD::Pg::st
fetchrow_array failed: no statement executing at LedgerSMB.pm line 1026.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] DBD::Pg::st
execute failed: ERROR: current transaction is aborted, commands ignored
until end of transa
ction block at LedgerSMB.pm line 1041.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] DBD::Pg::st
fetchrow_hashref failed: no statement executing at LedgerSMB.pm line
1043.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] DBD::Pg::st
execute failed: ERROR: current transaction is aborted, commands ignored
until end of transa
ction block at LedgerSMB.pm line 1053.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] DBD::Pg::st
fetchrow_array failed: no statement executing at LedgerSMB.pm line 1054.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] DBD::Pg::st
execute failed: ERROR: current transaction is aborted, commands ignored
until end of transa
ction block at LedgerSMB.pm line 829.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] 2012/02/14
14:35:19 - ERROR - LedgerSMB::dberror LedgerSMB.pm (1085) -- Logging SQL
State 25P02, error 7
, string ERROR: current transaction is aborted, commands ignored until
end of transaction block
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] Issuing
rollback() due to DESTROY without explicit disconnect() of DBD::Pg::db
handle dbname=ledgersmb a
t LedgerSMB.pm line 948.
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] File does not
exist: /var/www/html/favicon.ico
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] File does not
exist: /var/www/html/favicon.ico, referer:
http://localhost/ledgersmb/admin.pl
[Tue Feb 14 14:35:19 2012] [error] [client 127.0.0.1] File does not
exist: /var/www/html/favicon.ico
Next step?
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: ..hidden..
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: ..hidden..
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel