Codigo funciona em um server e no outro não

  • Bids0
  • Budget $0.00
  • Average Bid $0.00

Posted on 11.06.2019

Active

Project Desciption

Tenho um site que roda em um servidor e no meu não roda da erro quando o cliente se loga alguém já viu isto e pode resolver

An uncaught Exception was encountered
Type: ActiveRecordDatabaseException

Message: exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #2 of select list is not in group by clause and contains nonaggregated column 'arquitet_novak.Users.create_date' which is not functionally dependent on columns in group by clause; this is incompatible with sql_mode=only_full_group_by' in /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php:309 Stack trace: #0 /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php(309): PDOStatement->execute(NULL) #1 /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Table.php(218): ActiveRecordConnection->query('select count(`i…', NULL) #2 /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Model.php(1619): ActiveRecordTable->find_by_sql('select count(`i…', NULL, true) #3 /home/arquiteturaa/public_html/app/controllers/admin/Home.php(23): ActiveRecordModel::find_by_sql('select count(`i…') #4 [internal function]: Home->index() #5 /home/arquiteturaa/public_html/sys/core/CodeIgniter.php(524): call_user_func_array(Array, Array) #6 /home/arquiteturaa/public_html/index.php(300): require_once('/home/arquitetu…') #7 {main}

Filename: /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Connection.php

Line Number: 312

Backtrace:

File: /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Table.php
Line: 218
Function: query

File: /home/arquiteturaa/public_html/sparks/php-activerecord/0.0.2/vendor/php-activerecord/lib/Model.php
Line: 1619
Function: find_by_sql

File: /home/arquiteturaa/public_html/app/controllers/admin/Home.php
Line: 23
Function: find_by_sql

File: /home/arquiteturaa/public_html/index.php
Line: 300
Function: require_once

If you want to get source link, You have to login.

Employer Information

6412 project(s) posted hire 3 freelancers Ukraine
Member since: 01.06.2018
DEVELOPER BIDDING (0)

There are no bids yet.