Post by Nawid » Mon Oct 24, 2011 7:27 am

Dear,
I am using Opencart version 1.4.9.4
after purchasing and installing UKSB Google Merchant I get the following error:

Code: Select all

Error: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error No: 1140
SELECT ps.date_end AS end, COUNT(ps.product_special_id) AS total FROM product_special ps WHERE ps.product_id = '50' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
I've installed using vQmod. I also changed the files manualy, because I also have other mods installed.
when I go to the root of my website, I get the following error:

Code: Select all

Fatal error: Cannot redeclare ModelCatalogProduct::getSpecialEndDate() in /var/www/vhosts/website.com/httpdocs/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 580

as soon as I delete

Code: Select all

uksb_google_merchant.xml 
the above error will disappear but the first error will come again, so you'll get this again:

Code: Select all

Error: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error No: 1140
SELECT ps.date_end AS end, COUNT(ps.product_special_id) AS total FROM product_special ps WHERE ps.product_id = '50' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))
I've purchased this nice extension and I hoped it'll work, but It's not, so I don't know what to do know...

Please help/advice me.

-Nawid
Last edited by Nawid on Tue Oct 25, 2011 6:43 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Fri Aug 19, 2011 6:47 am

Post by uksitebuilder » Mon Oct 24, 2011 2:44 pm

OK,
seems you are n a bit of a mess here

You should not use vqmod on a site that has already modified core files.

Doing both the manual install and vqmod is going to cause you problems.

Your second error is becase of this as the vqcache file now has two entries for the same method.

I suggest you remove the vqmod due to you having previously modified files.

Next, restore your backup of the files edited and start over with the manual install.

we also offer an installation service for tricky installs where stores have previously been modified and will get you up and running in no time.

Please contact me by pm for details should you need our assistance with installation.

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Nawid » Tue Oct 25, 2011 12:04 am

uksitebuilder wrote:You should not use vqmod on a site that has already modified core files.

Doing both the manual install and vqmod is going to cause you problems.
Didn't know that, I especially installed vQmod for this extension because I thought it's easier/faster. When I saw no change, then I edited the files manually.
I suggest you remove the vqmod due to you having previously modified files.
How can I do that, how to uninstall vQmod?
Next, restore your backup of the files edited and start over with the manual install.
Not possible to restore backup, because then I'll lose information of new registered customers and orders.
we also offer an installation service for tricky installs where stores have previously been modified and will get you up and running in no time.

Please contact me by pm for details should you need our assistance with installation.
I'll keep this in mind, but I hope I can fix this problem myself with your help.
I'll send you the vqcache file.

Regards,
Nawid

User avatar
New member

Posts

Joined
Fri Aug 19, 2011 6:47 am

Post by Nawid » Tue Oct 25, 2011 4:01 am

Disabled en deleted vqmod.

still problem:
Error: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause
Error No: 1140
SELECT ps.date_end AS end, COUNT(ps.product_special_id) AS total FROM product_special ps WHERE ps.product_id = '50' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW()))

User avatar
New member

Posts

Joined
Fri Aug 19, 2011 6:47 am

Post by uksitebuilder » Tue Oct 25, 2011 4:49 am

The vqmod file you sent me is yur vqmod log which states it is unable to find the code it is looking for to make the changes needed.

This is because you have manually edited the files.

You need to restore the backup of these files before you edited them (not your database) This will not lose your data from the database.

You did make a backup of your files before editing them didn't you ?

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by Nawid » Tue Oct 25, 2011 6:43 pm

Now, everything is working fine and I see no errors in Google Merchant Center.

Thank you very much uksitebuilder!

I really recommend "UKSB Google Merchant", works great!

User avatar
New member

Posts

Joined
Fri Aug 19, 2011 6:47 am

Post by uksitebuilder » Tue Oct 25, 2011 7:09 pm

No problem Nawid

It seems there is a bug in mysql relating to the 'ONLY_GROUP_IN_FULL' setting

We have altered our code to bypass this bug

Please see http://bugs.mysql.com/bug.php?id=42567 for more information on this bug

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by tjonnyc » Fri Dec 23, 2011 8:31 am

@uksitebuilder: I had a similar message when re-installing an extension called "Product Extra Fields", and your solution worked 100% for that issue as well! (did manual edits, then realized I uploaded the XML files to VQMod as well).

Posting this to thank you & also to provide help for anyone else with the same issue with P.E.F.

Active Member

Posts

Joined
Tue Dec 21, 2010 5:05 am
Who is online

Users browsing this forum: No registered users and 1 guest