Zen Cart Logo
Forums / All Other Contributions/Addons / Google Base Feeder Support Thread [OLD]

Google Base Feeder Support Thread [OLD]

Locked

Views: 806,378

Results 2,441 to 2,460 of 3,556
This thread is locked. New replies are disabled.
18 Oct 2010, 12:47 AM
#2441
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Google Base Feeder Support Thread [OLD]

I have a question. Every time I create a feed which by the way does just perfect I get and errors in my error log. I'm pretty good in fixing them but I just can't think today for some reason.
Here is the error i'm getting.

[17-Oct-2010 20:13:53] PHP Warning: fopen(/home/content/x/x/x/xxxxxxxxxx/html/numinix_version/google_base_feeder.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory in /home/content/x/x/x/xxxxxxxxxxxx/html/includes/classes/google_base.php on line 31
[17-Oct-2010 20:13:53] PHP Warning: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /home/content/x/x/x/xxxxxxxxxxxxxx/html/numinix_version/google_base_feeder.txt in /home/content/x/x/x/xxxxxx/html/includes/classes/google_base.php on line 32
[17-Oct-2010 20:13:53] PHP Warning: fread(): supplied argument is not a valid stream resource in /home/content/x/x/x/xxxxxxxxxxx/html/includes/classes/google_base.php on line 32
[17-Oct-2010 20:13:53] PHP Warning: fclose(): supplied argument is not a valid stream resource in /home/content/x/x/x/xxxxxxxxxxxx/html/includes/classes/google_base.php on line 33
[17-Oct-2010 20:13:53] PHP Warning: Missing argument 3 for google_base::google_base_fwrite(), called in /home/content/x/x/x/xxxxxxxxx/html/googlefroogle.php on line 117 and defined in /home/content/x/x/x/xxxxxxxxxxx/html/includes/classes/google_base.php on line 15

18 Oct 2010, 4:53 AM
#2442
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Google Base Feeder Support Thread [OLD]

countrycharm:

I have a question. Every time I create a feed which by the way does just perfect I get and errors in my error log. I'm pretty good in fixing them but I just can't think today for some reason.
Here is the error i'm getting.

Basically, there suppose to be a folder numinix_version with a text file in it google_base_feeder.txt

the text file is nothing more then the version of Google base feeder... Check to see if its there and can be found by the program... I didn't feel like having another folder just to hold versions in, so I commented it out...

 function google_base_version() {
      //$file = DIR_FS_CATALOG . 'numinix_version/google_base_feeder.txt';
      //$handle = fopen($file, 'r');
      $version = "1.7.4.9g"; //fread($handle, filesize($file));
      //fclose($handle);
      return trim($version);
    }  
```I've modified so much of it I can't just do a simple upgrade anymore... plus this way I can keep track when I upgrade it to meet a new cart upgrade... (9g)  Could just update the text file too....
18 Oct 2010, 1:17 PM
#2443
drgr33n avatar

drgr33n

New Zenner

Join Date:
Oct 2010
Posts:
84
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Hey guys,

There's so many posts in this section so forgive me if this has already been solved but when I generate the froogle feed on my store I'm getting no products ?

Google Base Feeder v1.8.2 started 2010/10/18 13:17:00
Feed file - /home/xxxxx/xxxxx/xxxx.
Processing: Feed - Yes, Upload - No

Google Base File Complete In 0.153167 Seconds 0 Record

Anyone know how to fix this or come across this before ?

PS:

Just noticed the debug setting and here's the output with that set

Google Base Feeder v1.8.2 started 2010/10/18 13:23:21
Feed file - /home/colmangr/public_html/feed/google/colmandirect_products.xml
Processing: Feed - Yes, Upload - No
id: 56, price: 21.15, description length: 284 - skipped, zero quantity product. turn on include zero quantity to include. - failed
id: 54, price: 0.5, description length: 78 - skipped, zero quantity product. turn on include zero quantity to include. - failed
id: 53, price: 0.35, description length: 62 - skipped, zero quantity product. turn on include zero quantity to include. - failed
..........

18 Oct 2010, 1:27 PM
#2444
drgr33n avatar

drgr33n

New Zenner

Join Date:
Oct 2010
Posts:
84
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Sorry about a second post I can't edit my last one again. And excuse my slow brain lol :D Turn on include zero quantity to include I should read the error output more thoroughly :D

18 Oct 2010, 4:02 PM
#2445
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Google Base Feeder Support Thread [OLD]

davewest:

Basically, there suppose to be a folder numinix_version with a text file in it google_base_feeder.txt

the text file is nothing more then the version of Google base feeder... Check to see if its there and can be found by the program... I didn't feel like having another folder just to hold versions in, so I commented it out...

function google_base_version() {
//$file = DIR_FS_CATALOG . 'numinix_version/google_base_feeder.txt';
//$handle = fopen($file, 'r');
$version = "1.7.4.9g"; //fread($handle, filesize($file));
//fclose($handle);
return trim($version);
}

  Fix this one. How about these 2 errors.

> [18-Oct-2010 11:07:19] PHP Warning:  Missing argument 3 for google_base::google_base_fwrite(), called in /home/content/x/x/x/xxxxxxxxx/html/googlefroogle.php on line 117 and defined in /home/content/x/x/x/xxxxxxxx/html/includes/classes/google_base.php on line 15
> [18-Oct-2010 11:07:22] PHP Warning:  Missing argument 3 for google_base::google_base_fwrite(), called in /home/content/x/x/x/xxxxxxxxx/html/googlefroogle.php on line 366 and defined in /home/content/x/x/x/xxxxxxxx/html/includes/classes/google_base.php on line 15
19 Oct 2010, 2:35 AM
#2446
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Google Base Feeder Support Thread [OLD]

drgr33n:

Sorry about a second post I can't edit my last one again. And excuse my slow brain lol :D Turn on include zero quantity to include I should read the error output more thoroughly :DYep... Zero quantity is bypassed unless you turn it off in the settings in admin. Google well more then likely reject 0 quantity feeds....

countrycharm:

Fix this one. How about these 2 errors.I tried recreating the error.... no luck. Line 15 is writing the output to file.... you could echo $output to see what it looks like. The *Missing argument 3 * could be the offer ID.... have to look to at the xml to see what's missing..

19 Oct 2010, 3:26 AM
#2447
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Google Base Feeder Support Thread [OLD]

davewest:

Yep... Zero quantity is bypassed unless you turn it off in the settings in admin. Google well more then likely reject 0 quantity feeds....

I tried recreating the error.... no luck. Line 15 is writing the output to file.... you could echo $output to see what it looks like. The *Missing argument 3 * could be the offer ID.... have to look to at the xml to see what's missing..

Here's the xml file if you like to see it. Let me when you download it so I can delete it. Thanks for the help.
If you would give me example where to put the echo.

19 Oct 2010, 1:32 PM
#2448
davewest avatar

davewest

Totally Zenned

Join Date:
Dec 2007
Location:
Payson, AZ
Posts:
1,075
Plugin Contributions:
7

Re: Google Base Feeder Support Thread [OLD]

countrycharm:

Here's the xml file if you like to see it. Let me when you download it so I can delete it. Thanks for the help.
If you would give me example where to put the echo.

OK... got the file... will look it over when I get back in from work...
includes\classes\google_base.php

   function google_base_fwrite($output='', $mode, $type) {
      $output = implode("\n", $output);
      if(strtolower(CHARSET) != 'utf-8') {
        $output = utf8_encode($output);
        //echo $output;
      } else {
        $output = $output;
        //echo $output;
      }
```un-comment the echo and when you click the create button, the popup box well show what is written to the xml file... set the amount of products to just 20 or less before you do it.  Just enough to see what's going on.
21 Oct 2010, 7:00 PM
#2449
newbietoec avatar

newbietoec

New Zenner

Join Date:
Jul 2010
Posts:
45
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Where do I find the xml file?

Also I am using SEO URL's and not magic SEO URL's does this create a problem?

Thanks

21 Oct 2010, 7:14 PM
#2450
newbietoec avatar

newbietoec

New Zenner

Join Date:
Jul 2010
Posts:
45
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Oh sorry for the confusion I got it working but it is always "login failed" "upload failed".

I am on shared server and shared IP address.

Do I need to do it manually then?

If so how.

Thanks

22 Oct 2010, 2:13 PM
#2451
tecbrat avatar

tecbrat

Zen Follower

Join Date:
Feb 2005
Posts:
239
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Thanks for the Add On.

A customer wanted to add MPNs that were different from their Model Number, and I had alread installed the Product Fields mod so I duplicated the SKU folder from optional fields, changed all instances of "sku" or "SKU" to "mpn" or "MPN"

and then in googlefroogle.php changed this:

if ($products->fields['products_model'] != '') {
  $content["mpn"] = '<g:mpn>' . $google_base->google_base_sanita($products->fields['products_model'], true) . '</g:mpn>';

to this:

                if ($products->fields['products_mpn'] != '') {
                  $content["mpn"] = '<g:mpn>' . $google_base->google_base_sanita($products->fields['products_mpn'], true) . '</g:mpn>';

and added "p.products_mpn," right after "p.products_model" in a couple of places.

I'm sure this concept can be used for other fields as well.
Hope this is helpful to someone. :clap:

On a side note:
Before I did this, actually when I first installed the mod, I was getting an error about a missing column, p.products_category, so in line 126 I changed ```php
$additional_attributes .= ", p.products_condition, p.products_category";

to 
```php
$additional_attributes .= ", p.products_condition";

Got rid of the error.

26 Oct 2010, 8:59 AM
#2452
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

hi there, been using google feeder for a month or so now, but gone back to checkup again etc....
and it says dissaproved
i click the "dissaproved" link to show why, and no errors load...
im thinking it may be due to the file size of my domain_products.xml

which is almost 14mb....

is there a way to set googlebase to split the file into several once it hits a certain filesize?

26 Oct 2010, 9:12 AM
#2453
spid3r1987 avatar

spid3r1987

Zen Follower

Join Date:
Jul 2009
Posts:
497
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

without manually changing settings 4 or 5 times to create seperate files?

26 Oct 2010, 3:46 PM
#2454
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

GB is working great except it's showing the "Item#" in the description.

Swirls of 14kt White Gold surround our Diamond Heart. Just like the security you feel from the significant other in your life. Item # SLJ-AG0M9A ...That Item# is actually entered in ZC as the Model#.
The only option in GB that is on, and could be doing this, is the Show Option ID, which is set to ID.
If I turn that off, will it stop generating the Model# and, if I stop generating a Model#, could that cause my feed to be rejected by Google?

In case it's relevant, I do not have Numinix product fields installed.

Thank you,
Stephen

28 Oct 2010, 3:06 PM
#2455
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

I figured it out. I have Tabbed Products Pro I use its create a tab code within the main description to create a Specifications tab.
I just need to make sure my main description is long enough to keep Item# from being included.

1 Nov 2010, 2:45 PM
#2456
g3steve avatar

g3steve

New Zenner

Join Date:
Nov 2007
Posts:
55
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Ive just installed the google base (froogle) feeder module but all my products are priced by attributes so google are not allowing the feed as all the price fields are 0.00 as they are all priced by attributes.

Can anyone advise me how i get the module to work with price by attributes?

Thanks in advance!

2 Nov 2010, 2:56 PM
#2457
g3steve avatar

g3steve

New Zenner

Join Date:
Nov 2007
Posts:
55
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

g3steve:

Ive just installed the google base (froogle) feeder module but all my products are priced by attributes so google are not allowing the feed as all the price fields are 0.00 as they are all priced by attributes.

Can anyone advise me how i get the module to work with price by attributes?

Thanks in advance!

Ive got an update, this is the error which im getting from google, any ideas?:

Invalid attribute: price
The value you provided for the attribute is invalid.

This error is for all my products, it hasn't added any.

4 Nov 2010, 6:42 AM
#2458
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

Does anyone have a list of words google seem to disapprove?

4 Nov 2010, 12:42 PM
#2459
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: Google Base Feeder Support Thread [OLD]

PinkLeopard:

Does anyone have a list of words google seem to disapprove?
Check this out.
Google Base Program Policies

5 Nov 2010, 2:34 AM
#2460
ordinaryperson avatar

ordinaryperson

New Zenner

Join Date:
Oct 2010
Posts:
4
Plugin Contributions:
0

Re: Google Base Feeder Support Thread [OLD]

I have spent hours searching for installation intructions for this numinix google base feeder. I cannot get past step one of the official installation intructions. Here is step

  1. :censored: # Unzip and upload all files to your store directory (except .sql files);
    WHICH DIRECTORY????????
    Individually or the whole thing?
    Just the files? Or do they mean upload the folders and the files go along for the ride?
    Overwrite existing files or how else can this be done?
    I have been thinking about this for a long time i would like you all to know but i am not a techy.
    Option 1. Do i upload the entire (google_base_feeder) folder in the zip file to the zen cart catalog folder on my server?
    Option 2. OR do i take the contents of that folder and upload them to the folders that have the same names as the folders on my server? For example take the google base feeder folder called admin and upload it into the folder in my zen cart install called admin?
    Option 3. OR take the files out of the google base feeder admin folder and upload them in my zencart admin folder?
    I am very afraid of option 3 as it would overwrite the files because many of the files and folders on my zencart instal have the same names as the google base feeder files.