phpBMS

Ticket #323 (closed defect: worksforme)

Opened 3 years ago

Last modified 14 months ago

Invoice Recur Errors

Reported by: scottm@… Owned by: brieb
Priority: minor Milestone: unknown
Component: phpbms Version: 0.96
Keywords: Cc:

Description

Following error in my logs.... Invoices will NOT recur...

Mysql 5.0.51a php 5.2.6 On Fedora 10

Error in phpbms system log

ERROR cron.php -420: Database Error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 't forget to Protect you Data with OPENRSM CloudBackup? -  http://cloudbackup.openr' at line 1<br /><br />Statement: INSERT INTO invoices (clientid, type, statusid, statusdate, assignedtoid, readytopost, ponumber, orderdate, invoicedate, requireddate, leadsource, address1, address2, city, state, postalcode, country, weborder, webconfirmationno, discountid, discountamount, totaltni, taxareaid, taxpercentage, totaltaxable, tax, shippingmethodid, totalweight, trackingno, shipping, totalcost, totalti, amountpaid, paymentmethodid, ccexpiration, ccnumber, ccverification, bankname, checkno, routingnumber, accountnumber, transactionid, printedinstructions, specialinstructions, shiptoname, shiptoaddress1, shiptoaddress2, shiptocity, shiptostate, shiptopostalcode, shiptocountry, billingaddressid, shiptoaddressid, shiptosameasbilling, createdby,creationdate) VALUES ('6', 'Order', '4', '2009-04-01', '0', '0', 'voice', '2009-04-01', NULL, '2008-09-15', 'Friend', '25505 Colburn Road', NULL, 'Lees Summit', 'MO', '64086', 'US', NULL, NULL, '0', '0', '50', '0', '0', '0', '0', '0', '0', NULL, '0', '0', '50', '0', '8', NULL, '**', NULL, NULL, NULL, NULL, NULL, NULL, 'Don't forget to Protect you Data with OPENRSM CloudBackup? -  http://cloudbackup.openrsm.com/index.php', NULL, NULL, '25505 Colburn Road', NULL, 'Lees Summit', 'MO', '64086', 'US', '6', '6', '0', -3, NOW());

Change History

Changed 3 years ago by scottm@…

Figured out the \' in the word Don't is the issue, Checked out the mysql and it is stored as Don\'t but is still causing an issue...

Edited the database directly (getting rid of the phrase from all invoices, config, etc. and attempted a recur invoice again.

The invoices recurred this time... Figured you may want to know about that \' thing.

Changed 3 years ago by brieb

Could you give more information on your server setup (OS, PHP version etc...) It's possible that magic_quotes wasn't kicking in or something related to your setup was not escapng the characters properly.

Changed 2 years ago by brieb

  • status changed from new to closed
  • resolution set to worksforme

Closing due to inactivity

Changed 21 months ago by medical assistant

Keep posting stuff like this i really like it

Changed 14 months ago by auto mechanic

Terrific work! This is the type of information that should be shared around the web. Shame on the search engines for not positioning this post higher!

Note: See TracTickets for help on using tickets.
Scanned by Orvant Copyright © 2010 Kreotek, LLC. All Rights reserved.