Page 175 of 357 FirstFirst ... 75125165173174175176177185225275 ... LastLast
Results 1,741 to 1,750 of 3563
  1. #1741
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,550
    Plugin Contributions
    70

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by lingray View Post
    I have just tried the fix that you have supplied and I get the errors that you advised I would get. However, when I run the googlefroogle.sql query I get a error as below:

    PHP Code:
    1062 Duplicate entry 'GOOGLE_BASE_PASV' for key 2
    in
    :
    [
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addeduse_functionset_functionVALUES (NULL'Google Base FTP Username''GOOGLE_FROOGLE_USERNAME''ftp_username''Enter your Google Base FTP username', @configuration_group_id0NOW(), NULLNULL), (NULL'Google Base FTP Password''GOOGLE_FROOGLE_PASSWORD''ftp_password''Enter your Google Base FTP password', @configuration_group_id0NOW(), NULLNULL), (NULL'Google Base Server''GOOGLE_FROOGLE_SERVER''uploads.google.com''Enter froogle server
    default: hedwig.google.com'
    , @configuration_group_id0NOW(), NULLNULL), (NULL'Google Base PASV''GOOGLE_BASE_PASV''true''Turn PASV mode on or off for FTP upload?', @configuration_group_id0NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Store Address''GOOGLE_BASE_ADDRESS''http://www.domain.com''Enter your website address', @configuration_group_id1NOW(), NULLNULL), (NULL'Store Description''GOOGLE_BASE_DESCRIPTION''''Enter a short description of your store', @configuration_group_id1NOW(), NULLNULL), (NULL'Auction Site Attributes''GOOGLE_BASE_ASA''false''Activate Auction Site Attributes (requires separate add-on)?', @configuration_group_id2NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Enable Map Pricing''GOOGLE_BASE_MAP_PRICING''false''Enable MAP Pricing (requires separate add-on)?', @configuration_group_id2NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Expiration Date Base''GOOGLE_FROOGLE_EXPIRATION_BASE''now''Expiration Date Base:
    now - add Adjust to current date;
    product - add Adjust to product date (max(date_added, last_modified, date_available))
    '
    , @configuration_group_id2NOW(), NULL'zen_cfg_select_option(array(\'now\', \'product\'),'), (NULL'Expiration Date Adjust''GOOGLE_FROOGLE_EXPIRATION_DAYS''365''Expiration Date Adjust in Days', @configuration_group_id2NOW(), NULLNULL), (NULL'Show Default Currency''GOOGLE_FROOGLE_CURRENCY_DISPLAY''true''Display Currency', @configuration_group_id3NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Default Currency''GOOGLE_FROOGLE_CURRENCY''USD''Select currency', @configuration_group_id5NOW(), NULL'zen_cfg_pull_down_currencies('), (NULL'Show Offer ID''GOOGLE_FROOGLE_OFFER_ID''id''A unique alphanumeric identifier for the item - products_id code. ', @configuration_group_id6NOW(), NULL'zen_cfg_select_option(array(\'id\', \'model\', \'UPC\', \'ISBN\', \'false\'),'), (NULL'Show Quantity''GOOGLE_FROOGLE_IN_STOCK''false''Display products quantity?', @configuration_group_id7NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Include Zero Quantity''GOOGLE_BASE_ZERO_QUANTITY''false''Include products with zero quantity?', @configuration_group_id7NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Default Quantity''GOOGLE_BASE_DEFAULT_QUANTITY''0''What is the default quantity for products with zero quantity?', @configuration_group_id7NOW(), NULLNULL), (NULL'Shipping Options''GOOGLE_FROOGLE_SHIPPING''''The shipping options available for an item', @configuration_group_id8NOW(), NULLNULL), (NULL'Condition''GOOGLE_FROOGLE_CONDITION''new''Choose your default condition', @configuration_group_id12NOW(), NULL'zen_cfg_select_option(array(\'new\', \'used\', \'refurbished\'),'), (NULL'Show Feed Lanugage''GOOGLE_FROOGLE_LANGUAGE_DISPLAY''false''Display Feed Language', @configuration_group_id13NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Feed Language''GOOGLE_FROOGLE_LANGUAGE''English''If Show Feed Language is True, what is your feed language?
    default = en'
    , @configuration_group_id14NOW(), NULL'zen_cfg_pull_down_languages_list('), (NULL'Magic SEO URLs''GOOGLE_BASE_MAGIC_SEO_URLS''false''Output Magic SEO URLs (separate module required)?', @configuration_group_id14NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Output File Name''GOOGLE_FROOGLE_OUTPUT_FILENAME''domain''Set the name of your froogle output file', @configuration_group_id19NOW(), NULLNULL), (NULL'Compress Feed File''GOOGLE_FROOGLE_COMPRESS''false''Compress Google froogle file', @configuration_group_id20NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Uploaded date''GOOGLE_FROOGLE_UPLOADED_DATE''''Date and time of the last upload', @configuration_group_id21NOW(), NULLNULL), (NULL'Output Directory''GOOGLE_FROOGLE_DIRECTORY''feed/''Set the name of your froogle output directory', @configuration_group_id20NOW(), NULLNULL), (NULL'Use cPath in url''GOOGLE_FROOGLE_USE_CPATH''false''Use cPath in product info url', @configuration_group_id20NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Tax Region''GOOGLE_FROOGLE_TAX_REGION''Tax applicable regions''Enter the tax region', @configuration_group_id22NOW(), NULLNULL), (NULL'Display Tax''GOOGLE_FROOGLE_TAX_DISPLAY''false''Display tax per product?', @configuration_group_id23NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Max products''GOOGLE_FROOGLE_MAX_PRODUCTS''0''Default = 0 for infinite # of products', @configuration_group_id24NOW(), NULLNULL), (NULL'Starting Point''GOOGLE_BASE_START_PRODUCTS''0''Start at which entry (not product_id)?
    Default=0'
    , @configuration_group_id24NOW(), NULLNULL), (NULL'Pickup''GOOGLE_FROOGLE_PICKUP''do not display''Local pickup available?', @configuration_group_id25NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\', \'do not display\'),'), (NULL'Included Categories''GOOGLE_BASE_POS_CATEGORIES''''Enter category names separated by commas 
    (i.e. 1,2,3)
    Leave blank to allow all categories'
    , @configuration_group_id30NOW(), NULLNULL), (NULL'Excluded Categories''GOOGLE_BASE_NEG_CATEGORIES''''Enter category names separated by commas 
    (i.e. 1,2,3)
    Leave blank to deactivate'
    , @configuration_group_id30NOW(), NULLNULL), (NULL'Show Weight''GOOGLE_BASE_WEIGHT''false''Include products weight?', @configuration_group_id33NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Weight Units''GOOGLE_BASE_UNITS''pounds''What unit of weight measure?
    pounds OR kilograms'
    , @configuration_group_id33NOW(), NULL'zen_cfg_select_option(array(\'pounds\', \'kilograms\'),'), (NULL'Product Type''GOOGLE_BASE_PRODUCT_TYPE''top''Use top-level, bottom-level, or full-path as product_type?', @configuration_group_id34NOW(), NULL'zen_cfg_select_option(array(\'top\', \'bottom\', \'full\'),'), (NULL'Payments Accepted''GOOGLE_BASE_PAYMENT_METHODS''Cash,Check,Visa,MasterCard,AmericanExpress,Discover,WireTransfer''What payment methods do you accept?', @configuration_group_id35NOW(), NULLNULL), (NULL'Payment Notes''GOOGLE_BASE_PAYMENT_NOTES''GoogleCheckout''Add payment notes (use this for showing you accept Google Checkout)', @configuration_group_id35NOW(), NULLNULL), (NULL'Image Handler''GOOGLE_FROOGLE_IMAGE_HANDLER''false''Resize images using image handler (separate module required)?', @configuration_group_id36NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Use Meta Title''GOOGLE_BASE_META_TITLE''false''Use meta title as the title if it exists (for products only)?', @configuration_group_id40NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Select Shipping Method''GOOGLE_BASE_SHIPPING_METHOD''none''Select a shipping method from the drop-down list that is used in your store, or leave as none', @configuration_group_id50NOW(), NULL'zen_cfg_select_option(array(\'zones table rate\', \'flat rate\', \'per item\', \'per weight unit\', \'table rate\', \'zones\', \'percategory\', \'free shipping\', \'free rules shipping\', \'none\'),'), (NULL'Table Zone ID''GOOGLE_BASE_RATE_ZONE''''Enter the table rate ID if using a shipping method that uses table rates:', @configuration_group_id51NOW(), NULLNULL), (NULL'Shipping Country''GOOGLE_BASE_SHIPPING_COUNTRY''''Select the destination country for the shipping rates:', @configuration_group_id52NOW(), NULL'zen_cfg_pull_down_country_list('), (NULL'Shipping Region''GOOGLE_BASE_SHIPPING_REGION''''Enter the destination region within the selected country (state code, or zip with wildcard *):', @configuration_group_id53NOW(), NULLNULL), (NULL'Shipping Service''GOOGLE_BASE_SHIPPING_SERVICE''''Enter the shipping service type (i.e. Ground):', @configuration_group_id54NOW(), NULLNULL), (NULL'Debug''GOOGLE_BASE_DEBUG''false''Turn on simple debug?', @configuration_group_id0NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),');]
    If 
    you were entering informationpress the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields
    This is really confusing as to why it isn't working and I'm unsure of where to start. The problem being that I don't know what the previous administrator did to try to get this working.
    This poster also asked this question in the Numinix Forum. The solution can be found here: http://numinix.com/forum/viewtopic.php?f=1&p=2436#p2431

  2. #1742
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by lingray View Post
    I have just tried the fix that you have supplied and I get the errors that you advised I would get. However, when I run the googlefroogle.sql query I get a error as below:

    PHP Code:
    1062 Duplicate entry 'GOOGLE_BASE_PASV' for key 2
    in
    :
    [
    INSERT INTO configuration (configuration_idconfiguration_titleconfiguration_keyconfiguration_valueconfiguration_descriptionconfiguration_group_idsort_orderdate_addeduse_functionset_functionVALUES (NULL'Google Base FTP Username''GOOGLE_FROOGLE_USERNAME''ftp_username''Enter your Google Base FTP username', @configuration_group_id0NOW(), NULLNULL), (NULL'Google Base FTP Password''GOOGLE_FROOGLE_PASSWORD''ftp_password''Enter your Google Base FTP password', @configuration_group_id0NOW(), NULLNULL), (NULL'Google Base Server''GOOGLE_FROOGLE_SERVER''uploads.google.com''Enter froogle server
    default: hedwig.google.com'
    , @configuration_group_id0NOW(), NULLNULL), (NULL'Google Base PASV''GOOGLE_BASE_PASV''true''Turn PASV mode on or off for FTP upload?', @configuration_group_id0NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Store Address''GOOGLE_BASE_ADDRESS''http://www.domain.com''Enter your website address', @configuration_group_id1NOW(), NULLNULL), (NULL'Store Description''GOOGLE_BASE_DESCRIPTION''''Enter a short description of your store', @configuration_group_id1NOW(), NULLNULL), (NULL'Auction Site Attributes''GOOGLE_BASE_ASA''false''Activate Auction Site Attributes (requires separate add-on)?', @configuration_group_id2NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Enable Map Pricing''GOOGLE_BASE_MAP_PRICING''false''Enable MAP Pricing (requires separate add-on)?', @configuration_group_id2NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Expiration Date Base''GOOGLE_FROOGLE_EXPIRATION_BASE''now''Expiration Date Base:
    now - add Adjust to current date;
    product - add Adjust to product date (max(date_added, last_modified, date_available))
    '
    , @configuration_group_id2NOW(), NULL'zen_cfg_select_option(array(\'now\', \'product\'),'), (NULL'Expiration Date Adjust''GOOGLE_FROOGLE_EXPIRATION_DAYS''365''Expiration Date Adjust in Days', @configuration_group_id2NOW(), NULLNULL), (NULL'Show Default Currency''GOOGLE_FROOGLE_CURRENCY_DISPLAY''true''Display Currency', @configuration_group_id3NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Default Currency''GOOGLE_FROOGLE_CURRENCY''USD''Select currency', @configuration_group_id5NOW(), NULL'zen_cfg_pull_down_currencies('), (NULL'Show Offer ID''GOOGLE_FROOGLE_OFFER_ID''id''A unique alphanumeric identifier for the item - products_id code. ', @configuration_group_id6NOW(), NULL'zen_cfg_select_option(array(\'id\', \'model\', \'UPC\', \'ISBN\', \'false\'),'), (NULL'Show Quantity''GOOGLE_FROOGLE_IN_STOCK''false''Display products quantity?', @configuration_group_id7NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Include Zero Quantity''GOOGLE_BASE_ZERO_QUANTITY''false''Include products with zero quantity?', @configuration_group_id7NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Default Quantity''GOOGLE_BASE_DEFAULT_QUANTITY''0''What is the default quantity for products with zero quantity?', @configuration_group_id7NOW(), NULLNULL), (NULL'Shipping Options''GOOGLE_FROOGLE_SHIPPING''''The shipping options available for an item', @configuration_group_id8NOW(), NULLNULL), (NULL'Condition''GOOGLE_FROOGLE_CONDITION''new''Choose your default condition', @configuration_group_id12NOW(), NULL'zen_cfg_select_option(array(\'new\', \'used\', \'refurbished\'),'), (NULL'Show Feed Lanugage''GOOGLE_FROOGLE_LANGUAGE_DISPLAY''false''Display Feed Language', @configuration_group_id13NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Feed Language''GOOGLE_FROOGLE_LANGUAGE''English''If Show Feed Language is True, what is your feed language?
    default = en'
    , @configuration_group_id14NOW(), NULL'zen_cfg_pull_down_languages_list('), (NULL'Magic SEO URLs''GOOGLE_BASE_MAGIC_SEO_URLS''false''Output Magic SEO URLs (separate module required)?', @configuration_group_id14NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Output File Name''GOOGLE_FROOGLE_OUTPUT_FILENAME''domain''Set the name of your froogle output file', @configuration_group_id19NOW(), NULLNULL), (NULL'Compress Feed File''GOOGLE_FROOGLE_COMPRESS''false''Compress Google froogle file', @configuration_group_id20NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Uploaded date''GOOGLE_FROOGLE_UPLOADED_DATE''''Date and time of the last upload', @configuration_group_id21NOW(), NULLNULL), (NULL'Output Directory''GOOGLE_FROOGLE_DIRECTORY''feed/''Set the name of your froogle output directory', @configuration_group_id20NOW(), NULLNULL), (NULL'Use cPath in url''GOOGLE_FROOGLE_USE_CPATH''false''Use cPath in product info url', @configuration_group_id20NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Tax Region''GOOGLE_FROOGLE_TAX_REGION''Tax applicable regions''Enter the tax region', @configuration_group_id22NOW(), NULLNULL), (NULL'Display Tax''GOOGLE_FROOGLE_TAX_DISPLAY''false''Display tax per product?', @configuration_group_id23NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Max products''GOOGLE_FROOGLE_MAX_PRODUCTS''0''Default = 0 for infinite # of products', @configuration_group_id24NOW(), NULLNULL), (NULL'Starting Point''GOOGLE_BASE_START_PRODUCTS''0''Start at which entry (not product_id)?
    Default=0'
    , @configuration_group_id24NOW(), NULLNULL), (NULL'Pickup''GOOGLE_FROOGLE_PICKUP''do not display''Local pickup available?', @configuration_group_id25NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\', \'do not display\'),'), (NULL'Included Categories''GOOGLE_BASE_POS_CATEGORIES''''Enter category names separated by commas 
    (i.e. 1,2,3)
    Leave blank to allow all categories'
    , @configuration_group_id30NOW(), NULLNULL), (NULL'Excluded Categories''GOOGLE_BASE_NEG_CATEGORIES''''Enter category names separated by commas 
    (i.e. 1,2,3)
    Leave blank to deactivate'
    , @configuration_group_id30NOW(), NULLNULL), (NULL'Show Weight''GOOGLE_BASE_WEIGHT''false''Include products weight?', @configuration_group_id33NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Weight Units''GOOGLE_BASE_UNITS''pounds''What unit of weight measure?
    pounds OR kilograms'
    , @configuration_group_id33NOW(), NULL'zen_cfg_select_option(array(\'pounds\', \'kilograms\'),'), (NULL'Product Type''GOOGLE_BASE_PRODUCT_TYPE''top''Use top-level, bottom-level, or full-path as product_type?', @configuration_group_id34NOW(), NULL'zen_cfg_select_option(array(\'top\', \'bottom\', \'full\'),'), (NULL'Payments Accepted''GOOGLE_BASE_PAYMENT_METHODS''Cash,Check,Visa,MasterCard,AmericanExpress,Discover,WireTransfer''What payment methods do you accept?', @configuration_group_id35NOW(), NULLNULL), (NULL'Payment Notes''GOOGLE_BASE_PAYMENT_NOTES''GoogleCheckout''Add payment notes (use this for showing you accept Google Checkout)', @configuration_group_id35NOW(), NULLNULL), (NULL'Image Handler''GOOGLE_FROOGLE_IMAGE_HANDLER''false''Resize images using image handler (separate module required)?', @configuration_group_id36NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Use Meta Title''GOOGLE_BASE_META_TITLE''false''Use meta title as the title if it exists (for products only)?', @configuration_group_id40NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL'Select Shipping Method''GOOGLE_BASE_SHIPPING_METHOD''none''Select a shipping method from the drop-down list that is used in your store, or leave as none', @configuration_group_id50NOW(), NULL'zen_cfg_select_option(array(\'zones table rate\', \'flat rate\', \'per item\', \'per weight unit\', \'table rate\', \'zones\', \'percategory\', \'free shipping\', \'free rules shipping\', \'none\'),'), (NULL'Table Zone ID''GOOGLE_BASE_RATE_ZONE''''Enter the table rate ID if using a shipping method that uses table rates:', @configuration_group_id51NOW(), NULLNULL), (NULL'Shipping Country''GOOGLE_BASE_SHIPPING_COUNTRY''''Select the destination country for the shipping rates:', @configuration_group_id52NOW(), NULL'zen_cfg_pull_down_country_list('), (NULL'Shipping Region''GOOGLE_BASE_SHIPPING_REGION''''Enter the destination region within the selected country (state code, or zip with wildcard *):', @configuration_group_id53NOW(), NULLNULL), (NULL'Shipping Service''GOOGLE_BASE_SHIPPING_SERVICE''''Enter the shipping service type (i.e. Ground):', @configuration_group_id54NOW(), NULLNULL), (NULL'Debug''GOOGLE_BASE_DEBUG''false''Turn on simple debug?', @configuration_group_id0NOW(), NULL'zen_cfg_select_option(array(\'true\', \'false\'),');]
    If 
    you were entering informationpress the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields
    This is really confusing as to why it isn't working and I'm unsure of where to start. The problem being that I don't know what the previous administrator did to try to get this working.
    Quote Originally Posted by numinix View Post
    This poster also asked this question in the Numinix Forum. The solution can be found here: http://numinix.com/forum/viewtopic.php?f=1&p=2436#p2431
    Let bring the solution to zen forums also. Thanks numinix.

    Do the following:

    1. Backup your database
    2. Patch your db with uninstall.sql
    3. Patch your db with the following:
    PHP Code:
    delete from configuration where configuration_group_id 0
    4. Patch your db with googlefroogle.sql
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #1743
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    help question Re: Google Base Feeder Support Thread

    Hello,

    hope someone can help here
    I updated the google base feeder to 1.7.4 as my feeds were getting rejected by google

    i updated all the necessary files on the server and the database upload is clean

    but when i try to create a product feed I get a 500 server error

    zencart version 1.3.7

  4. #1744
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by sgflowers View Post
    Hello,

    hope someone can help here
    I updated the google base feeder to 1.7.4 as my feeds were getting rejected by google

    i updated all the necessary files on the server and the database upload is clean

    but when i try to create a product feed I get a 500 server error

    zencart version 1.3.7
    Did you upload the main file found in the root of the package (googlefroogle.php)?
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  5. #1745
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by countrycharm View Post
    Did you upload the main file found in the root of the package (googlefroogle.php)?
    yes

    i deleted and re-uploaded to be safe

    not sure what is going on seems to be some of the code in the frooglegoogle in the admin is causing a 500 error

    any ideas?
    Last edited by sgflowers; 11 Aug 2009 at 07:52 PM.

  6. #1746
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by sgflowers View Post
    yes

    i deleted and re-uploaded to be safe

    not sure what is going on seems to be some of the code in the frooglegoogle in the admin is causing a 500 error

    any ideas?
    What version were you using before you upgraded ?
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #1747
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by sgflowers View Post
    yes

    i deleted and re-uploaded to be safe

    not sure what is going on seems to be some of the code in the frooglegoogle in the admin is causing a 500 error

    any ideas?
    I would copy and paste the uninstall patch in you admin/tools/install_sql_patches, after that run this sql patch. Don't run this patch until you run the uninstall.sql
    PHP Code:
    delete from configuration where configuration_group_id 0
    Install the current version of google_base, and you should not have anymore 500 errors.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #1748
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by countrycharm View Post
    I would copy and paste the uninstall patch in you admin/tools/install_sql_patches, after that run this sql patch. Don't run this patch until you run the uninstall.sql
    PHP Code:
    delete from configuration where configuration_group_id 0
    Install the current version of google_base, and you should not have anymore 500 errors.

    did all this with no luck

    same errors

  9. #1749
    Join Date
    Jun 2009
    Posts
    1
    Plugin Contributions
    0

    Default Solution and Question for Missing Title / Description / Invalid Encoding

    Using the v.1.3.8a zen cart and v.1.7.4 Google Base Feeder.
    I also have a database with over 13K products. This database contains many special characters for copyright, trademark, registered etc. along with double quotes, degrees, ampersand and again etc.

    Out of the box about half or less of my items were getting listed. After playing around with google_base.php (with suggestions I found by searching because I have almost no php experience) I was able to get 100% of my products to list using the following found on the Numinix forum pg. 26:
    I pasted the code in 1.7.0A from the same file that I am using and when I downgrade to 1.7.0A everything works fine.
    PHP Code:
        function google_base_sanita($str$rt=false) { // currently using zen_xml_sanitizer below instead of zen_froogle_sanita
              
    $str strip_tags($str);
              
    $str str_replace(array("\t" "\n""\r"), ' '$str);
              
    $str preg_replace('/\s\s+/'' '$str);
          
    //  $str = str_replace(array("®", "®", "©", "©", "™", "™"), ' ', $str);
              
    $str htmlentities(html_entity_decode($str));
              
    $in $out = array();
              
    $in[] = "®"$out[] = '(r)';
              
    $in[] = "©"$out[] = '(c)';
              
    $in[] = "™"$out[] = '(tm)';
          
    //    $str = str_replace($in, $out, $str);
              
    if($rt) {
                
    $str str_replace(" "" "$str);
                
    $str str_replace(" """$str);
              }
              
    $str trim($str);
              return 
    $str;
            }
           
            function 
    google_base_xml_sanitizer($str$cdata false) {
              
    $_strip_search = array("![\t ]+$|^[\t ]+!m",'%[\r\n]+%m'); // remove CRs and newlines
              
    $_strip_replace = array('',' ');
              
    $_cleaner_array = array(">" => "> ""®" => """®" => """™" => """™" => """\t" => """    " => "");
              
    $str html_entity_decode($str);
              
    $str strtr($str$_cleaner_array);
              
    $str preg_replace($_strip_search$_strip_replace$str);
              
    $str strip_tags($str);
              
    $str eregi_replace("[^[:alnum:][:space:].,!()'-_/+=?äÂÄöÖüÜß]"""$str);
              
    $str utf8_encode(htmlentities($str));
              
    //$str = $str;
              
    $str str_replace('&''&'$str);
              
    //if (!$cdata) {
              //$str = htmlentities(html_entity_decode($str));
              //$in = $out = array();
              //$in[] = "®"; $out[] = '(r)';
              //$in[] = "©"; $out[] = '(c)';
              //$in[] = "™"; $out[] = '(tm)';
              //$str = html_translate($str);
              
    $str trim($str);
              if (
    $cdata) {
                
    $str '<![CDATA[' $str ']]>';
              }
              return 
    $str;
            }
           
            function 
    html_translate($value) {       
              
    $value preg_replace("/À/""À"$value);       
              
    $value preg_replace("/Á/""Á"$value);       
              
    $value preg_replace("/Ä/""Ä"$value);       
              
    $value preg_replace("/Ç/""Ç"$value);       
              
    $value preg_replace("/È/""È"$value);       
              
    $value preg_replace("/É/""É"$value);       
              
    $value preg_replace("/Ë/""Ë"$value);       
              
    $value preg_replace("/Ì/""Ì"$value);       
              
    $value preg_replace("/Í/""Í"$value);       
              
    $value preg_replace("/Ï/""Ï"$value);       
              
    $value preg_replace("/Ò/""Ò"$value);       
              
    $value preg_replace("/Ó/""Ó"$value);       
              
    $value preg_replace("/Ö/""Ö"$value);       
              
    $value preg_replace("/Ù/""Ù"$value);       
              
    $value preg_replace("/Ú/""Ú"$value);       
              
    $value preg_replace("/Ü/""Ü"$value);
              
    $value preg_replace("/Ü/""Ü"$value);
              
    $value preg_replace("/ß/""ß"$value);       
              
    $value preg_replace("/à/""à"$value);       
              
    $value preg_replace("/á/""á"$value);       
              
    $value preg_replace("/ä/""ä"$value);       
              
    $value preg_replace("/ç/""ç"$value);       
              
    $value preg_replace("/è/""è"$value);       
              
    $value preg_replace("/é/""é"$value);       
              
    $value preg_replace("/ë/""ë"$value);       
              
    $value preg_replace("/ì/""ì"$value);       
              
    $value preg_replace("/í/""í"$value);       
              
    $value preg_replace("/ï/""ï"$value);       
              
    $value preg_replace("/ò/""ò"$value);       
              
    $value preg_replace("/ó/""ó"$value);       
              
    $value preg_replace("/ö/""ö"$value);       
              
    $value preg_replace("/ù/""ù"$value);       
              
    $value preg_replace("/ú/""ú"$value);       
              
    $value preg_replace("/ü/""ü"$value);       
              return 
    $value;   
            } 
    I replaced everything in the function google_base_sanita through the entire function google_base_xml_sanitizer section of google base feeder 1.7.4 google_base.php with the code above. After doing that I took a better look at:
    PHP Code:
    $_cleaner_array = array(">" => "> ""&reg;" => """®" => """&trade;" => """™" => """\t" => """    " => ""); 
    located within the pasted code and easily realized that I could make simple changes to character substitution by adding more of or changing the existing substitution in this format: "[character_you_want_to_remove]" => "[the_substituted_character]". Examples: I wanted the trademark to display as "(TM)" instead of ""/just being removed. I also have different type hyphens in my text, so I used: "–" => "-", "—" => "--" to replace the google base unacceptable hyphens that were getting removed leaving no space between words, with the hyphen that is acceptable "-" or "--".

    So hopefully this helps some with large databases that contain a variety of characters that are either getting left our or causing the item to not get listed due to invalid encoding.

    Now here is my question: Is there any way to get the ampersand & and double " or even single quote ' characters to pass through the feeder and display with the product listing?

    I don't really know php so I cannot see where they are being removed in this code, yet I think when I was messing with google_base.php before, I was able to get these characters to show up in my listings.

    If I cannot get a solution, I'm going to leave as is because at least all of my products are getting listed and are searchable. It would just be a nicer presentation.

    Thank you all by the way. I've been able to build my first shopping website with 13+K products and get it live with what I've already learned from you!

  10. #1750
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: Google Base Feeder Support Thread

    Quote Originally Posted by sgflowers View Post
    did all this with no luck

    same errors

    i was missing the version folder

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR