Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help! Getting a serries of error's when trying to update currencies


shadowtek

Recommended Posts

Hi guys this is the error that im getting when i try to update the currencies..

 

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 14

 

Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=USD&format=CSV&dest=Get+Table&sel_list=AUD): failed to open stream: Permission denied in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 14

 

Warning: implode(): Bad arguments. in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 18

 

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 28

 

Warning: file(http://www.xe.net/ucc/convert.cgi?Amount=1&From=AUD&To=USD): failed to open stream: Permission denied in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 28

 

Warning: implode(): Bad arguments. in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 32

 

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 14

 

Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=EUR&format=CSV&dest=Get+Table&sel_list=AUD): failed to open stream: Permission denied in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 14

 

Warning: implode(): Bad arguments. in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 18

 

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 28

 

Warning: file(http://www.xe.net/ucc/convert.cgi?Amount=1&From=AUD&To=EUR): failed to open stream: Permission denied in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 28

 

Warning: implode(): Bad arguments. in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 32

 

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 14

 

Warning: file(http://www.oanda.com/convert/fxdaily?value=1&redirected=1&exch=AUD&format=CSV&dest=Get+Table&sel_list=AUD): failed to open stream: Permission denied in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 14

 

Warning: implode(): Bad arguments. in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 18

 

Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 28

 

Warning: file(http://www.xe.net/ucc/convert.cgi?Amount=1&From=AUD&To=AUD): failed to open stream: Permission denied in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 28

 

Warning: implode(): Bad arguments. in /home/cipher/public_html/shop/admin/includes/functions/localization.php on line 32

 

Warning: Cannot modify header information - headers already sent by (output started at /home/cipher/public_html/shop/admin/includes/functions/localization.php:14) in /home/cipher/public_html/shop/admin/includes/functions/general.php on line 18

 

Any idea's

Link to comment
Share on other sites

Hi guys this is the error that im getting when i try to update the currencies..

Any idea's

 

I'm getting it too during checkout with the UPS and USPS API's. I had to turn on flat rate which I am losing money on, but I don't know how to fix it either. I hope it fixes itself. The last time it happened, it was because one of them was updating their API's or something and it fixed itself in a half day.

Link to comment
Share on other sites

it's likely you cannot connect to the currency exchange rates servers. You could update the currencies manually using the edit instead of the update or you could establish different exchange rates servers. Add the server definition to the admin\includes\application_top.php just replace the following lines with the name server.

 

  define('CURRENCY_SERVER_PRIMARY', 'oanda');
 define('CURRENCY_SERVER_BACKUP', 'xe');

 

And then add an extra function in admin\includes\functions\localization.php to parse the server parameters required so you will fetch the exchange rates.

 

Also all of this should be on the admin end and should not interfere with the catalog and checkout process. Unless you have some custom changes there.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...