Hi all,
I have found this error tryng to search associated products.
This error occours only when I search products by category and I have noticed that if you search without input anything the results are duplicated.
This is the error:
| Code: |
Dolibarr: 2.5-dev
Data: 20081023220522
Livello di funzionalità: 10
Server: Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8 OpenSSL/0.9.8g mod_autoindex_color PHP/5.2.5
URL richiesto: /dolibarr_snapshot/htdocs/product/sousproduits/fiche.php?id=8
Referer: http://127.0.0.1/dolibarr_snapshot/htdocs/product/sousproduits/fiche.php?id=8
Tipo di database manager: mysql
Richiesta di ultimo accesso a database in errore: SELECT p.rowid, p.ref, p.label, p.price FROM llx_product as p left join llx_categorie_product as cp on p.rowid=cp.fk_product WHERE 1=1AND cp.fk_categorie ='4' ORDER BY p.ref ASC
Codice di ritorno per ultimo accesso al database per errore: DB_ERROR_SYNTAX
Informazioni per ultimo accesso al database per errore: 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 'cp.fk_categorie ='4' ORDER BY p.ref ASC' at line 1
|
thank's for your support!
Jacopo