On today’s CVS, when creating a “bon de livraison”:
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 ’ null, null,)’ at line 1 - sql=INSERT INTO llx_livraisondet (fk_livraison, fk_origin_line, fk_product, description, qty) VALUES (1002, null, null,)
Yep, a delivery created from an order.
I can’t reproduce it on the demo, as the feature isn’t active.
I actually use only “Prise en charge des bons de réception client”
and then I get this mistake when clicking on “Bon de Livraison”
I do have the same problem (I tried the migration because the BL where causing problems when migrated from 2.7.1 to 2.8.1)
I’ve reproduced the problem on EXP95 on the demo. This seems to happen when no delivery date is set.
///////////// solved by reuploading the cvs… (maybe bad first upload)
Thus I’m having some other problems with the expedition and “livraison” :
- when trying to generate the pdf of EXP this message displays :
NotDefined",“EXP_OUTPUTDIR”); return 0; } $this->error=$langs->transnoentities(“ErrorUnknown”); return 0; // Erreur par defaut } /** * \brief Show footer of page * \param pdf PDF factory * \param object Object invoice * \param outputlangs Object lang for output * \remarks Need this->emetteur object */ function _pagefoot(&$pdf,$object,$outputlangs) { return pdf_pagefoot($pdf,$outputlangs,‘SENDING_FREE_TEXT’,$this->emetteur,$this->marge_basse,$this->marge_gauche,$this->page_hauteur,$object); } } ?>
Warning: Cannot modify header information - headers already sent by (output started at /homez.34/switchbo/crm/includes/modules/expedition/pdf/pdf_expedition_rouget.modules.php:402) in /homez.34/switchbo/crm/main.inc.php on line 750
and when I try to generate my BL pdf i get a blank page with this :
"
Fatal error: Cannot redeclare class Livraison in /homez.34/switchbo/crm/livraison/livraison.class.php on line 899"