Chat Room Article Base Facebook Page Twitter RSS Feed
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 10:30:04 AM

Login with username, password and session length
Search:     Advanced search
The E-commerce forum, the best place for advice for your Small Business.
12786 Posts in 1519 Topics by 6454 Members
Latest Member: miumiubi
* Home Help Search Login Register
+  E-commerce forum
|-+  E-commerce
| |-+  Shopping cart software
| | |-+  Zen cart
| | | |-+  Google Merchant Centre Mod - ARRRGGGGHHHHHH!!!
« previous next »
Pages: [1] Print
Author Topic: Google Merchant Centre Mod - ARRRGGGGHHHHHH!!!  (Read 156 times)
Baa
Member (ds)
Part of the Furniture
*****

Karma: 23
Offline Offline

Posts: 463


WWW
« on: August 17, 2011, 06:57:51 PM »

I've just upgraded this mod which was working fine previously but now doesn't process a feed even though it says it is. There are no error messages, but this is what it is saying

Quote
Google Merchant Center Feeder v started 2011/08/17 18:51:12
Feed file - /home/my-site/public_html/feed/domain_products.xml
Processing: Feed - Yes, Upload - No
~~
Google Merchant Center File Complete In 0.108001 Seconds 0 of 227 Records

There are a good deal more records on site than the 227 it says it hasn't processed.

I can't find the debug feature, I have no idea how this version works, it's given me fields for Max and Starting Point which I'm not familiar with and if I press upload it blithely says the following.

Quote
Processing: Feed - No, Upload - Yes
Upload started...
Uploaded Successfully
-r--r----- 1 root ÷ root ÷ 0 Aug 17 10:53 google
Connected to: uploads.google.comLogin ok:Current Directory Is: /-r--r----- 1 root ÷ root ÷ 0 Aug 17 10:53 google

Upload ok!

Can anyone point me in the right direction please? Lots of people seem to have similar problems but it appears no one is addressing it. I've tried going back to my old version but Google is no longer accepting the feeds from it and it's throwing up the same problem.
Logged

You cannot conduct today's business with yesterday's methods and expect your business to grow

Moon Stag Designs - Silver, Gold and Gemstone Jewellers. Jewellery for men, women and children.
Baa
Member (ds)
Part of the Furniture
*****

Karma: 23
Offline Offline

Posts: 463


WWW
« Reply #1 on: August 18, 2011, 02:36:09 AM »

I've found the solution and I thought it worth adding here because it's something most folk who just basically maintain and pop a couple of mods in ZC once in a while with lots of crib sheets (like me) may not think of and there is very few (I found just one hidden away) references to the problem.

I was receiving 1146 and 1054 database error codes and there is pretty much nothing in lay-mans terms to deal with these outside of an upgrade of the website so it's hard to dig out the cause.

The errors actually tell you what is wrong but unless you understand what they are saying, and why, it's hard to work it out. It was basically telling me the tables didn't exist, I checked and they did exist so it seemed nonsensical until I unearthed a small post from someone with the same problem.

If you get these error codes for mods outside of an upgrade, check your configure files in admin/includes/configure.php and includes/configure.php for your database prefix, if you use a prefix like XX_ that could be the cause of the database errors. Also check that the database tables to which the error codes refer do exist.

I use a table prefix for the database, it's not uncommon especially if you create a database from an install programme. The install.sql file for the mod does not include a database prefix for the tables in this file. That was why the errors were telling me the tables didn't exist, the names didn't match. Duh!

So if your Google Merchant Centre mod returns 0 out of X products processed, here's what to do.

Back up your database and go into PHPMy Admin. Check the relevant table is there and if you have a database prefix, in my case it is something like XX_configuration and XX_configuration group. Open up the install.sql in your favourite text editor and change the references to these tables in your install.sql to include the prefix but don't do as I did and change all the fieldsets as well (like configuration_group_id) cos it won't work and the 1054 error message appears whistle 

Copy and Paste the changed text into the SQL field on PHPMy Admin and press go.

Now if you're like me and upgrading this module rather than creating an initial install you might find the following error (as I did)

1062 Duplicate entry 'GOOGLE_FROOGLE_USERNAME' for key 2

Back up the database (standard practise, you screw up and you lose it otherwise, there's no sympathy to be had if you do, just lots of sniggering or tutting from the more po faced)

Go into the XX_configuration table and sort by the configuration_key (basically just click the link).

Find all the names that begin GOOGLE_BASE or GOOGLE_FROOGLE and delete them.
***WARNING*** Don't do this is you are a numpty, easily distracted or even slightly unsure .... Step away from the computer now! :D Ask someone with a clue to do it if in any doubt, otherwise if you delete the wrong bits you'll just end up losing valuable parts of your database and will have to install you back up and start over again. The time and trouble is worth a couple of tenners or so to get it done properly.

The copy and paste your install.sql into the SQL box and press go.

Your Google Merchant Centre mod should now be working in your website admin.

If it isn't ... sorry I haven't a clue :)
Logged

You cannot conduct today's business with yesterday's methods and expect your business to grow

Moon Stag Designs - Silver, Gold and Gemstone Jewellers. Jewellery for men, women and children.
Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
SimplePortal 2.2.2 © 2008-2009