From 58a7f11ce7a5e958e1876019b1e035f7bdc1cb24 Mon Sep 17 00:00:00 2001
From: einhverfr
Date: Mon, 18 Sep 2006 23:06:11 +0000
Subject: Applied Chris Browne's documentation patches.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@114 4979c152-3d1c-0410-bac9-87ea11338e46
---
doc/faq.html | 89 ++++++++++++++++++++++++++++++++----------------------------
1 file changed, 48 insertions(+), 41 deletions(-)
(limited to 'doc/faq.html')
diff --git a/doc/faq.html b/doc/faq.html
index deb1fae9..80e68a2d 100755
--- a/doc/faq.html
+++ b/doc/faq.html
@@ -9,12 +9,15 @@ will fail to balance. So this is a serious problem with data integrity.
LedgerSMB prevents this by adding the NOT NULL constraing but this can cause
prevent people from migrating when they have invalid data in their databases.
-If you get an error like this the first thing to do is seek technical support
-whether or not you wish to continue the migration. In general the providers of
-support for LedgerSMB and SQL-Ledger will all be able to help. Unfortunately
-because this problem involves information loss, no solution can be automated
-without invalidating your accounting information.
-
+
+If you encounter an error like this, the first thing to do is seek
+technical support, regardless of whether or not you wish to continue
+the migration. In general the providers of support for LedgerSMB and
+SQL-Ledger should all be able to be of some assistance.
+Unfortunately, since this problem involves information loss, no
+solution can be automated without invalidating your accounting
+information.
+
PostgreSQL 8.x
PostgreSQL added a restriction in v8.x that a sequence cannot be dropped
after if it is referenced by a table. However backups created with
@@ -50,17 +53,20 @@ SELECT SETVAL('jcitemsid', 53);
-PostgreSQL template1
-template1 is a template to build new databases
-from. Anything you put into template1 will be copied to a new database.
-So when you try to create a new dataset, the tables are already created from
-template1 and when LedgerSMB tries to create them you'll get an error that
-the tables already exist.
+PostgreSQL template1
+
+template1 is a template that new databases are built from, by
+default. Anything you put into template1 will be copied to a
+new database. Thus, when you try to create a new dataset, the tables
+are already drawn in from template1 so that when LedgerSMB
+tries to create them, you will receive an error message indicating
+that the tables already exist.
PostgreSQL 8.0+
-To use LedgerSMB with 8.0+ you have to modify Pg-tables.sql The file
-is in the sql directory.
+
+To use LedgerSMB with PostgreSQL 8.0+ you have to modify
+Pg-tables.sql. This file is in the sql directory.
CREATE TABLE orderitems (
@@ -101,11 +107,11 @@ This change is only required for LedgerSMB versions 2.6.3 and below.
If you already built a dataset without this change you will get
an error when you try to save a PO or assembly.
+
"ERROR: column "oid" does not exist"
Drop the tables and rebuild WITH OIDS.
-
Japanese characters
modify apache so that EUC_JP is the main additional language.
comment out all unrelated languages except, UTF_8 shift jis, EUC_JP
@@ -141,10 +147,10 @@ AR and AP account. Then edit all your transactions and repost.
SELinux
http://fedora.redhat.com/docs/selinux-faq-fc3/index.html
-modify /etc/selinux/conf and set SELINUX=permissive
+
modify /etc/selinux/conf and set SELINUX=permissive
-
use audit2allow and add the following to policy.conf,
-then run "make reload"
+
use audit2allow, add the following to
+policy.conf, then run make reload
#line 83
allow httpd_sys_script_t port_type:{ tcp_socket udp_socket } { send_msg
@@ -158,8 +164,8 @@ recv_msg };
session timeouts
-If you get frequent timeouts or can't even log in synchronize
-the clocks from the server and workstation.
+If you get frequent timeouts or can't even log in, synchronize
+the clocks between the server and workstation.
lineitems not printing
@@ -180,26 +186,27 @@ encoding when you set up a new dataset.
characterset problems
If you have problems displaying the correct characterset try adding
- AddDefaultCharset On
-in your httpd.conf file.
+AddDefaultCharset On
+in your httpd.conf file.
About installation
The easiest is to use the setup.pl script as root.
You don't need to know very much about your system, just login as root,
run 'perl setup.pl' and follow the prompts.
setup.pl does not check for missing software packages and it is your
-responsibilite to make sure you have the required software
+responsibility to make sure you have the required software
installed either from source or from a package.
-
Requirements are clearly indicated in the README file and on the
-download page.
+
Requirements are clearly indicated in the README file and
+on the download page.
cannot create function
-- either run createlang and install the plpgsql language handler or
-install yourself. For more information how to do that, visit
-PostgreSQL and
+
+
- either run createlang plpgsql to install the plpgsql
+language handler or install yourself. For more information how to do
+that, visit PostgreSQL and
read the interactive documentation for procedural languages.
- load admin.pl
@@ -210,9 +217,9 @@ read the interactive documentation for procedural languages.
The requested URL /ledger-smb/admin.pl was not found
Your webserver doesn't know where to find the script. Most commonly this
-is from distributions hiding webserver configuration files in different
-locations or files and setup.pl wasn't able to configure the location for
-you. Find out which file (httpd.conf, httpdcommon.conf, ...)
+results when distributions hide webserver configuration files in unexpected
+locations so that setup.pl wasn't able to configure the location for
+you. Find out which file (httpd.conf, httpdcommon.conf, ...)
controls your webserver configuration and add
# LedgerSMB
@@ -282,15 +289,16 @@ This is different with every distribution so look for it.
fancy word for a local machine.
'localhost' is a host like any other host on a network.
A 'local' entry in pg_hba.conf will allow socket connections ONLY and
-not allow a host connection. If you then try to connect to 'localhost'
-postgres will come back with an authentication error.
+not allow a host connection. If you then try to connect to 'localhost',
+PostgreSQL will come back with an authentication error.
-So, forget you ever heard there is such a thing as 'localhost' and leave
+
So, if the database resides on the same server as the web server,
+forget you ever heard there is such a thing as 'localhost' and leave
the Host portion blank.
-
WARNING! DO NOT just put a 'host all all trust' in pg_hba.conf
-unless you know what you are doing.
-
+
WARNING! DO NOT just put a 'host all all trust' in
+pg_hba.conf unless you know what you are doing; that can introduce a
+pretty huge security hole.
DBD-Pg for Mandrake 9.0
Mandrake did not package a compiled DBD-Pg package again, so install DBD-Pg
@@ -315,10 +323,9 @@ pagebreak block which must be commented out.
When you are done with the changes
replace << and >> with <% and %> and uncomment the pagebreak block.
-LaTeX is difficult but it also offers a much superior environment
-to produce professionally looking forms in postscript and PDF format.
-Unfortunately with all that power there is also a steep learning curve.
-
+
LaTeX is somewhat complex to learn, initially, but offers a much
+superior environment to produce professional-looking forms in
+postscript and PDF format.
W3M
pass terminal=mozilla when you start w3m
--
cgit v1.2.3