This is a discussion on Froogle Data Feeder within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Oh yeah, they teach it in Linux Admin Kindergarten... --gabe...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#11
| |||
| |||
| Oh yeah, they teach it in Linux Admin Kindergarten... --gabe |
| Sponsored Links | ||
| ||
|
#12
| |||
| |||
| umm, I was either asleep in that class or was skipping. Thanks |
|
#13
| |||
| |||
| Below is an email from FROOGLE about my feeder. I have checked the link they are talking about, seems to work for me. I do not know what to do to resolve these 2 issues. If anyone else seen this before let me know what could fix this one. Thanks Thank you for submitting your product feed. We've reviewed your feed and need you to make some changes so that we can successfully process your feed. Your feed has been rejected due to the reason(s) listed below. Issues: - Non-working product_urls - Spaces in URLs ----------------- Non-working product_urls: It seems that some of the product_urls in your product feed aren't working correctly. For example, we were unable to load the product_url, http://www.lil-raskals.com/product_i...products_id=28, for the first item in your feed. If the product_urls in your feed don't work, Froogle users won't be able to order your products. Please double check to make sure that all of your product_urls are functional. Spaces in URLs: We've noticed that the URLs in your feed contain spaces. Please replace all spaces in your URLs with "%20," or your feed will not process correctly. For example, the image_url for the first item in your feed should be: http://www.lil-raskals.com/catalog/i...usy%20cube.jpg Instead of: http://www.lil-raskals.com/catalog/images/wooden toy busy cube.jpg After you've made the necessary change(s), please upload a new version of your feed. We'll notify you if we need you to make any additional formatting corrections. Otherwise, we'll send you an email to let you know that your feed has been approved. Sincerely, The Google Team |
|
#14
| |||
| |||
| Looks like you have Search engine safe URLs on... or whatever causes this type of url: http://lil-raskals.com/catalog/produ...roducts_id/124 but the froogle feed is still creating classic php with get variable urls: http://www.lil-raskals.com/product_i...roducts_id=124 which throws a 404 error... in this file: admin/includes/classes/feed.php you probably need to change this line: var $producturl = 'http://www.lil-raskals.com/product_info.php?products_id='; to something like this: var $producturl = 'http://www.lil-raskals.com/product_info.php/id/'; --gabe |
|
#15
| |||
| |||
| Thanks Gabe - I installed a different version of "froogle feeder" I run the script: http://www.lil-raskals.com/catalog/admin/froogle.php I get this message: Warning: getimagesize(): Read error! in /hsphere/local/home/abuata/lil-raskals.com/catalog/admin/includes/classes/feed.php on line 185 Warning: unlink(/hsphere/local/home/abuata/lil-raskals.com/catalog/feeds/carla_lil_raskals_com.txt): Is a directory in /hsphere/local/home/abuata/lil-raskals.com/catalog/admin/includes/classes/feed.php on line 83 Warning: fopen(/hsphere/local/home/abuata/lil-raskals.com/catalog/feeds/carla_lil_raskals_com.txt): failed to open stream: Is a directory in /hsphere/local/home/abuata/lil-raskals.com/catalog/admin/includes/classes/feed.php on line 84 Warning: fwrite(): supplied argument is not a valid stream resource in /hsphere/local/home/abuata/lil-raskals.com/catalog/admin/includes/classes/feed.php on line 85 Warning: fclose(): supplied argument is not a valid stream resource in /hsphere/local/home/abuata/lil-raskals.com/catalog/admin/includes/classes/feed.php on line 86 obviously I did something not correct. Below is the portion of /lil-raskals.com/catalog/admin/includes/classes/froogle.php that I modified. Thanks /*****************************/ /** Paths and URL's **/ /*****************************/ //Where do you want to save the generated TXT file? Be sure to include the FULL path and title. // ! REQUIRED ! /// Make sure this is your FULL path to the save directory and name of file $this->savefilename = '/hsphere/local/home/abuata/lil-raskals.com/catalog/feeds/carla_lil_raskals_com.txt'; //Do you want to enable auto enlarging for images? //Default is true and dimensions are proportional 500px by 500px $this->autoenlarge = true; //Where do you want to save the enlarged image? Be sure to include the FULL path and title. // ! REQUIRED ! /// Make sure this is the FULL path to your feed image directory $this->feedimagepath = '/hsphere/local/home/abuata/lil-raskals.com/catalog/feeds/'; //Trailing slash required! //What is the URL for the feed (enlarged) image folder? // ! REQUIRED ! /// This is the URL to the feed images directory $this->feedimageurl = 'http://lil-raskals.com/catalog/feeds/'; //Trailing slashes required //What is the path to your images folder? // ! REQUIRED ! /// This is the FULL path to your normal images directory $this->imagepath = '/hsphere/local/home/abuata/lil-raskals.com/catalog/images/'; //Trailing slash required! //What is the URL for the images folder? // ! REQUIRED ! /// This is the URL to your images directory $this->imageurl = 'http://lil-raskals.com/catalog/images/'; //Trailing slashes required! //Use this to output links above the content // ! OPTIONAL ! ///Put your own links that are displayed above the content $this->links = ''; } /************************************************** ****/ /** Class Methods **/ /************************************************** ****/ |
|
#16
| |||
| |||
| It seems that PHP thinks the file: /hsphere/local/home/abuata/lil-raskals.com/catalog/feeds/carla_lil_raskals_com.txt ...is a directory... is that the case? Maybe you should delete the file and re-create it? --gabe |
|
#17
| |||
| |||
| Yes, there was a directory created there, must have been the first run when I had a slash at the end or something. My error messages are getting better though, I ran the script again and got only this one: Warning: getimagesize(): Read error! in /hsphere/local/home/abuata/lil-raskals.com/catalog/admin/includes/classes/feed.php on line 185 Am I suppose to change all the entries for /lil-raskals.com/catalog/admin/includes/classes/feed.php too? see portion below. this doesn't look right, the instructions did not say to change this file.... ??? /***************************/ /** FTP INFO **/ /***************************/ var $ftp_user; //FTP username var $ftp_pass; //FTP password var $ftp_server; //FTP server /***************************/ /** Filename Info **/ /***************************/ var $savefilename; //local file name var $targetfilename; //remote file name /***************************/ /** Paths and Images **/ /***************************/ var $autoenlarge = true; //autoenlarge on by default, 500 px / 500 px var $imageurl = 'http://yourdomain.com/images/'; //trailing slash on the address var $imagepath = '/home/username/public_html/images/'; //trailing slash on the path var $feedimageurl = 'http://yourdomain.com/feeds/'; //trailing slash on the address var $feedimagepath = '/home/username/public_html/feeds/'; //trailing slash on the path var $producturl = 'http://yourdomain.com/product_info.php/id/';//make sure you use the URL version of your store. This example is for search engine safe URL's ON. Thanks |
|
#18
| |||
| |||
| Hi, Okay, I got ALL my error messages to go AWAY. But now when I upload my feeder file to froogle, they tell me this: Non-working product_urls: It seems that some of the product_urls in your product feed aren't working correctly. For example, for your product "Wooden Toy Activity Busy Cube," you included the non-working product_url http://lil-raskals.com/product_info.php/id/28. Instead, please use http://lil-raskals.com/catalog/produ...products_id/28. I have looked at my feed file and all the product url paths are exactly what they request them to be. I have looked through every froogle file to verify the paths, and they are correct. It's like The froogle people are getting a different file or something. This is making me crazy, can anyone help? Thanks |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Froogle Exporter Access Denied message | rolotech | osCMax v2 Customization/Mods | 0 | 11-10-2006 02:09 AM |
| Froogle Product URL | cewncew | osCMax v1.7 Discussion | 2 | 02-04-2005 01:57 PM |
| How do I import data from previous version data base? | rondgray | osCMax v1.7 Discussion | 1 | 12-19-2004 12:24 AM |
| Froogle file mixes languages (Easypopulate 2.72) | kjedr | osCMax v1.7 Installation | 0 | 10-21-2004 08:28 AM |
| easypopulate froogle generation problem | BKnapik | osCMax v1.7 Discussion | 0 | 01-27-2004 08:00 AM |