Feedmachine
#1
Posted 24 June 2006, 19:01
#2
Posted 25 June 2006, 13:30
I have uncommented the chdir but now I am back to the original error of
[/quote]The SAVE_LOCATION directory: feeds/ does not exist in /home/mobiacc/public_html/. Please create this directory or change the path to an existing directory[quote]
The feeds folder is in the root of my store (I dont have a catalog folder) and the permissions are set to 777
Mark
#3
Posted 25 June 2006, 13:38
define('SAVE_LOCATION', 'home/mobileac/public_html/feeds/');
with the same result
#4
Posted 25 June 2006, 13:44
This probably has something to do with the way you configured it to run from the htdocs root dir instead of a catalog dir (I have this set-up as well, so it will work fine).
Lech
#5
Posted 25 June 2006, 13:47
$save_path = '/home/mobileac/public_html/feeds/';
But it is worth first investigating, because the failure may be symptomatic of a fault in your configuration file.
#6
Posted 25 June 2006, 14:01
put this:
echo DIR_FS_CATALOG . SAVE_LOCATION;
right below:
define('SAVE_LOCATION', 'feeds/');
run the script and tell me what the output is.
Lech
Edited by lech, 25 June 2006, 14:04.
#7
Posted 25 June 2006, 14:02
However when uploading the feed to googlebase it now gives the error that 'Feed parameter error: Required field must not be blank'
Urgh!
Mark
#8
Posted 25 June 2006, 14:04
Quote
hmmm
Mark
#9
Posted 25 June 2006, 14:19
echo DIR_FS_CATALOG . SAVE_LOCATION;
was suppose to be after:
define('SAVE_LOCATION', 'feeds/');
edited the post but you were too quick.
That is very interesting...
Add this below define('SAVE_LOCATION', 'feeds/');
echo '/home/mobileac/public_html/feeds/<br>';
echo DIR_FS_CATALOG . SAVE_LOCATION . '<br>';
echo ( DIR_FS_CATALOG . SAVE_LOCATION ) === '/home/mobileac/public_html/feeds/' ? 'yes' : 'no';
And let me know what the output is.
RE the feed that was generated: did you modify my original froogle configuration? If so try it first with the original setup - I know for sure this works.
Lech
#10
Posted 25 June 2006, 14:23
/home/mobileac/public_html/
and
/home/mobiacc/public_html/
Slight difference No??? Looks like you did make a mistake in your catalog configuration.
Edited by lech, 25 June 2006, 14:23.
#11
Posted 25 June 2006, 17:08
Do I visit www.mysite.com/admin/feedmachine-release-v1-00 where the script is located?
If so I just get forwarded to my front page (after having to type in my password etc.).
Edited by amigaman, 25 June 2006, 17:10.
#12
Posted 25 June 2006, 18:02
amigaman, on Jun 25 2006, 06:08 PM, said:
Do I visit www.mysite.com/admin/feedmachine-release-v1-00 where the script is located?
If so I just get forwarded to my front page (after having to type in my password etc.).
EDIT: Get it to run, but it just forwards me to the front page. Nothing seems to happen, no feed are in the feed folder.
#13
Posted 25 June 2006, 19:35
Well spotted that man!
Now the only problem is that the big G does not recognise the one of the fields ie
Quote
Feed parameter error: Required field must not be blank'
Amigaman, that happened to me and all I did was add the define in catalog/admin/includes/filenames.php
Mark
#14
Posted 25 June 2006, 21:09
amigaman, on Jun 25 2006, 07:02 PM, said:
Its feedmachine-release-v1-00.php
don't forget the .php. I don't see why you should be fowarded to the front page.
Edited by lech, 25 June 2006, 21:13.
#15
Posted 25 June 2006, 22:10
mark27uk3, on Jun 25 2006, 08:35 PM, said:
Well spotted that man!
Now the only problem is that the big G does not recognise the one of the fields ie
Amigaman, that happened to me and all I did was add the define in catalog/admin/includes/filenames.php
Mark
Does froogle give any other info? Which field is left blank? (As I remember it froogle gives detailed info).
If froogle is not giving you the feedback as it should, try finding the problem by elimination: first delete all but one line from the feed and see if froogle excepts this. If it does, try the first half of the feed... and keep halfing untill you isolate the offending record(s).
The feed you sent me looks very good. You have some nice long descriptions (these may actually have to be cut down for the feed if froogle has a size limit on the description field - I haven't put in this feature because I don't need it but it would be easy to add as an "option" if required).
Although the feed specification works fine for me as it is (uploaded successfully about a week ago), it does not conform the the new google-base spec: the field names are different to the new "official" ones:
http://www.google.co.uk/base/help/tab_instructions.html
Try changing the field names to the official ones (# title
# description
# link
# image link
# id ). (worth a try).
Do some investigating in the feed file generated, you should find the answer. I will have a closer look when I have time.
Good luck
#16
Posted 25 June 2006, 23:29
Ive just tried this and it works, just waiting to see if froogle, now google base accepts the feed all ok
Change "buy now buttons" css styles
Move shopping cart status into header
Add in stock status to product listing page
Define styles for product listing standardisation
Used mods so far:- basic_design_pack1mk7 | Google XML sitemap w admin | Paypal IPN v 1.2 | Feedmachine | pricematch_1_3_1 | Dynamic Sitemap 1.6 | Whos online Enhancement | Easypopulate 2.72
Each one that I solve I;ll be putting a post on the forum in a "completed shop" thread that Im writing up
#17
Posted 26 June 2006, 12:21
Quote
If froogle is not giving you the feedback as it should, try finding the problem by elimination: first delete all but one line from the feed and see if froogle excepts this. If it does, try the first half of the feed... and keep halfing untill you isolate the offending record(s).
The feed you sent me looks very good. You have some nice long descriptions (these may actually have to be cut down for the feed if froogle has a size limit on the description field - I haven't put in this feature because I don't need it but it would be easy to add as an "option" if required).
Although the feed specification works fine for me as it is (uploaded successfully about a week ago), it does not conform the the new google-base spec: the field names are different to the new "official" ones:
http://www.google.co.uk/base/help/tab_instructions.html
Try changing the field names to the official ones (# title
# description
# link
# image link
# id ). (worth a try).
Do some investigating in the feed file generated, you should find the answer. I will have a closer look when I have time.
Good luck
Hi Lech,
Ok I have tried as you suggest but it still does not work, the problems still occur and for the time being until this is resolved I have had to revert back to my other froogle feed file which still has errors but at least most of my products get listed.
If you do manage to resolve the issues then please let me know as I really like this contrib.
Thanks
Mark
#18
Posted 30 June 2006, 06:27
Warning: fopen(/home/smacgil2/public_html/feeds/froogle-feed.txt) [function.fopen]: failed to open stream: Permission denied in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 475 Warning: fwrite(): supplied argument is not a valid stream resource in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 476 Warning: fclose(): supplied argument is not a valid stream resource in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 477 Warning: chmod() [function.chmod]: No such file or directory in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 478 Warning: fopen(/home/smacgil2/public_html/feeds/shopping.com.txt) [function.fopen]: failed to open stream: Permission denied in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 475 Warning: fwrite(): supplied argument is not a valid stream resource in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 476 Warning: fclose(): supplied argument is not a valid stream resource in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 477 Warning: chmod() [function.chmod]: No such file or directory in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 478 Warning: fopen(/home/smacgil2/public_html/feeds/kelkoo.txt) [function.fopen]: failed to open stream: Permission denied in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 475 Warning: fwrite(): supplied argument is not a valid stream resource in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 476 Warning: fclose(): supplied argument is not a valid stream resource in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 477 Warning: chmod() [function.chmod]: No such file or directory in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 478 feeds created.
I installed this on a highly customized site with no problems, this new site is very vanilla so I dont know whats wrong with it
#19
Posted 30 June 2006, 08:43
Otherwise, examine closely the differences between this site and the other one. The only error you need to worry about is the first:
"Warning: fopen(/home/smacgil2/public_html/feeds/froogle-feed.txt) [function.fopen]: failed to open stream: Permission denied in /home/smacgil2/public_html/admin/feedmachine-release-v1-00.php on line 475"
The rest are a consequence of this.
Good luck
#20
Posted 30 June 2006, 09:25
Write a short script trying to write a file and you will almost certainly get the same error.
Lech














