Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12382
Latest: ImportedPotato
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40254
Total Topics: 7090
Most Online Today: 85
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 56
Total: 56

Author Topic: Error when trying to open gallery after upgrading from Gallery Lite to Pro  (Read 1756 times)

0 Members and 1 Guest are viewing this topic.

Offline janwegener

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hi,

I just bought the upgrade for the SMF Gallery Lite to Pro.
As written in the ReadME.txt I uninstalled the Gallery Lite before installing the Gallery Pro.

When I now click on the Gallery button in my forum then I receive the following error:
Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'smf_tierfreunde.p.view' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Datei: /var/www/vhosts/exguide.de/tierfreunde.exguide.de/Sources/Gallery2.php
Zeile: 661

Hinweis: Ihre Datenbank scheint veraltet zu sein! Ihre Dateien haben die Version SMF 2.0.13, wogegen die Datenbank die Version 2.0.2 hat. Es wird dringend empfohlen, die neueste Version der upgrade.php auszuführen.


The last sentence is in german the quick translation is: "Your database is out of date and seems to be 2.0.2 while your files are version 2.0.13".

Any advise how to solve the issue? The forum is showing me that it is running on SMF 2.0.13 when I check the admin page.

The forum can be accessed here:
http://tierfreunde.exguide.de/index.php

Thanks a lot,
Jan

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Try this file attached copy to your sources folder and see if it helps.

Or if you have access to mysql directly run these commands

Code: [Select]
set global sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
set session sql_mode='STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION';
« Last Edit: May 04, 2017, 02:56:26 pm by SMFHacks »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline janwegener

  • Newbie
  • *
  • Posts: 2
    • View Profile
Hi,

I just executed the sql and it solved the issue  :D

Thanks a lot for the fast help,
Jan

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15123
    • View Profile
Glad to help
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
12 Replies
12961 Views
Last post June 25, 2007, 03:25:31 am
by william777
1 Replies
3393 Views
Last post November 01, 2007, 02:38:32 am
by Rabain
4 Replies
4207 Views
Last post January 17, 2008, 07:53:27 pm
by SMFHacks
2 Replies
4395 Views
Last post January 18, 2008, 01:39:51 am
by Rob Meades
3 Replies
4036 Views
Last post March 04, 2010, 06:10:43 pm
by morokat

+- Recent Topics

Moving pictures to another user personal gallery by Hatshepsut
August 10, 2020, 11:07:26 pm

Rebuild related images time too long by SMFHacks
August 09, 2020, 01:52:57 pm

Call to undefined function mysql_num_rows() by SMFHacks
July 30, 2020, 07:45:29 am

Problem with one videosite embedding by Hatshepsut
July 24, 2020, 01:25:08 am

Download System Lite by Rock Lee
June 03, 2020, 07:34:24 pm

Font question by SMFHacks
May 27, 2020, 08:15:26 am

Error message with latest SMF 2.1 Github build by Hatshepsut
May 25, 2020, 01:43:26 am

smfblog not working on 2.0.17 by tech9
May 20, 2020, 01:44:34 pm

Copyright removal by stbc
May 18, 2020, 01:27:57 am

Mod Verified User i can't square the image by Rock Lee
May 07, 2020, 07:56:10 pm

Powered by EzPortal