Jump to content


fachrianlr

Member Since 02 Nov 2018
Offline Last Active Oct 03 2019 02:15 AM
-----

Topics I've Started

Error When Search Column Integer or Date

30 August 2019 - 08:10 AM

Hello,

 

 

environment:

grocery-crud-enterprise-v2.7.10

postgres 9.6 

codeigniter 3.0

 

 

Attached File  Capture.PNG   39.73K   37 downloads

 

 

I have an error when search column type integer or date,
 

 


Search Tree view Error

28 November 2018 - 09:40 AM

Hello,

 

Environment:

- php 5.6

- postgresql 9.6

- grocerycrud Enterprise 2.6.9

 

action:

- when searching in tree view of integer column and date column

 

error:

 

<div style="border:1px solid #990000;padding-left:20px;margin:0 0 10px 0;">
 
<h4>An uncaught Exception was encountered</h4>
 
<p>Type: PDOException</p>
<p>Message: SQLSTATE[42883]: Undefined function: 7 ERROR:  operator does not exist: integer ~~ unknown
LINE 1: ..._date" FROM "res_order" WHERE res_order.sub_total LIKE '%12%...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.</p>
<p>Filename: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/zendframework/zend-db/src/Adapter/Driver/Pdo/Connection.php</p>
<p>Line Number: 360</p>
 
 
<p>Backtrace:</p>
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/zendframework/zend-db/src/Adapter/Driver/Pdo/Connection.php<br />
Line: 360<br />
Function: query </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/zendframework/zend-db/src/Adapter/Adapter.php<br />
Line: 190<br />
Function: execute </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/Core/Model.php<br />
Line: 998<br />
Function: query </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/Core/Model.php<br />
Line: 1244<br />
Function: getResultsFromSelect </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/Core/State/DatagridState.php<br />
Line: 305<br />
Function: getList </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/Core/State/DatagridState.php<br />
Line: 316<br />
Function: getData </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/libraries/GroceryCrudEnterprise/grocerycrud/enterprise/src/GroceryCrud/Core/GroceryCrud.php<br />
Line: 2174<br />
Function: render </p>
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/application/controllers/dinas/Menu.php<br />
Line: 413<br />
Function: render </p>
 
 
 
 
 
 
 
<p style="margin-left:10px">
File: /var/www/html/bpmks/index.php<br />
Line: 315<br />
Function: require_once </p>
 
 
 
</div>

 

 


Zend DB error

02 November 2018 - 07:28 AM

Hello, I having trouble with GC enterprise

 

Environment:

- codeigniter 3.0

- postgresql 9.6

- php 7.2

- grocery crud enterprise v2.6.7

 

 

Error message:

- <b>Fatal error</b>:  Cannot use Zend\Db\Metadata\Object as Object because 'Object' is a special class name in 

- application\libraries\GroceryCrudEnterprise\zendframework\zend-db\src\Metadata\Source\AbstractSource.php</b> on line <b>14</b><br />

 

Question:

- is it grocery crud enterprise v.2.6.7 suitable for php 7.2? 

 

Thanks in advance