From: Mark J. S. <ms...@ea...> - 2008-05-21 13:44:43
|
Hi everybody, I'm running SQL Ledger on a Debian testing/lenny box. One of the updates that happened recently was an upgrade from perl 5.8 to 5.10 I'm not sure if it is related, but since that update, Sql Ledger has been acting quite badly. When I try to post a new invoice, i get: DBD::Pg::db do failed: ERROR: syntax error at or near ")" LINE 4: '21/05/2008', NULL, ) ^ at SL/IS.pm line 1077. Error! INSERT INTO acc_trans (trans_id, chart_id, amount, transdate, project_id, id) VALUES (20297, 10035, 1.77, '21/05/2008', NULL, ) ERROR: syntax error at or near ")" LINE 4: '21/05/2008', NULL, ) ^ Which looks like the invoice id isn't getting processed properly. When I try to print, I get Error! Bizarre copy of ARRAY in aassign at SL/Form.pm line 425. Which means absolutely nothing to me. I'm running 2.8.14, though I just upgraded today from 2.6.27 to try to fix this problem. Under 2.6.27, I got a similar error message on posting, and something about an unreferenced hash on printing. I see in the mailing list archives that Roy Pennington had a similar problem. Did you resolve it? Mark |