You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-07-22 15:38:42 INFO 127.0.0.1 --- Access to /api/index.php/supplierorders - action=, massaction=
2020-07-22 15:38:42 DEBUG 127.0.0.1 sql=SELECT transkey, transvalue FROM llx_overwrite_trans where lang='en_US' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2020-07-22 15:38:42 INFO 127.0.0.1 Load a dedicated API file moduleobject=supplierorders moduledirforclass=fourn
2020-07-22 15:38:42 INFO 127.0.0.1 Search api file /fourn/class/api_supplierorders.class.php => dir_part_file= classname=Supplierorders
2020-07-22 15:38:42 WARNING 127.0.0.1 Failed to make include_once
2020-07-22 15:38:42 INFO 127.0.0.1 --- End access to /api/index.php/supplierorders
2020-07-22 15:41:09 INFO 127.0.0.1 --- Access to /api/index.php/supplierorders - action=, massaction=
2020-07-22 15:41:09 DEBUG 127.0.0.1 sql=SELECT transkey, transvalue FROM llx_overwrite_trans where lang='en_US' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2020-07-22 15:41:09 INFO 127.0.0.1 Load a dedicated API file moduleobject=supplierorders moduledirforclass=fourn
2020-07-22 15:41:09 INFO 127.0.0.1 Search api file /fourn/class/api_supplierorders.class.php => dir_part_file= classname=Supplierorders
2020-07-22 15:41:09 WARNING 127.0.0.1 Failed to make include_once
2020-07-22 15:41:09 INFO 127.0.0.1 --- End access to /api/index.php/supplierorders
The text was updated successfully, but these errors were encountered:
So the file to be loaded should be /fourn/class/api_supplier_orders.class.php
But according to your error it load /fourn/class/api_supplierorders.class.php
I debugged a little and think I found the problem. module should be moduleobject. Then it works for me.
The code is unfortunately not that clear IMO with multiple replacements that are not clarified. It should be cleaned up.
Bug
Fails both on endpoint and with Restexplorer.
Environment
debug log:
2020-07-22 15:38:42 INFO 127.0.0.1 --- Access to /api/index.php/supplierorders - action=, massaction=
2020-07-22 15:38:42 DEBUG 127.0.0.1 sql=SELECT transkey, transvalue FROM llx_overwrite_trans where lang='en_US' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2020-07-22 15:38:42 INFO 127.0.0.1 Load a dedicated API file moduleobject=supplierorders moduledirforclass=fourn
2020-07-22 15:38:42 INFO 127.0.0.1 Search api file /fourn/class/api_supplierorders.class.php => dir_part_file= classname=Supplierorders
2020-07-22 15:38:42 WARNING 127.0.0.1 Failed to make include_once
2020-07-22 15:38:42 INFO 127.0.0.1 --- End access to /api/index.php/supplierorders
2020-07-22 15:41:09 INFO 127.0.0.1 --- Access to /api/index.php/supplierorders - action=, massaction=
2020-07-22 15:41:09 DEBUG 127.0.0.1 sql=SELECT transkey, transvalue FROM llx_overwrite_trans where lang='en_US' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2020-07-22 15:41:09 INFO 127.0.0.1 Load a dedicated API file moduleobject=supplierorders moduledirforclass=fourn
2020-07-22 15:41:09 INFO 127.0.0.1 Search api file /fourn/class/api_supplierorders.class.php => dir_part_file= classname=Supplierorders
2020-07-22 15:41:09 WARNING 127.0.0.1 Failed to make include_once
2020-07-22 15:41:09 INFO 127.0.0.1 --- End access to /api/index.php/supplierorders
The text was updated successfully, but these errors were encountered: