Fórum

Built in Currency Converter portlet Issue

thumbnail
Muzakir Khan, modificado 11 Anos atrás.

Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Hi There!..
I have drag & dropped the Currency Converter portlet in my portal, and when I try to convert 10 USD to INR, the result I am getting is zero INR, and for all types of currency converters I am getting the same answer as zero, can anybody help me how to get the exact converted answer?..

Kind Regards
Khan
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Check if you're not getting error in your console or log file.
I think the currency converter needed connection to the internet because it was using some outside service.
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Hi Hitoshi!
Thank you for your reply..
My PC is connected to Internet, but still there is no expected output.. Also there is no error at console.. Any Idea why the result is alwayz zero?..

Kind Regards
Khan
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Then don't know the reason because it sure is working on my page.
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Thank you Hitoshi!..
Happy to see that your currency portlet is working fine, but mine is not working.
The first image here is the screenshot before clicking the convert button and the second image here is the screenshot after
clicking the convert button.. Why is the look changing here and also why is the answer zero?.. Any Idea whats the problem?..
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
There's probably a problem with your internet connection. If you say there isn't, then there's a problem with your liferay setup or your server setup. There's nothing wrong with the portlet.
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
I have tried this with all of my colleagues systems, but the same error.. Is it That this will work only in EE?.. I am using 6.1.0 CE..
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
I'm using 6.1.0 CE Tomcat bundle now to test this. Are you sure there's no proxy blocking web request?
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Try entering the following url in the web browser to see if you get any result. If not, you have network problem.

http://ichart.yahoo.com/t?s=^N225

The currency converter portlet is just calling this url.
thumbnail
Hitesh Methani, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 171 Data de Entrada: 24/06/10 Postagens Recentes
Hi Hitoshi and Muzakir,

Its even working for me, using liferay-tomcat-6.1-ce.


Thanks and Regards,
Hitesh Methani.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Thanks Hitesh for checking it out.

I think the site is being blocked out at their company network. Some companies don't want employees looking at non-work related pages and filter the url.
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Hi thanks Hitoshi & Hitesh..
Yes Hitoshi you are right.. The particular URL has been blocked..
You are really a Liferay legend..

Thanks & Regards
Khan
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Hi Hitoshi..
As you told, Now I have Unblocked this particular URL
http://ichart.yahoo.com/t?s=^N225, and after unblocking this URL, now the graph is been generated and displayed, but the converted answer still remains Zero..
Your further help will be greatly appreciated.

My output screenshot now is,

Thanks & Regards
Khan
thumbnail
Hitesh Methani, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 171 Data de Entrada: 24/06/10 Postagens Recentes
Hi Muzakir,

Can you confirm finance.yahoo.com is not blocked, because currency converter uses yahoo finance apis.

Thanks and Regards,
Hitesh Methani
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Hi Hitesh!
Thank you for your rep.. Yes this URL is unblocked "finance.yahoo.com".. Then too bad luck.. No conversion, Ans still remains zeroemoticon emoticon..
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Please enter the following url in your web browser if your have it installed on your liferay server to check if the following returns a csv text file. The url is being called from liferay and not from the client computer.

http://finance.yahoo.com/d/quotes.csv?s=EUR=X&f=sl1d1t1c1ohgv&e=.csv
thumbnail
Muzakir Khan, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Regular Member Postagens: 112 Data de Entrada: 15/03/12 Postagens Recentes
Hi Hitoshi!
The above URL you mentioned is not getting opened.. What should I do next?.. Plz..

Thank You.
thumbnail
Hitoshi Ozawa, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Legend Postagens: 7942 Data de Entrada: 24/03/10 Postagens Recentes
Ask your network administrator to unblock the site so your liferay server can get the needed information.
thumbnail
Jitendra Rajput, modificado 11 Anos atrás.

RE: Built in Currency Converter portlet Issue

Liferay Master Postagens: 875 Data de Entrada: 07/01/11 Postagens Recentes
If you using Chrome then directly check for "quote.csv" in your Downloads folder .
And If you are using FireFox then it will prompt you for download CSV file .
And If you are using IE then you can directly see result in browser.