Help getting Datafeed to work
Posted: 08 March 2010 12:03 PM   Ignore ]  
Newbie
Avatar
Rank
Total Posts:  8
Joined  2010-01-13

Hi there,

I’m suffering a bit, getting the datafeed to output anything at all.
I’ve spent 5 hours today trying to figure this out so I’ve got to the stage where I’m ready to ask for help!

My datafeed URL simply won’t output anything (EE 1.6.8 - 20091201). I have many add-ons installed so to be sure of conflicts, I backed up my DB, reinstalled locally, uninstalled all my modules, extensions and plugins - tried again… No luck. I also reinstalled Foxee… no luck.
I downloaded and installed a fresh copy of the latest build of EE (20100121) today, installed Foxee (1.10.60.032) - and still, just a blank page on the datafeed.

Am I missing something here? What are the requirements for getting a datafeed to render?
If anyone could explain what the datafeed is or does too, that would be helpful.

Thanks!

Profile
 
Posted: 08 March 2010 06:41 PM   Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

Hi Tony,

Make sure you have followed this guide to setting up FoxyCart.

http://www.hccdevelopment.com/docs/foxee/foxee_110/setup_guide/setting_up_foxycart/

Also please upgrade to build 035 of foxee.

Signature 

Mike

HCC Development

Profile
 
Posted: 09 March 2010 06:46 AM   Ignore ]   [ # 2 ]  
Newbie
Avatar
Rank
Total Posts:  8
Joined  2010-01-13

Hi,

I’ve completed the setup following the instructions, yes.

I removed AND $IN->GBL(‘mode’) == ‘test’ from line 2290 of mod.foxee.php within the data_feed method, and turned on DEBUG in the includes file. I now get an empty dataset returned on the datafeed url page.

array(1{
  [
"xmldata"]=>
  
NULL

What are the common problems with the data_feed? What are its dependencies for outputting any data? Is a blank feed to be expected during testing?

btw, the latest build has a typo in the name of the language directory within the archive.

Profile
 
Posted: 09 March 2010 06:53 AM   Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

I now get an empty dataset returned on the datafeed url page.

Have you installed the foxee test template? Could you provide a link

Signature 

Mike

HCC Development

Profile
 
Posted: 09 March 2010 07:50 AM   Ignore ]   [ # 4 ]  
Newbie
Avatar
Rank
Total Posts:  8
Joined  2010-01-13

I’ve not had any problems working with the product page - the test template and my product pages are working OK, adding to basket and moving to checkout page appears to be working too - its just that the datafeed is blank whenever I view it.
I’m afraid I can’t provide any links because it’s not publicly accessible.

I take it by default there should be something being output on the datafeed then?

I’m still not entirely sure what the datafeed is doing, so some detail on that would be helpful.
What information is it retrieving from the local database? Is there an example datafeed being output from a Foxee site I can see? What does it rely on in order to successfully render?

Profile
 
Posted: 09 March 2010 08:00 AM   Ignore ]   [ # 5 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

Well you are really asking two different things then and your title seems misleading. The FC datafeeds transfer information from the FC servers to your EE server. There are three basic feeds, the Cart (JSON) the XML datafeed and the member API.

You can read about the XML feed here: http://wiki.foxycart.com/docs/datafeed

*Moved to how to

Signature 

Mike

HCC Development

Profile
 
Posted: 09 March 2010 08:01 AM   Ignore ]   [ # 6 ]  
Newbie
Avatar
Rank
Total Posts:  8
Joined  2010-01-13

By default should the XML data feed be blank?

(That’s the “FoxEE URL for FoxyCart Datafeed”)

Profile
 
Posted: 09 March 2010 09:51 AM   Ignore ]   [ # 7 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  1646
Joined  2007-11-23

If you are just attempting to load the datafeed URL: http://www.yoursite.com/index.php?ACT=29
then yes it will be blank.

What are you trying to accomplish?

All of the XML values are available through the {exp:foxee:transaction_history} tag. Foxee does not do anything special with the FoxyCart datafeed other then sync the transaction database with FoxyCart.

Because the datafeed is transferred through URL’s you need to make sure that you do not have any htaccess rules or firewall settings that would block the communication. LG’s htaccess module will block the feed.

Please be more specific with your question and provide examples and links when possible.

Signature 

Mike

HCC Development

Profile
 
Posted: 09 March 2010 11:06 AM   Ignore ]   [ # 8 ]  
Newbie
Avatar
Rank
Total Posts:  8
Joined  2010-01-13

Thank you, that’s reassuring to know that the feed is blank by default.

Profile
 
   
 
 

Join our Mailing List