close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

count AS with group by causing error locally

Thread began 3/02/2023 4:39 am by s.joiner74419001 | Last modified 8/23/2023 4:39 am by s.joiner74419001 | 552 views | 8 replies

Ray BorduinWebAssist

This one is the error:
Fatal error: Uncaught mysqli_sql_exception: Expression #1 of SELECT list
is not in GROUP BY clause and contains nonaggregated column
'db_rtmf.local.registered_apps.acc_id' which is not functionally
dependent on columns in GROUP BY clause; this is incompatible with
sql_mode=only_full_group_by in /Users/stevenjoiner/Sites/
rtmf_root_151122/webassist/mysqli/rsobj.php:221 Stack trace: #0 /Users/
stevenjoiner/Sites/rtmf_root_151122/webassist/mysqli/rsobj.php(221):
mysqli->query('SELECT SQL_CALC...') #1 /Users/stevenjoiner/Sites/
rtmf_root_151122/admin/index.php(38): WA_MySQLi_RS->execute() #2
{main} thrown in /Users/stevenjoiner/Sites/rtmf_root_151122/
webassist/mysqli/rsobj.php on line 221

It explains why it would work on one server and not another. There is a database setting preventing the SQL statement you are running. You can probably just update that setting if you have control of the server, or update the SQL statement to be compatible with that setting and it would still work on both.


Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...