Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Currencies Maintenance takes too much time to load
02-25-2013, 04:32 PM
Post: #1
Currencies Maintenance takes too much time to load
Hi,

Currencies Maintenance takes too much time to load and and even getting slow when we adding a new Currency. However I have disabled the automatic updates options as well. Is there any particular reason for this?

Thanks,
Sumith
Find all posts by this user
Quote this message in a reply
02-25-2013, 07:10 PM
Post: #2
RE: Currencies Maintenance takes too much time to load
Yes the system is going off to google or ECB to get the latest rates. Can't recall if there is an off option for that or not ... there should be.

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-28-2013, 07:40 PM
Post: #3
RE: Currencies Maintenance takes too much time to load
Hello,

I have another problem with the Currency-Board. It just doesn'T update the data for the ecb-rates. Update automatically is enabled. And whenI change it to "manually" I have no idea where to put in the rates. I don'T find a field for that in the edit option nor in the data table of currencies. Please help.
Find all posts by this user
Quote this message in a reply
05-29-2013, 07:22 AM
Post: #4
RE: Currencies Maintenance takes too much time to load
You can choose between google and ECB - from Setup=>configuration settings - or turn it off altogether using the option:

Quote:Auto Update Exchange Rates Daily: Automatic updates to exchange rates will retrieve the latest daily rates from either the European Central Bank or Google once per day - when the first user logs in for the day. Manual will never update the rates automatically - exchange rates will need to be maintained manually

see http://www.weberp.org/weberp/SystemParameters.php
Quote:Source Exchange Rates From: Specify the source to use for exchange rates

Currency rates can be updated manually Setup=>General Setup Options=>Currency Maintenance

see http://www.weberp.org/weberp/Currencies.php

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-29-2013, 08:05 AM
Post: #5
RE: Currencies Maintenance takes too much time to load
Well I did that and now I've got that error popping up for each currency:


Warning: file() [function.file]: URL file-access is disabled in the server configuration in .../webERP/includes/MiscFunctions.php on line 229

Warning: file(http://www.google.com/finance/converter?...UR&to=AUD) [function.file]: failed to open stream: no suitable wrapper could be found in .../webERP/includes/MiscFunctions.php on line 229
Find all posts by this user
Quote this message in a reply
05-29-2013, 08:15 AM
Post: #6
RE: Currencies Maintenance takes too much time to load
Ah ha!! This is to do with your PHP configuration.

You need to create a file called php.ini in your webERP directory containing:

Code:
allow_url_fopen = ON

see

http://www.solo-technology.com/blog/2010...ed-issues/

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
05-29-2013, 08:18 AM
Post: #7
RE: Currencies Maintenance takes too much time to load
Yep now it works fine. Thanks a lot.^^
Find all posts by this user
Quote this message in a reply
05-29-2013, 08:49 PM
Post: #8
RE: Currencies Maintenance takes too much time to load
(02-25-2013 04:32 PM)Jayasuriya Wrote:  Hi,

Currencies Maintenance takes too much time to load and and even getting slow when we adding a new Currency. However I have disabled the automatic updates options as well. Is there any particular reason for this?

Thanks,
Sumith

Hi, Sumith:

You should revise currencies.php at line 286 too:
locale_number_format(GetCurrencyRate($myrow['currabrev'],$CurrencyRatesArray),8),
you can just change it to '0';

Hope it's helpful.

Best regards!

Exson
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)