When importing a CSV (products) they are not showing up when I try to view them all
The page stays empty as if there are no products, at the top it says Product (714) the amount of products I have imported.
The list with the 15 last recorded products is working as should.
Also If i try to create a new product then this is also not showing up.
They are not imported as a service, already checked that one if I made any mistake there.
Any other thing I should considering checking?
I am using Dolibarr 17.0.1 (just downloaded/clean installation) on AlmaLinux 9.1 with Apache 2.4.53, PHP 8.1.18, MySQL 8.0.21.
[UPDATE] 2023/04/19 @ 11.35 am > I can also confirm it is not a browser issue.
[UPDATE] 2023/04/19 @ 12.34 pm > Clean deployment of Dolibarr 17.0.1 > Only activated products module > Created a new product in Dolibarr without importing a CSV > Same result, no products showing up in the list.
[UPDATE] 2023/04/19 @ 12.55 pm > Clean deployment of Dolibarr 16.0.5 > Only Activated products module > Created new product in Dolibarr without importing CSV > Working!
[UPDATE] 2023/04/19 @ 13.55 pm > CSV import works, all products are showed in the product list.
After upgrading from Dolibarr 16.0.5 to 17.0.1 the problem reoccured. I think this might be a bug?
Hi,
same here for me:
fresh installation with 17.0.1 with php 8.1.2 and mariadb 10.6.12.
I can see the products in “Latest 15 products/services which were modified” but not when I go to “List”. I’ve tried with different browsers (firefox and chorme) and different languages (english and german) → that is not the issue.
Directly created producs and csv imported products are all not showing in “List”. But the number showed right of “Products” is correct. When I define a filter, the number shows the right value but the list is empty.
I think it is a bug in version 17.0.1.
[UPDATE] 2023/04/23 @ 10:50:
2 possible quick workarounds:
From the DB table llx_product get the rowid from the product/service, use it in a direct link in the browser:
…dolibarr/product/card.php?id=
(dirty) Use the file dolibarr/htdocs/product/list.php from the version 16 instead
It is no problem to use the products/services in orders.
There is a remark here, al changes on GitHub after 20 March '23 do not work (tested it).
It might be that there are more changes on the files from GitHub that might make the installation work I did not test that.
thank you, this version from github works for me too. There are many differences between the file from 17.0.1 and this github version. It works for me at the moment and I’m stopping investigations for that.
Creating new products is not an issue, this happens when I try to access the list of all products.
I have install 3 times and all 3 times this error happens, all initial tests pass. I am have not tried with 16 yet. But I did take the list.php file from version 16 as stated above and everything is working now as expected.
PHP Fatal error: Uncaught mysqli_sql_exception: Table 'dolibarr_db.llx_workstation_workstation' doesn't exist in /dolibarr/http/core/db/mysqli.class.php:366\nStack trace:\n#0 /dolibarr/http/core/db/mysqli.class.php(366): mysqli_result->fetch_object()\n#1 /dolibarr/http/debugbar/class/TraceableDB.php(708): DoliDBMysqli->fetch_object()\n#2 /dolibarr/http/product/list.php(1361): TraceableDB->fetch_object()\n#3 {main}\n thrown in /dolibarr/http/core/db/mysqli.class.php on line 366, referer: https://XXX/product/index.php?mainmenu=products&leftmenu=
It seems that the failing SQL is :
Modules/Applications: user, societe, commande, fournisseur, facture, comptabilite, banque, product, variants, categorie, import, export, debugbar, adherent Type gestionnaire de base de données: mysqli Requête dernier accès en base en erreur: SELECT MAX(CAST(SUBSTRING(ref FROM 11) AS SIGNED)) as max FROM llx_workstation_workstation WHERE ref LIKE ‘WKSTATION-%’ Code retour dernier accès en base en erreur: DB_ERROR_NOSUCHTABLE Information sur le dernier accès en base en erreur: Table ‘dolibarr_db.llx_workstation_workstation’ doesn’t exist