Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Kevin Bailey
On 17/10/12 17:36, Kevin Bailey wrote: On 17/10/12 17:16, Robert James Clay wrote: On Wed, 2012-10-17 at 10:53 -0400, Kevin Bailey wrote: When I try to print to PDF on the screen I get the following error: Error! Can't locate Template/Latex.pm in @INC (@INC contains: /etc/perl /usr/local/lib/

Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Kevin Bailey
On 17/10/12 20:54, Robert James Clay wrote: > On Wed, 2012-10-17 at 12:36 -0400, Kevin Bailey wrote: >> On 17/10/12 17:16, Robert James Clay wrote: >> texlive-latex-recommended is already installed. >> >> I've tried >> >> $ cpan Template::Latex >> and >> $ cpan Template::Plugin::Latex >> and both r

Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Kevin Bailey
On 17/10/12 20:54, Robert James Clay wrote: > On Wed, 2012-10-17 at 12:36 -0400, Kevin Bailey wrote: >> On 17/10/12 17:16, Robert James Clay wrote: >> texlive-latex-recommended is already installed. >> >> I've tried >> >> $ cpan Template::Latex >> and >> $ cpan Template::Plugin::Latex >> and both r

Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Kevin Bailey
On 17/10/12 20:54, Robert James Clay wrote: > liblatex-table.perl, & libtemplate-perl I ran # apt-get install liblatex-encode-perl liblatex-table.perl as I already had the other packages but still getting Can't locate Template/Latex.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10

Re: [Ledger-smb-users] ledgersmb.conf - where should it go?

2012-10-17 Thread Kevin Bailey
On 17/10/12 22:11, Robert James Clay wrote: > On Wed, 2012-10-17 at 16:50 -0400, Kevin Bailey wrote: >> ledgersmb.conf - where should it go? >> >> I have al the LS files in a user's home directory > I usually use a directory in /opt when I do a manual install... > I've created a user account (

Re: [Ledger-smb-users] ledgersmb.conf - where should it go?

2012-10-17 Thread Kevin Bailey
On 17/10/12 21:59, Adrian Levi wrote: Usually for Debian would be under /etc/ or /etc/ledgersmb/ HTH. I've left it in the LS directory (/home/ledgersmb/web) and it seems to work there as I've changed the sendmail setting and it is now working. Thanks, Kevin Adrian On Oct 18, 2012 6:51

Re: [Ledger-smb-users] ledgersmb.conf - where should it go?

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 16:59 -0400, Adrian Levi wrote: > Usually for Debian would be under /etc/ or /etc/ledgersmb/ The Debian package puts it there, with a sym link to it from /usr/share/ledgersmb/, but Kevin is doing a manual install and so needs a little more detail. (When I do a manual inst

Re: [Ledger-smb-users] Can't email out invoices etc - SOLVED

2012-10-17 Thread Kevin Bailey
On 17/10/12 18:04, Kevin Bailey wrote: Hi, I've installed a completely new LS on to a vanilla Debian squeeze. I have an error when trying to send out an invoice attached to an email. 'Error! open |/usr/bin/sendmail -t: No such file or directory at /usr/local/share/perl/5.10.1/LedgerSMB/Mai

Re: [Ledger-smb-users] ledgersmb.conf - where should it go?

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 16:50 -0400, Kevin Bailey wrote: > ledgersmb.conf - where should it go? > > I have al the LS files in a user's home directory I usually use a directory in /opt when I do a manual install... > BTW - I've taken a guess and copied ledgersmb.conf.default to > ledgersmb.con

Re: [Ledger-smb-users] ledgersmb.conf - where should it go?

2012-10-17 Thread Adrian Levi
Usually for Debian would be under /etc/ or /etc/ledgersmb/ HTH. Adrian On Oct 18, 2012 6:51 AM, "Kevin Bailey" wrote: > ledgersmb.conf - where should it go? > > I have al the LS files in a user's home directory - and I might need to > use ledgersmb.conf. > > BTW - I've taken a guess and copied l

[Ledger-smb-users] ledgersmb.conf - where should it go?

2012-10-17 Thread Kevin Bailey
ledgersmb.conf - where should it go? I have al the LS files in a user's home directory - and I might need to use ledgersmb.conf. BTW - I've taken a guess and copied ledgersmb.conf.default to ledgersmb.conf and put it into the same directory. Regards, Kevin Bailey --

Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 12:36 -0400, Kevin Bailey wrote: > On 17/10/12 17:16, Robert James Clay wrote: > texlive-latex-recommended is already installed. > > I've tried > > $ cpan Template::Latex > and > $ cpan Template::Plugin::Latex > and both ran through tons of stuff but both failed. > > How

Re: [Ledger-smb-users] Can't email out invoices etc

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 13:20 -0400, Kevin Bailey wrote: > On 17/10/12 18:16, Robert James Clay wrote: > >Have you tried using nullmailer? That's what I use for such > > situations... > > > >Or you could configure the 'smtphost' item in the config file and have > > it send directly to a loc

[Ledger-smb-users] If these two errors can be fixed then I'm with you - if not then I'll need to carry on with SL

2012-10-17 Thread Kevin Bailey
Hi Guys, I've been bashing away for days at this and could possibly use LS if these two errors are fixable - and hopefully there aren't any other serious errors. This is on a Debian squeeze server which was set up from scratch - all installation notes are at the end of this email. 1. Error

Re: [Ledger-smb-users] Installing 1.3

2012-10-17 Thread Richard
On 17/10/12 16:59, Kevin Bailey wrote: On 17/10/12 13:58, lrspare...@aol.com wrote: Hi,I'm having a bit of a nightmare here! My old 1.2based system has suffered a hard drive problem- but no panic,I've got a back up Only I'm having some trouble installing 1.3 on Ubuntu 12.04LTS. Having

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Kevin Bailey
On 17/10/12 18:04, Robert James Clay wrote: > On Wed, 2012-10-17 at 11:07 -0400, Kevin Bailey wrote: > > >> That doesn't make sense because there's whole sections in the INSTALL >> file referring to squeeze and lenny for example. And this sort of >> thing is a complete showstopper for the average

Re: [Ledger-smb-users] Can't email out invoices etc

2012-10-17 Thread Kevin Bailey
On 17/10/12 18:16, Robert James Clay wrote: > On Wed, 2012-10-17 at 13:04 -0400, Kevin Bailey wrote: >> I've installed a completely new LS on to a vanilla Debian squeeze. I >> have an error when trying to send out an invoice attached to an email. >> >> 'Error! >> >> open |/usr/bin/sendmail -t: No

Re: [Ledger-smb-users] Can't email out invoices etc

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 13:04 -0400, Kevin Bailey wrote: > I've installed a completely new LS on to a vanilla Debian squeeze. I > have an error when trying to send out an invoice attached to an email. > > 'Error! > > open |/usr/bin/sendmail -t: No such file or directory > at /usr/local/share/perl/

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 11:07 -0400, Kevin Bailey wrote: > That doesn't make sense because there's whole sections in the INSTALL > file referring to squeeze and lenny for example. And this sort of > thing is a complete showstopper for the average installer. I would think that the "average inst

[Ledger-smb-users] Can't email out invoices etc

2012-10-17 Thread Kevin Bailey
Hi, I've installed a completely new LS on to a vanilla Debian squeeze. I have an error when trying to send out an invoice attached to an email. 'Error! open |/usr/bin/sendmail -t: No such file or directory at /usr/local/share/perl/5.10.1/LedgerSMB/Mailer.pm line 220.' I'm going to do my u

Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Kevin Bailey
On 17/10/12 17:16, Robert James Clay wrote: On Wed, 2012-10-17 at 10:53 -0400, Kevin Bailey wrote: When I try to print to PDF on the screen I get the following error: Error! Can't locate Template/Latex.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1

Re: [Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 10:53 -0400, Kevin Bailey wrote: > When I try to print to PDF on the screen I get the following error: > > Error! > > Can't locate Template/Latex.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 > /usr/share/perl

Re: [Ledger-smb-users] Installing LSMB 1.3.xx on Ubuntu 12.04LTS

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 11:16 -0400, lrspares45 wrote: > Hi, I've got about 10 mins before my customer demands I regress to > Ubuntu 9.04 unless I can get 1.3.xx working! Help! I'm sorry, I don't understand what the OS version has to do with the issue you're seeing... Unless you mean, just setti

Re: [Ledger-smb-users] Installing 1.3

2012-10-17 Thread Kevin Bailey
On 17/10/12 13:58, lrspare...@aol.com wrote: Hi,I'm having a bit of a nightmare here! My old 1.2based system has suffered a hard drive problem- but no panic,I've got a back up Only I'm having some trouble installing 1.3 on Ubuntu 12.04LTS. Having found that LSMB is not in the repositry,I

Re: [Ledger-smb-users] Installing 1.3

2012-10-17 Thread Robert James Clay
On Wed, 2012-10-17 at 08:58 -0400, lrspares45 wrote: > Only I'm having some trouble installing 1.3 on Ubuntu 12.04LTS. > > Having found that LSMB is not in the repositry, I finally manged to > install it via the Ubuntu Software centre - so far so good. IIRC, that would be the LSMB 1.3.18-

[Ledger-smb-users] Installing LSMB 1.3.xx on Ubuntu 12.04LTS

2012-10-17 Thread lrspares45
Hi, I've got about 10 mins before my customer demands I regress to Ubuntu 9.04 unless I can get 1.3.xx working! Help! Cheers Richard -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics D

Re: [Ledger-smb-users] How do I run the makefile code - DOES NOT MAKE SENSE

2012-10-17 Thread Kevin Bailey
On 17/10/12 15:00, Chris Travers wrote: On Wed, Oct 17, 2012 at 1:58 AM, Kevin Bailey mailto:kbai...@freewayprojects.com>> wrote: On 17/10/12 06:41, Chris Travers wrote: On Tue, Oct 16, 2012 at 10:06 PM, Kevin Bailey mailto:kbai...@freewayprojects.com>> wrote: How do

Re: [Ledger-smb-users] Is this output from perl Makefile.PL OK?

2012-10-17 Thread Kevin Bailey
On 17/10/12 15:22, Chris Travers wrote: On Wed, Oct 17, 2012 at 7:05 AM, Kevin Bailey mailto:kbai...@freewayprojects.com>> wrote: Are the warnings in the output correct? The warnings just tell you what it is currently missing (and if selected will install when you run make). So, sh

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Kevin Bailey
On 17/10/12 15:25, Chris Travers wrote: Adding to the requirements section of the INSTALL: To build using the Makefile.PL you will also need: Module::Install Unfortunately that means nothing to anyone who does not have experience of perl. How do we install it - what line should be used

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Kevin Bailey
On 17/10/12 15:24, Chris Travers wrote: On Wed, Oct 17, 2012 at 2:23 AM, Kevin Bailey mailto:kbai...@freewayprojects.com>> wrote: On 17/10/12 00:27, Ye Chuah wrote: > apt-get install libmodule-install-perl Thanks for that. I suggest the INSTALL file needs changing. In

[Ledger-smb-users] Error when trying to print to PDF

2012-10-17 Thread Kevin Bailey
When I try to print to PDF on the screen I get the following error: Error! Can't locate Template/Latex.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Chris Travers
Adding to the requirements section of the INSTALL: To build using the Makefile.PL you will also need: Module::Install Best Wishes, Chris Travers -- Everyone hates slow websites. So do we. Make your web apps faster with

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Chris Travers
On Wed, Oct 17, 2012 at 2:23 AM, Kevin Bailey wrote: > On 17/10/12 00:27, Ye Chuah wrote: > > apt-get install libmodule-install-perl > > Thanks for that. > > I suggest the INSTALL file needs changing. > > In the section for squeeze add in something like: > > "To be able to run 'perl Makefile.PL' y

Re: [Ledger-smb-users] Is this output from perl Makefile.PL OK?

2012-10-17 Thread Chris Travers
On Wed, Oct 17, 2012 at 7:05 AM, Kevin Bailey wrote: > Are the warnings in the output correct? > > The warnings just tell you what it is currently missing (and if selected will install when you run make). Best wishes, Chris Travers -

Re: [Ledger-smb-users] Is this output from perl Makefile.PL OK?

2012-10-17 Thread Kevin Bailey
Are the warnings in the output correct? Sent from my HTC - Reply message - From: "Chris Travers" Date: Wed, Oct 17, 2012 14:56 Subject: [Ledger-smb-users] Is this output from perl Makefile.PL OK? To: On Wed, Oct 17, 2012 at 2:11 AM, Kevin Bailey wrote: > When I ran perl Makefile.PL as

Re: [Ledger-smb-users] How do I run the makefile code - DOES NOT MAKE SENSE

2012-10-17 Thread Chris Travers
On Wed, Oct 17, 2012 at 1:58 AM, Kevin Bailey wrote: > On 17/10/12 06:41, Chris Travers wrote: > > > > On Tue, Oct 16, 2012 at 10:06 PM, Kevin Bailey < > kbai...@freewayprojects.com> wrote: > >> How do I run the makefile code? >> >> Should it be run as root? >> >> Should I cd into the base direct

Re: [Ledger-smb-users] Is this output from perl Makefile.PL OK?

2012-10-17 Thread Chris Travers
On Wed, Oct 17, 2012 at 2:11 AM, Kevin Bailey wrote: > When I ran perl Makefile.PL as root from the base of the LS files I get > the following output - this is showing several warnings at the end - are > these OK? > > If they are OK then the INSTALL doc needs to have a warning in there as > most p

[Ledger-smb-users] Installing 1.3

2012-10-17 Thread lrspares45
Hi,I'm having a bit of a nightmare here! My old 1.2 based system has suffered a hard drive problem - but no panic, I've got a back up Only I'm having some trouble installing 1.3 on Ubuntu 12.04LTS. Having found that LSMB is not in the repositry, I finally manged to install it via the Ubu

[Ledger-smb-users] Example of errors

2012-10-17 Thread Kevin Bailey
Hi, I've just carried out a clean install - I initially tried (by mistake) to login to a database called test1 - and then I logged in to setup.pl and created two databases - fpl2 and fpl2training. There seems to be quite a few errors in the Apache error.log - thought I'd post them here for ref

[Ledger-smb-users] Error when selecting 'Stylesheet'

2012-10-17 Thread Kevin Bailey
I've just done a clean install of LedgerSMB and when I select the Stylesheet option//I get the following: Error! Directory transversal not allowed. Any ideas? -- Everyone hates slow websites. So do we. Make your web a

[Ledger-smb-users] Instructions for Debian squeeze install

2012-10-17 Thread Kevin Bailey
Here are the instructions I've put together for installing LS on a new Debian squeeze install: ---++ Set up of ledgersmb ---+++ Get ledgersmb files As this was to be installed as a website outside of the packaging system a new user account called ledgersmb was created to hold the website files

[Ledger-smb-users] contrib_dir directive? ledgersmb.conf? More help needed

2012-10-17 Thread Kevin Bailey
Hi, In the INSTALL doc we have... "Please note that the setup.pl file assumes that LedgerSMB is already configured to be able to access the database and locate the relevant PostgreSQL contrib scripts. In particular, you must have the contrib_dir directive set to point to those scripts proper

Re: [Ledger-smb-users] Install fails at a basic first step when installing perl modules - INSTALL needs changing

2012-10-17 Thread Kevin Bailey
On 17/10/12 00:27, Ye Chuah wrote: > apt-get install libmodule-install-perl Thanks for that. I suggest the INSTALL file needs changing. In the section for squeeze add in something like: "To be able to run 'perl Makefile.PL' you'll need to install libmodule-install-perl. This module is not nee

[Ledger-smb-users] Is this output from perl Makefile.PL OK?

2012-10-17 Thread Kevin Bailey
When I ran perl Makefile.PL as root from the base of the LS files I get the following output - this is showing several warnings at the end - are these OK? If they are OK then the INSTALL doc needs to have a warning in there as most people don't like seeing warnings cos it might mean something i

Re: [Ledger-smb-users] How do I run the makefile code - DOES NOT MAKE SENSE

2012-10-17 Thread Kevin Bailey
On 17/10/12 06:41, Chris Travers wrote: On Tue, Oct 16, 2012 at 10:06 PM, Kevin Bailey mailto:kbai...@freewayprojects.com>> wrote: How do I run the makefile code? Should it be run as root? Should I cd into the base directory of the LS files first? Probably best to run it as r