Page 1 of 2 12 LastLast
Results 1 to 10 of 298

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    I GOT IT!. The command I use is;-

    php /home/[your username]/public_html/rss/import_feeds.php

  2. #2
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hmmm this has always been working fine, but now I've moved to a new server and the script and cron are working except they update my currency rate to 0 which makes everything in my store free if visitors are shopping in US $, eek!!! I didn't change the file at all, I can't understand why it's doing that. Any thoughts anyone?

    TIA!
    Danielle

  3. #3
    Join Date
    Apr 2007
    Posts
    139
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by Danielle View Post
    Hmmm this has always been working fine, but now I've moved to a new server and the script and cron are working except they update my currency rate to 0 which makes everything in my store free if visitors are shopping in US $, eek!!! I didn't change the file at all, I can't understand why it's doing that. Any thoughts anyone?

    TIA!
    Why don't you Google the error message that comes out? The solution is somewhere out there in the WWW.

  4. #4
    Join Date
    Oct 2004
    Posts
    1,045
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    There is no error message...everything appears to work great, but when I check the currency values in my admin, Canadian is correct and USD is changed to 0.
    Danielle

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Currency Update (Automatic)

    What happens when you do a manual update? How do you know that CRON and the script are working?
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Jul 2007
    Posts
    156
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi,
    I seem to be having a little difficulty getting this mod set up.

    Please can someone advise me if these settings are correct:

    the currency_update.php file is in directory /home/admin*****
    the run command is in directory /etc/cron.hourly/hourlytasks
    my store is in directory /var/www/html

    I have the setting in the currency_update.php file set to /var/www/html
    the run command is set to usr/bin/php /home/admin*****/currency_update.php

    This should run the script every hour but when I look in admin->localization->currencies the displayed last update date was days ago.

    Please can someone tell me what I'm doing wrong?

    Thanks

  7. #7
    Join Date
    Jan 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi,

    I am having some difficulty using this mod as well.

    I have installed the update_currency.php in the root for now, then set up the path

    $location = '/home/[my-username]/public_html/';

    Then tried to execute like this

    www.vitalwares.ca/currency_update.php

    (I have not even set up a cron job yet)

    There were no errors on screen so I assumed that the file has run currectly but I donot see any change in the price of an item in a different currency i have tested this over 2 days and there have definately been changes in the currency vlaues , and whn I maually update currency using admin the price of the items changes even if i do it as frequesntly as every 5 mins.

    This leads me to assume that there is something wrong ? Please help..

    p.s. My default currency is Canadian dollars could this be an issue ?


  8. #8
    Join Date
    Jul 2007
    Posts
    156
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi vitalwares,

    I had a bit of trouble getting it set up but it's sorted now, I think the problem you are having is that the file currency_update.php is in your root directory, is this the same place that you have zen cart installed, if so I think your path should be:

    $location = '/';

    I'm not 100% sure if that is correct but give it a try and see what happens, you can tell if it works in your currencies page in admin the updated date will change to today (unless you've already updated it manually today)

  9. #9
    Join Date
    Jan 2008
    Posts
    82
    Plugin Contributions
    0

    bug Re: Currency Update (Automatic)

    hi,

    Now I am sure that there is something wrong.

    Masterblaster/kuroi Please take a look at this modified file I have added some diagnostic code and run this file several times, It does return the currency rates but does not update them (it returns the same data 1 hr or 10 hrs later)

    Please let me know if I have made a mistake or its the script that has an issue.

    Attached Files Attached Files

  10. #10
    Join Date
    Jan 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by vitalwares View Post
    hi,

    Now I am sure that there is something wrong.

    Masterblaster/kuroi Please take a look at this modified file I have added some diagnostic code and run this file several times, It does return the currency rates but does not update them (it returns the same data 1 hr or 10 hrs later)

    Please let me know if I have made a mistake or its the script that has an issue.


    Hi somebody please help with this ? Kuroi ? Masterblaster ?

    Its just not refreshing the numbers...

 

 
Page 1 of 2 12 LastLast

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