Dolibarr ERP & CRM » Bugs » bug #1770 SQL error when listing pollsLatest modifications
Answer now
Snapshot Details |
Submitted by: | Marcos García (marcosgdf) | | Submitted on: | 2014-12-26 00:45 |
Last Modified On: | 2014-12-26 00:45 | |
Summary: | SQL error when listing polls |
Description: | ( ! ) Xdebug: user triggered in /var/www/htdocs/core/lib/functions.lib.php on line 2480
Call Stack
# Time Memory Function Location
1 0.0016 239904 {main}( ) ../list.php:0
2 0.2209 1802408 dol_print_error( ) ../list.php:134
3 0.2253 1842624 xdebug_print_function_stack ( ) ../functions.lib.php:2480
Dolibarr has detected a technical error.
This is information that can help diagnostic:
Date: 20141225232851
Dolibarr: 3.7.0-beta
Level of features: 0
PHP: 5.5.20-1~dotdeb.1
Server: Apache/2.4.10 (Debian)
Requested Url: /opensurvey/list.php?idmenu=108479
Referer: http://dev.dolibarr.org/opensurvey/wizard/index.php?idmenu=108478
Menu manager: eldy_menu.php
Database type manager: mysqli
Request for last database access in error: SELECT p.id_sondage, p.fk_user_creat, p.format, p.date_fin, p.titre, p.nom_admin, u.login, u.firstname, u.lastname FROM llx_opensurvey_sondage as p LEFT OUTER JOIN llx_user u ON u.rowid = p.fk_user_creat WHERE p.entity = 1 ORDER BY p.titre ASC LIMIT 26
Return code for last database access in error: DB_ERROR_NOSUCHFIELD
Information for last database access in error: Unknown column 'p.entity' in 'where clause'
XDebug informations:
File: /var/www/htdocs/opensurvey/list.php
Line: 134
Function: {main}
( ! ) Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /var/www/htdocs/core/db/mysqli.class.php on line 350
Call Stack
# Time Memory Function Location
1 0.0016 239904 {main}( ) ../list.php:0
2 0.2278 1840968 DoliDBMysqli->num_rows( ) ../list.php:136
3 0.2278 1841016 mysqli_num_rows ( ) ../mysqli.class.php:350
|
Step to reproduce bug: | |
Detected in version: | 3.7.0 | | Category: | Module: OpenSurvey |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Closed | | Assigned to: | None |
Resolution: | Works for me | | |
|
Open→ ClosedNone→ Works for me