Results 1 to 10 of 298

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    red flag Re: Currency Update (Automatic)

    Hi,

    I changed to what you suggested
    wget http://www.mysite.com/currency_update.php

    but received the following error. Please advise.

    --00:35:01-- http://www.mysite.com/currency_update.php
    => `currency_update.php'
    Resolving www.mysite.com... XXX.XXX.X.XX Connecting to www.mysite.com|XXX.XXX.X.XX|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    00:35:01 ERROR 403: Forbidden.
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by dealbyethan.com View Post
    Hi,

    I changed to what you suggested
    wget http://www.mysite.com/currency_update.php

    but received the following error. Please advise.

    --00:35:01-- http://www.mysite.com/currency_update.php
    => `currency_update.php'
    Resolving www.mysite.com... XXX.XXX.X.XX Connecting to www.mysite.com|XXX.XXX.X.XX|:80... connected.
    HTTP request sent, awaiting response... 403 Forbidden
    00:35:01 ERROR 403: Forbidden.
    That depends on your server configurations - seems the wget is disabled by your host. Could also be prevented by your .htaccess file.

    You may want to go back to your previous configuration using curl. Then manually update your currencies in admin. Take note of the ex-rates after the manual update.

    Set the cron job to run at the next full hour, wait until the script has run then check the new ex-rates against your notes. If there is a difference then rest assured that the automatic currencies updater works.

  3. #3
    Join Date
    Dec 2005
    Location
    Perth, Western Australia, Australia
    Posts
    781
    Plugin Contributions
    0

    red flag Re: Currency Update (Automatic)

    Quote Originally Posted by frank18 View Post
    That depends on your server configurations - seems the wget is disabled by your host. Could also be prevented by your .htaccess file.

    You may want to go back to your previous configuration using curl. Then manually update your currencies in admin. Take note of the ex-rates after the manual update.

    Set the cron job to run at the next full hour, wait until the script has run then check the new ex-rates against your notes. If there is a difference then rest assured that the automatic currencies updater works.
    Hi, my host said they didn't disable it. They think our .htaccess file causing the issue but not sure about which rule. Do you have any idea?

    I wouldn't want to use curl and also have to manually update the currencies in admin. The purpose of doing this is to automate it.
    The Team Behind DealByEthan.com | Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. Connect with us: https://linktr.ee/dealbyethan


  4. #4
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Currency Update (Automatic)

    One of my sites is updated with this cron:

    /usr/local/bin/php /home/MY_ACCOUNT/public_html/currency_update.php

    Note the space between php and /home

    The first part /usr/local/bin/php would depend on the location of your php folder within your server's file structure. Your host should be able to tell you the path applicable to your server.

 

 

Similar Threads

  1. Automatic Currency Updates - curl version problem
    By mtimber in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Dec 2008, 07:53 PM
  2. Automatic Currency Selection for a domain
    By [email protected] in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 5 Jun 2007, 09:38 AM
  3. Automatic Currency Updates
    By dustyservers in forum Customization from the Admin
    Replies: 6
    Last Post: 28 Jun 2006, 12:38 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg