Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 298

Hybrid View

  1. #1
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    55
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi Again, i am having trouble as im not to educated in php code. getting the Define line17 set out right
    I have this /var/www/html/shop-adons/automated_currency_update_v3_1/currency_update.php

    If anyone could help i have read the forum over a few times now.
    Help would be awesome thaks in advance

  2. #2
    Join Date
    Dec 2008
    Location
    Australia
    Posts
    55
    Plugin Contributions
    0

    red flag Re: Currency Update (Automatic)

    I hope this post is still running, It would be nice if someone spare a moment
    this is from my host
    Do you support crontab for scheduled tasks?
    No, we don't currently support cron or any other type of task scheduling. We have had members ask for this, and we will try to implement the support in a future hosting version.
    As a possible alternative for in the meantime, you could use a crontab service from a different company to 'trigger' your script hosted on Bravenet at predefined intervals.

    I would pay to have this done If anyone?
    Please help

  3. #3

    Default Re: Currency Update (Automatic)

    Nice add-on! I used this on my local testing PC, it works fine and do update the exchange rate. But I found the value is much different from the result I got using the zen-cart built-in function. Who knows Why?

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

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by ShoesBuyOnline View Post
    I found the value is much different from the result I got using the zen-cart built-in function. Who knows Why?
    The answer can be found earlier in this thread. The built in service was written prior to the service providers changing their terms of business to forbid the screen-scrapping of real-time data that was common at the time. Nowadays you have to buy the service if you want to use it this way.

    As a result the current version of the mod uses a different source (official European Central Bank rates, updated once a day). Zen Cart 2.0 will also use this legitimate source.
    Kuroi Web Design and Development | Twitter

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

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

    Default Re: Currency Update (Automatic)

    Quote Originally Posted by Vortex12 View Post
    I hope this post is still running, It would be nice if someone spare a moment
    this is from my host
    Do you support crontab for scheduled tasks?
    No, we don't currently support cron or any other type of task scheduling. We have had members ask for this, and we will try to implement the support in a future hosting version.
    As a possible alternative for in the meantime, you could use a crontab service from a different company to 'trigger' your script hosted on Bravenet at predefined intervals.

    I would pay to have this done If anyone?
    Please help
    Rather than paying somebody to do this for you (though it's really quite straightforward - just put the script in your site's root directory and ask the service to make a call to it once a day), I'd recommend spending your money on a host with a full range of services. You shouldn't need to pay somebody else to set up another paid service just because your web host doesn't offer a fairly basic facility.
    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
    Feb 2010
    Location
    Brisbane Australia
    Posts
    10
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    I am new to this and have not had any problems setting up anything else with zencart until now.

    I am loosing my mind with this. I have been at it for hours just to make sure i have read all the posts and not missed something.

    The error I am getting when I try to access the "currency_update_curled.php file" using my browser just to see if it works is:

    Warning: require_once(/home/[username]/public_html/imnaughty.net/includes/cinfigure.php) [function.require-once]: failed to open stream: No suchfile or directory in /home/dirtysic/public_html/imnaughty.net/currency_update_curled.php on line 20

    Fatal error:require_once() [function.require-once]: Failed opeding required '/home/dcm2hdf/public_html/imnaughty.net/includes/configure.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/dirtysic/public_html/imnaughty.net/currency_update_curled.php on line 20


    I have tried every variation i can think of. The "currency_update_curled.php file" is in the root directory. I have setup the cron job to be:
    curl imnaughty.net/currency_update.php

    as mentioned in a post about curled (cpanel)

    I am unsure about the [username] also, is it your zencart usename or your username to login to cpanel or your username to login to your hosting???

    Sorry if this is silly but i truely have read all 18 pages and cannot figure it out.

  7. #7
    Join Date
    Aug 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    If you read the part you posted it says No suchfile or directory and failed to open file.

    You need to play around with the part of script which mentions location.

    Depending on your webhost the method you use may differ. See previous posts here for suggestions others have used

  8. #8
    Join Date
    Feb 2010
    Location
    Brisbane Australia
    Posts
    10
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Hi Whitt,

    Thanks for your comment. I understand that the location is the problem but I just can not figure it out. I have tried sooo many variations and literally read every post in the now 19 pages but can not get the right location.

    I think it has maybe to do with the username,
    When it says [username] - what username does it mean?

  9. #9
    Join Date
    Aug 2008
    Posts
    29
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    i use curled version and

    '/var/www/vhosts/mywebsite.com/httpdocs/'

  10. #10
    Join Date
    Feb 2010
    Location
    Brisbane Australia
    Posts
    10
    Plugin Contributions
    0

    Default Re: Currency Update (Automatic)

    Re: Currency Update (Automatic)

    --------------------------------------------------------------------------------
    i use curled version and

    '/var/www/vhosts/mywebsite.com/httpdocs/'

    Thank you for being so patient and taking to to assist.
    I am trying everything i can think of and will try what you have above. In your example what does the "var" represent and the "vhost"????

    not sure if this helps but my domain name is in my hosting account as an addon domain although the "currency etc" file is in the root directory for that domain name which is also the root directory for the zen-cart

    Also just to clarify, the cron job detail should not affect me at this point of just using my browser to test if the file work - correct?
    Last edited by imnaughty; 12 Feb 2010 at 02:38 AM.

 

 
Page 2 of 4 FirstFirst 1234 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