i have been following the video on how to install and configure the agrovoc field content type. after i enter the food groups given in the example (i.e. rice, chicken, onion, tomatoe and apples) and enter the correct language - i click save. the words entered in the agrovoc field are not listed at all as shown in the video but drupal reports that the "test" content type was successfully saved. when i try and edit the field it comes up empty. i have checked the database and the agrovoc terms are not saved. reports in drupal does not report an error and neither does apache.
i have tried another drupal installation with only the basic modules required for it to work and i still get the same error as above. if i enter information in the body field it is displayed after i click on save. any suggestions on how i can solve this problem.

Comments

nosikus’s picture

I am now getting the error "An error occured while calling the Agrovoc API" after I click save. Also the agrovoc terms are not listed as I type.

asanchez75’s picture

Hi Sunga,
Sorry for delay but I did not receive alerts from here.
Well, let me know, if you still need help.
Regards

nosikus’s picture

Hi,

Yes I still need help. The problem is the same as above except that the agrovoc terms are listed as I type. I am also getting the following error messages after I click save:

- An error occured while calling the Agrovoc API
- warning: get_headers(http://www.fao.org/webservices/AgrovocWS) [function.get-headers]: failed to open stream: HTTP request failed! in C:\xampp\htdocs\myorgtxn\sites\all\modules\agrovoc\agrovoc_api.module on line 258.

asanchez75’s picture

OK. It seems a problem with new webservices API, is not a problem with this module.
I will coordinate with FAO about this topic.
I'll let you know soon.
Thanks

nosikus’s picture

Ok, looking forward to hearing from you.

nosikus’s picture

Hi,
I am now no longer getting the error above as the terms are listed when i type into the field.
The problem now is that described in the Issue Summary". Any help or advice would be much appreciated.

asanchez75’s picture

I have sent you a private message.
Regards,
Adam

asanchez75’s picture

I just fix the problem in new release of agrovoc module (this module contains the API you need and is a dependence for agrovocfield module).
Please, take a look here and download new version
http://drupal.org/project/agrovoc
Regards,