Page 2 of 2 FirstFirst 12
Results 11 to 20 of 39

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by Nandor View Post
    the result : this error only occurs in hungarian language shopping and
    whats more weird only in case of one category : pendants. Other categories like : rings, personalized, bangles...work well with all three languages!
    Well, that's really narrowed it down. A LOT.

    At a guess, I'd have to say this is being caused by some sort of character encoding issue.. In other words, there is *something* in the hungarian language file(s) that is only being invoked by the pendants category (what makes that so 'special'?).

    I think the way *I'd* be approaching this one would be
    1) Make a backup of the hungarian language files.
    2) Replace the originals, one at a time with the English (or german) files of the same name.
    3) When the problem goes away you'll have identified the file causing the problem.
    4) Restore all the original hungarian files from the backups.

    5. Attempt to identify exactly what is amiss with the file you've identified. The fix will depend on the actual problem (obviously).

    Hopefully this helps.

    Cheers
    Rod

  2. #2
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by RodG View Post
    Well, that's really narrowed it down. A LOT.

    At a guess, I'd have to say this is being caused by some sort of character encoding issue.. In other words, there is *something* in the hungarian language file(s) that is only being invoked by the pendants category (what makes that so 'special'?).

    I think the way *I'd* be approaching this one would be
    1) Make a backup of the hungarian language files.
    2) Replace the originals, one at a time with the English (or german) files of the same name.
    3) When the problem goes away you'll have identified the file causing the problem.
    4) Restore all the original hungarian files from the backups.

    5. Attempt to identify exactly what is amiss with the file you've identified. The fix will depend on the actual problem (obviously).

    Hopefully this helps.

    Cheers
    Rod
    Did you mean the language file php-s? there are a lot. or should i look for them in admin?
    if i replace the one hungarian l. file with an english wont it crash or something?

    thanks
    Nandor

  3. #3
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by Nandor View Post
    Did you mean the language file php-s? there are a lot.
    Yes, thems the ones I meant. Yes, there are a lot.
    Start with the 'obvious' or most likely ones first, namely, those dealing with the PayPal payments.

    Quote Originally Posted by Nandor View Post
    if i replace the one hungarian l. file with an english wont it crash or something?
    No. It will simply display those particular pages in English rather than hungarian.

    If you take a look at the contents of these files, you'll see that they are actually very simple in the way they are structured. They don't contain any actual code (or very little), just a lot of 'defines'.

    These 'defines' will be near identical (other than the actual text component) regardless of the language.

    For example: /languages/english/modules/payment/paypal.php contains:
    ---------------------------------------------------------
    define('MODULE_PAYMENT_PAYPAL_ENTRY_FIRST_NAME', 'First Name:');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_LAST_NAME', 'Last Name:');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_BUSINESS_NAME', 'Business Name:');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_NAME', 'Address Name:');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_STREET', 'Address Street:');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_CITY', 'Address City:');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_STATE', 'Address State:');
    ------------------------------------------------------------------------

    /languages/hungarian/modules/payment/paypal.php will contain:

    define('MODULE_PAYMENT_PAYPAL_ENTRY_FIRST_NAME', 'First Name (in hungarian) :');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_LAST_NAME', 'Last Name (in hungarian):');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_BUSINESS_NAME', 'Business Name (in hungarian):');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_NAME', 'Address Name (in hungarian):');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_STREET', 'Address Street (in hungarian):');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_CITY', 'Address City (in hungarian):');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_ADDRESS_STATE', 'Address State (in hungarian:');

    --------------------------------------------------------------------------------------

    /languages/binary/modules/payment/paypal.php (should such a language file exist) will contain:

    define('MODULE_PAYMENT_PAYPAL_ENTRY_FIRST_NAME', '00010011000111000');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_LAST_NAME', '11000100011110000');
    define('MODULE_PAYMENT_PAYPAL_ENTRY_BUSINESS_NAME', '101010111100000');

    Note that in all cases, there is the 'english' component (in all upper case). These are a bit like 'placeholders' that is used throughout the zencart code, and then there is the actual text to be used whenever these 'placeholders' are found. If/when you replace the /hungarian/..../paypal.php file with the /english/.../paypal.php file the only difference is the text. Does that make sense?

    I am working on the *assumption* that it is one of these hungarian language files that is causing your problem.

    Cheers
    Rod

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: (10401) order error with one language, other two works fine

    There were a number of PayPal issues fixed between 1.3.9e and 1.3.9h. It would be really helpful if you would upgrade your site to 1.3.9h
    .

    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.

  5. #5
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by DrByte View Post
    There were a number of PayPal issues fixed between 1.3.9e and 1.3.9h. It would be really helpful if you would upgrade your site to 1.3.9h
    Do you have some forum topics about this upgrading?

    thanks

    Nandor

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: (10401) order error with one language, other two works fine

    Do you have some forum topics about this upgrading?
    Between 1.3.9e and 1.3.9h there are just updated files
    In the docs there is a changed file log you can review
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by kobra View Post
    Between 1.3.9e and 1.3.9h there are just updated files
    In the docs there is a changed file log you can review

    The are files till : 1.3.9e

    like :

    changelog-v1-3-9e.html
    whatsnew_1.3.9e.html

    So there "e" is the highest.

    thanks

    Nandor

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: (10401) order error with one language, other two works fine

    It was all documented and posted on the forum back when those releases were published several years ago. And the information is also in the /docs/ folder of each release.

    Summary:
    -download 1.3.9h, unzip
    -read the /docs/changed_files_for_139f.html and copy those files over to your site
    -read the /docs/changed_files_for_139g.html and copy those files over to your site
    -read the /docs/changed_files_for_139h.html and copy those files over to your site
    Of course, every time you replace a file, if you've made any changes to that file (or any addons you're using have changed that file), then you'll need to manually re-merge your changes into that file.
    .

    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.

  9. #9
    Join Date
    Sep 2012
    Posts
    104
    Plugin Contributions
    0

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by DrByte View Post
    It was all documented and posted on the forum back when those releases were published several years ago. And the information is also in the /docs/ folder of each release.

    Summary:
    -download 1.3.9h, unzip
    -read the /docs/changed_files_for_139f.html and copy those files over to your site
    -read the /docs/changed_files_for_139g.html and copy those files over to your site
    -read the /docs/changed_files_for_139h.html and copy those files over to your site
    Of course, every time you replace a file, if you've made any changes to that file (or any addons you're using have changed that file), then you'll need to manually re-merge your changes into that file.
    honestly i dont find from where to download this....
    thanks
    Nandor

  10. #10
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: (10401) order error with one language, other two works fine

    Quote Originally Posted by Nandor View Post
    honestly i dont find from where to download this....
    There's a download link on the home page of www.zen-cart.com: http://sourceforge.net/projects/zencart/files/
    .

    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h With one language the homepage loads partially. Other languages are fine. How to fix?
    By ilmarchez in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2014, 09:37 PM
  2. v151 CSS buttons works in one language and not other?
    By McLovin in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 7 Feb 2014, 09:13 AM
  3. two stores - one paypal account - works fine BUT
    By josefine in forum PayPal Website Payments Pro support
    Replies: 9
    Last Post: 23 Jul 2009, 12:00 PM
  4. White space below Header in IE only--works fine in other browsers
    By avantik in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jun 2009, 12:44 PM
  5. CSS buttons works in one language and not other?
    By edgecrusher in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Feb 2007, 06:02 PM

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