Page 6 of 30 FirstFirst ... 4567816 ... LastLast
Results 51 to 60 of 298
  1. #51
    Join Date
    Aug 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    i think you may still have problems with the path?

  2. #52
    Join Date
    Jun 2007
    Location
    Cymru
    Posts
    124
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by whitt View Post
    i think you may still have problems with the path?
    Many thanks for that tip. It was the problem!

    My host told me to use:

    '/home/virtual/domain.com/var/www/html/

    Where I insert my domain where it is bold above. But I checked my ftp, and that wasn't the path I was getting, it was the following:

    '/home/myusername/mainwebsite_html/'

    Where I unser my usernamein the area marked as bold above. I've added the above, and the script works great.My host will now set up a Cron Job to run once a day.

    How often has the rest of you set the cron job to execute the script? Should I ask to change it to happen more often than once a day? After all, the price in the other currencies is only a guide, and I have marked this clearly on our site!

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

    Default Re: Currency Update (Automatic)

    Prices in a currency other than your store's default are only guides if you don't actually allow them to purchase with those currencies. If you do allow purchases with these currencies then they are the actual amount that they will pay, not guides.

    This is why Zen Cart has an a currency conversion ratio. It's set high by default (5%), which can make your product prices uncompetitive. If you're not allowing purchases in these currencies or want to price more competitively, I would recommend reducing the conversion ratio and increasing the frequency of the CRON job.

    There's very little processing penalty to this. I have a client running it every hour on the half hour.
    Kuroi Web Design and Development | Twitter

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

  4. #54
    Join Date
    Aug 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    mine updates once a day and i adjusted the 5% LOWER

  5. #55
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,762
    Plugin Contributions
    30

    Idea or Suggestion Re: Currency Update (Automatic)

    Hi,

    Another possible reason for the cron job not working is that the cron command may have to reference php with an absolute path.

    For example on my hosting server this command:

    php /home/username/public_html/path/currency_update.php

    gets passed to the interpreter so it appears to be working but then results in the script stopping when it tries to connect to the database with:

    PHP Fatal error: Call to undefined function mysql_connect() in /home/username/public_html/path/currency_update.php on line 25

    In fact the cron command needs to have the full path to php,

    eg.

    /usr/lib/php /home/username/public_html/path/currency_update.php

    Embarrassingly I wasted ages discovering this as I have no experience with UNIX, but a question for those of you who do have UNIX server experience: is this thing about the full path common knowledge and totally obvious to all but the newly-born/senile? I ask because my hosting support did not spot this and I was wondering if they should have.

    Regards
    Steve

  6. #56
    Join Date
    Oct 2005
    Posts
    287
    Plugin Contributions
    0

    red flag Re: Currency Update (Automatic)

    I have noticed that this mod uses the currency rate which is higher (Oanda.com) , I would like this mod to use to use XE.com as it's primary for updates, this is what the script is designed for.

    How do I get only the XE.com currency update and use the Oanda.com only as a backup .

    Does the script use the higher currency update if yes how can I change this.

  7. #57
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    I have the mod installed.

    My host provider told me to use:
    Code:
    /usr/bin/php /home/(directory)/currency_update.php
    I have the Cron job set to run every 4 hours. Does anyone have a suggestion about this?

  8. #58
    Join Date
    May 2007
    Location
    Melbourne, Australia
    Posts
    88
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi,

    Is there another way to schedule the currency_update.php file to run, besides using cron jobs. My host wants $55 to set up the cron job. Apart from the money issue I'd prefer to keep control of my web site. Depending on others to make changes for me puts me at a disadvantage.

  9. #59
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Currency Update (Automatic)

    Do the currencies your site deals with actually change that frequently with a variance that's so drastic it requires real-time updating? Most of the time it's pretty safe to update it once a week manually, according to markets and your own needs.


    And ... a hosting company that wants to charge $55 to set up a cron job ... is ripping you off. There are many hosting companies out there that let you do that yourself from within your hosting control panel for no extra charge. The Certified Hosts list at the top of this page shows a few such companies. If you are considering one of them, be sure to ask them about your specific question when doing your research before signing up.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  10. #60
    Join Date
    May 2007
    Location
    Melbourne, Australia
    Posts
    88
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by DrByte View Post
    Do the currencies your site deals with actually change that frequently with a variance that's so drastic it requires real-time updating? Most of the time it's pretty safe to update it once a week manually, according to markets and your own needs.


    And ... a hosting company that wants to charge $55 to set up a cron job ... is ripping you off. There are many hosting companies out there that let you do that yourself from within your hosting control panel for no extra charge. The Certified Hosts list at the top of this page shows a few such companies. If you are considering one of them, be sure to ask them about your specific question when doing your research before signing up.

    Hi Drbyte.

    Normally once a week would be ok, but the world is in panic mode at the moment. The Australian dollar has dropped from 85c US to around 60c in the past month and its jumping all over the place. I can manually do it once a day, but the weekends I'm away from the office.

    My host, is fairly cheap and reliable. Despite them trying to gouge me this time I'm pretty pleased with them. But having briefly researched cron jobs before hand it didn't seem right to charge $55 for what seems to be a simple matter.

 

 
Page 6 of 30 FirstFirst ... 4567816 ... 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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR