From: Jesse P. <je...@st...> - 2004-09-27 18:24:11
|
Have you tried it from a clean directory that does not have any previous = weberp version in it that cvs may try to update? =20 jesse -----Original Message----- From: Chris Bice [mailto:cb...@en...] Sent: Monday, September 27, 2004 1:07 PM To: web...@li... Subject: RE: [Web-erp-developers] CVS File Error's Hmm.... Anyone wanna take a shot at this?? =20 =20 [root@ns2 web-erp]# cvs login Logging in to = :pserver:ano...@cv...:2401/cvsroot/web-erp CVS password:=20 [root@ns2 web-erp]# cvs update ? digital-clock ? logo-small.jpg ? logo2.jpg cvs update: Updating . P ConfirmDispatch_Invoice.php P Credit_Invoice.php P Customers.php P PDFDeliveryDifferences.php P PrintCustTrans.php P StockLocTransfer.php P StockLocTransferReceive.php P StockTransfers.php P Stocks.php P Suppliers.php P Tax.php RCS file: /cvsroot/web-erp/web-erp/config.php,v retrieving revision 1.28 retrieving revision 1.29 Merging differences between 1.28 and 1.29 into config.php rcsmerge: warning: conflicts during merge cvs update: conflicts found in config.php C config.php M logo.jpg cvs update: Updating EDI_Incoming_Orders cvs update: Updating EDI_Pending cvs update: Updating EDI_Sent cvs update: Updating doc cvs update: Updating fonts cvs update: Updating includes P includes/DefineStockTransfers.php P includes/LanguageSetup.php M includes/Login.php P includes/MiscFunctions.php P includes/SQL_CommonFunctions.inc M includes/footer.inc M includes/header.inc cvs update: Updating includes/StockModules cvs update: Updating locale cvs update: Updating locale/en cvs update: Updating locale/en/LC_MESSAGES cvs update: Updating locale/es cvs update: Updating locale/es/LC_MESSAGES cvs update: Updating locale/it cvs update: Updating locale/it/LC_MESSAGES cvs update: Updating part_pics cvs update: Updating reports cvs update: Updating sql cvs update: Updating sql/pg for user anonymouszation failed: server cvs.sourceforge.net rejected = access to /cvsroot/web-erp cvs update: used empty password; try "cvs login" with a real password [root@ns2 web-erp]# =20 -----Original Message----- From: web...@li... = [mailto:web...@li...] On Behalf Of = skaill Sent: Thursday, September 23, 2004 4:11 PM To: web...@li... Subject: Fw: [Web-erp-developers] CVS File Error's =20 Umm...probably the include and exit need to be within those braces = too... =20 ----- Original Message -----=20 From: skaill <mailto:sk...@ro...> =20 To: web...@li...=20 Sent: Thursday, September 23, 2004 12:33 PM Subject: Re: [Web-erp-developers] CVS File Error's =20 Looks like it's checking whether there is at least one line that has a = positive quantity. I believe the echo line should be changed to =20 if ($QuantityInvoicedIsPositive) { echo '<BR><FONT SIZE=3D4 COLOR=3DRED>Error: </FONT>' . _('There are no = lines on this order with a quantity to invoice. No furth$ } Something is wrong with that echo too. Where's the closing parenthesis? = What is furth$? =20 If you let me know the script and whereabouts within the script I'll = look further... =20 Steve ----- Original Message -----=20 From: Chris Bice <mailto:cb...@en...> =20 To: web...@li...=20 Sent: Thursday, September 23, 2004 10:43 AM Subject: RE: [Web-erp-developers] CVS File Error's =20 The error is in this line of code: =20 /*First check there are lines on the dipatch with quantities to invoice invoices can have a zero amount but there must be a quantity to invoice = */ =20 $QuantityInvoicedIsPositive =3D false;=20 =20 foreach ($_SESSION['Items']->LineItems as $OrderLine) { if ($OrderLine->QtyDispatched > 0){ $QuantityInvoicedIsPositive =3Dtrue; } } echo '<BR><FONT SIZE=3D4 COLOR=3DRED>Error: </FONT>' . _('There = are no lines on this order with a quantity to invoice. No furth$ include('includes/footer.inc'); =20 exit; =20 =20 -----Original Message----- From: web...@li... = [mailto:web...@li...] On Behalf Of = Chris Bice Sent: Thursday, September 23, 2004 9:40 AM To: web...@li... Subject: [Web-erp-developers] CVS File Error's Ok, I have downloaded the latest CSV. I upgraded from 2.8 to 2.9 to = 2.10 with the SQL Upgrade Scripts. Now when I Try and process an = Invoice, it gives me an error saying I have to have something in the = Quantity Field, or Line to Process. There are 7 Lines on this Invoice.=20 =20 Are there going to be major issues with upgrading from a couple previous = versions to the letst CVS version?? =20 =20 |