Page 1 of 2 12 LastLast
Results 1 to 10 of 3563

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Google Base Feeder Support Thread

    The manual execution in Admin > Tools > Google Merchant Center Feeder works ok and the xml feed is created.

    But I am having a mongrel time with the cron job of this mod (and I am not a newbie with cron tabs ...)

    Currently the tab looks like this:

    Code:
    wget http://mydomain.com/googlefroogle.php?feed=fy_un_tp
    (plus the necessary time and date params...)

    It executes ok but does not save the xml file to the appropriate location

    Code:
    http://mydomain.com/feed/file_name_products.xml
    feed directory is set to chmod 777

    Also tried this variant


    Code:
    wget http://mydomain.com/googlefroogle.php?feed=fy_un_tp > /home/myaccount/public_html/feed/file_name_products.xml
    to no avail

    Does anyone have an idea how to get on top of this please?

    TIA / Frank

  2. #2
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Google Base Feeder Support Thread

    I'm no expert and each server is different but I only need the first part of that wget http://mydomain.com/googlefroogle.php?feed=fy_un_tp. I wasn't able to check to see if that first part is correct but looks like it at first glance.

    If you've never run a cron job on your hosting before, check with your tech support about how to set it up in case it's different.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by delia View Post
    ....If you've never run a cron job on your hosting before, check with your tech support about how to set it up in case it's different.
    Thanks delia. As I mentioned in my previous post I am certainly *not* a newbie with cron - currently running 6 jobs on one site including daily DB dumps.

    May have to get in touch with my techies....

  4. #4
    Join Date
    Jun 2008
    Posts
    627
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by frank18 View Post
    The manual execution in Admin > Tools > Google Merchant Center Feeder works ok and the xml feed is created.

    But I am having a mongrel time with the cron job of this mod (and I am not a newbie with cron tabs ...)

    Currently the tab looks like this:

    Code:
    wget http://mydomain.com/googlefroogle.php?feed=fy_un_tp
    (plus the necessary time and date params...)

    It executes ok but does not save the xml file to the appropriate location

    Code:
    http://mydomain.com/feed/file_name_products.xml
    feed directory is set to chmod 777

    Also tried this variant


    Code:
    wget http://mydomain.com/googlefroogle.php?feed=fy_un_tp > /home/myaccount/public_html/feed/file_name_products.xml
    to no avail

    Does anyone have an idea how to get on top of this please?

    TIA / Frank
    In admin, configuration > Google Merchant Center Feeder Configuration

    what is the output directory set to?

  5. #5
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by buildingblocks View Post
    In admin, configuration > Google Merchant Center Feeder Configuration

    what is the output directory set to?
    setting is feed/

  6. #6
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Google Base Feeder Support Thread

    Fixed it

    implemented this cron

    but had to comment out line 54 of mydomain.com/googlefroogle.php from

    Code:
     if ($key != GOOGLE_BASE_KEY) exit('<p>Incorrect key supplied!</p>');
    to

    Code:
    // if ($key != GOOGLE_BASE_KEY) exit('<p>Incorrect key supplied!</p>');  // commented out for testing of cron job - frank18
    as the script stopped at this point (the feed is set to be fetched by the relevant services and no key is required)

    works a treat now and returns this in the cron email:

    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed

    0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
    0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
    100 269 0 269 0 0 112 0 --:--:-- 0:00:02 --:--:-- 231
    100 269 0 269 0 0 112 0 --:--:-- 0:00:02 --:--:-- 230
    Google Merchant Center Feeder v1.9.0 started 2011/06/03 19:32:02<br />
    Feed file - /home/myaccount/public_html/feed/my_name_products.xml<br />
    Processing: Feed - Yes, Upload - No<br />
    ~~~~~~<br />
    Google Merchant Center File Complete In 2.043967 Seconds 399 Records<br />

  7. #7
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Google Base Feeder Support Thread

    You don't have to comment out those lines. I think if you add this to the end of your url it would work: &key=YOURKEYHERE

    Though I've not had any problems getting it to work without the key. Maybe using curl makes the difference?

    The key is listed in the config settings - the first one.

    Glad you figured it out!
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  8. #8
    Join Date
    Jun 2009
    Posts
    80
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Is there a 400 product limit on this feed?

  9. #9
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Google Base Feeder Support Thread

    No, I've imported over 2000 products at a time.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  10. #10
    Join Date
    Jul 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    v 1.9.1

    I have this running as a cron job:

    http://www.mysite.com/googlefroogle....y_tp&key=MYKEY

    I receive this line in an email on execution of the cron job:
    <p>Incorrect key supplied!</p>
    I checked and double checked the key value in admin against the key parameter value in the cron job, and it's the same. I then changed the value on both to a new key, and I still get the error.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Google Merchant Center Feeder for ZC v1.5.x [Support Thread]
    By DivaVocals in forum Addon Admin Tools
    Replies: 504
    Last Post: 19 Nov 2024, 03:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg