#!/usr/bin/env php
***** create_order.php (1.11) *****
Dolibarr has detected a technical error.
This information can be useful for diagnostic:
Date: 20250624174832
Dolibarr: 4.0.2
Level of features: 0
PHP: 7.4.33
Server: Apache
OS: Linux webd156.cluster003.gra.hosting.ovh.net 5.15.162-ovh-vps-grsec-zfs-classid #1 SMP Wed Jul 10 07:49:40 UTC 2024 x86_64
UserAgent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Requested Url: /provencemedia/dolibarr/dev/examples/create_order.php
Referer:
Menu manager:
Database type manager: mysqli
Latest database access request error: INSERT INTO llx_commande ( ref, fk_soc, date_creation, fk_user_author, fk_projet, date_commande, source, note_private, note_public, ref_ext, ref_client, ref_int, model_pdf, fk_cond_reglement, fk_mode_reglement, fk_account, fk_availability, fk_input_reason, date_livraison, fk_delivery_address, fk_shipping_method, fk_warehouse, remise_absolue, remise_percent, fk_incoterms, location_incoterms, entity, fk_multicurrency, multicurrency_code, multicurrency_tx) VALUES ('(PROV)',4, '20250624174832', 1, null, '20250624174832', 1, '', '', null, null, null, '', null, null, NULL, null, null, null, NULL, NULL, NULL, NULL, 0, 0, '', 1, 0, 'EUR', 1)
Return code for latest database access request error: DB_ERROR_1452
Information for latest database access request error: Cannot add or update a child row: a foreign key constraint fails (`dolibarrPM`.`llx_commande`, CONSTRAINT `fk_commande_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`) ON DELETE RESTRICT ON UPDATE RESTRICT)
Dolibarr has detected a technical error.
This information can be useful for diagnostic:
Date: 20250624174832
Dolibarr: 4.0.2
Level of features: 0
PHP: 7.4.33
Server: Apache
OS: Linux webd156.cluster003.gra.hosting.ovh.net 5.15.162-ovh-vps-grsec-zfs-classid #1 SMP Wed Jul 10 07:49:40 UTC 2024 x86_64
UserAgent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Requested Url: /provencemedia/dolibarr/dev/examples/create_order.php
Referer:
Menu manager:
Database type manager: mysqli
Latest database access request error: INSERT INTO llx_commande ( ref, fk_soc, date_creation, fk_user_author, fk_projet, date_commande, source, note_private, note_public, ref_ext, ref_client, ref_int, model_pdf, fk_cond_reglement, fk_mode_reglement, fk_account, fk_availability, fk_input_reason, date_livraison, fk_delivery_address, fk_shipping_method, fk_warehouse, remise_absolue, remise_percent, fk_incoterms, location_incoterms, entity, fk_multicurrency, multicurrency_code, multicurrency_tx) VALUES ('(PROV)',4, '20250624174832', 1, null, '20250624174832', 1, '', '', null, null, null, '', null, null, NULL, null, null, null, NULL, NULL, NULL, NULL, 0, 0, '', 1, 0, 'EUR', 1)
Return code for latest database access request error: DB_ERROR_1452
Information for latest database access request error: Cannot add or update a child row: a foreign key constraint fails (`dolibarrPM`.`llx_commande`, CONSTRAINT `fk_commande_fk_soc` FOREIGN KEY (`fk_soc`) REFERENCES `llx_societe` (`rowid`) ON DELETE RESTRICT ON UPDATE RESTRICT)
--- end error code=1