Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    27
    Plugin Contributions
    0

    Default Error in Currency Update via CRON confirmation email

    Hi Guys,

    Just wondering if somone coud shead a little light on why the following errors are appearing in the CRON confirmation email:

    Warning: include(/home/*** USR DIR ***/public_html/***/includes/languages/english): failed to open stream: No such file or directory in /home/***/public_html/*** ADMIN DIR ***/includes/init_includes/init_languages.php on line 38

    Warning: include(): Failed opening 'includes/languages/english/' for inclusion (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/*** USR DIR ***/public_html/*** ADMIN DIR ***/includes/init_includes/init_languages.php on line 38

    Many Thanks

    Les :)

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error in Currency Update via CRON confirmation email

    What's the complete syntax of your cron job?

    What happens when you run that same cron job yourself from the command line? (if you can)


    There are 2 things odd with what you quoted, assuming you're running currency_cron.php:
    1. it should be trying to include a .php file, not a directory name.
    2. I would have expected it to load an admin language file, not non-admin.
    Both of these suggest maybe you've got the store configured for another language, or your configure.php files may be nonstandard.
    .

    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.

  3. #3
    Join Date
    Dec 2013
    Location
    Adelaide, South Australia
    Posts
    27
    Plugin Contributions
    0

    Default Re: Error in Currency Update via CRON confirmation email

    Hi Dr Byte,

    Many thanks for your comments, sorry for the belated reply.

    Yes I am running currency_cron.php, using the following syntax.

    /usr/bin/php /home/*** USR DIR ***/public_html/*** ADMIN DIR ***/currency_cron.php

    The english.php file in both admin and catalogue are configured to:

    $locales = array('en_US', 'en_US.utf8', 'en', 'English_United States.1252');

    I checked the configure files and they are pretty basic and are from the latest distribution?

    The exchange rates are updating so this indicated the cron and currency script seem to be worrking ok.

    It's just I have the errors in the email it would be nice to know why they are happening. ;)

    Kind Regards

    Les :)

 

 

Similar Threads

  1. sql via cron
    By alexhigh in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 16 Mar 2011, 05:40 AM
  2. Order confirmation email shows ? instead of £ for currency
    By elitedon in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 25 Jan 2010, 02:36 PM
  3. Update Currency Error
    By starchang98 in forum General Questions
    Replies: 0
    Last Post: 8 Sep 2009, 09:41 PM
  4. Currency symbol on Order confirmation email!
    By hp600 in forum General Questions
    Replies: 11
    Last Post: 14 Nov 2007, 12:02 PM
  5. Automated Backup via CRON ??
    By Netsmurf in forum General Questions
    Replies: 4
    Last Post: 14 May 2007, 06:05 PM

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