Results 1 to 10 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
    I just saw that the error emails subject is :MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT (10401)

    So i replaced the hungarian paypalwpp.php with the english.The problem is still the same.
    When you say 'still the same', do you mean that the email is still showing : MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT?

    If YES, then it means your changes to the hungarian paypalwpp.php haven't taken effect.

    This file contains a line that reads (in English)
    define('MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT', 'ALERT: PayPal Express Checkout Error');

    If/when working 'correctly' (and assuming an error is still present), the error emails subject would/should be reading 'ALERT: PayPal Express Checkout Error'

    Quote Originally Posted by Nandor View Post
    One thing changed. in hungarian a paypal button appeared, when shopping but as previously you cannot buy pendant in hungarian.
    thought i finally found it......not
    It looks to me like your on the right track. If you can figure out WHY the "MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT" isn't being replaced by its defined value 'ALERT: PayPal Express Checkout Error' (or the hungarian equivalent) you'll probably have the problem licked..

    Important: It probably *won't* be this particular 'define' that is causing the actual problem, this is just another clue that is telling me that the fault is probably in this *file* though (the hungarian paypalwpp.php).

    Getting closer by the minute. ;)

    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
    When you say 'still the same', do you mean that the email is still showing : MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT?

    If YES, then it means your changes to the hungarian paypalwpp.php haven't taken effect.

    This file contains a line that reads (in English)
    define('MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT', 'ALERT: PayPal Express Checkout Error');

    If/when working 'correctly' (and assuming an error is still present), the error emails subject would/should be reading 'ALERT: PayPal Express Checkout Error'



    It looks to me like your on the right track. If you can figure out WHY the "MODULE_PAYMENT_PAYPALWPP_TEXT_EMAIL_ERROR_SUBJECT" isn't being replaced by its defined value 'ALERT: PayPal Express Checkout Error' (or the hungarian equivalent) you'll probably have the problem licked..

    Important: It probably *won't* be this particular 'define' that is causing the actual problem, this is just another clue that is telling me that the fault is probably in this *file* though (the hungarian paypalwpp.php).

    Getting closer by the minute. ;)

    Cheers
    Rod
    Hi Rod!

    till now i replaced the following:

    paypal wpp.php
    paypal.php
    paypaldp.php

    define checkout success.php

    checkout confirmation.php
    checkout payment.php
    checkout payment address.php
    checkout process.php
    checkout shipping.php
    checkout shipping address.php
    checkout success.php


    After these nothing was solved. Still cant shop pendants in hungarian. still can shop everything else in all languages.
    Then i stood up for a waking coffee.
    Then i (before continuing the replacement process) i uploaded a new item to the problematic(pendants) category/subcategory and this new product
    can be bought in hungarian, but the others in the same category not.

    How do we proceed in your opinion?

    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

    Then i (before continuing the replacement process) i uploaded a new item to the problematic(pendants) category/subcategory and this new product
    can be bought in hungarian, but the others in the same category not.

    How do we proceed in your opinion?
    I'm unable to tell you the best way to proceed, because I've not much experience with foreign language / character set issues.

    HOWEVER, I have discovered the actual problem. Actually, it was you that has discovered it with this latest observation, which has confirmed my earlier suspicion that it it is a character encoding issue.

    The 'Category' is a 'red herring'. It doesn't have anything to do with the problem. The actual cause being related to the *existing products* in this category

    This observation also suggests that looking for the fault in the language files themselves probably isn't going to help. That isn't where the problem is. You can/should revert the files back to the original hungarian.

    Now we know what the problem *isn't*, we can concentrate more on what it *is*.
    At some time or other you've managed to create a mismatch with your character sets. The original entries were made with one type of character encoding, and the new addition has been added/created with another.

    This is evident if you look at the description of your newly added product (hungarian) and you'll see a couple of characters that look like "�". This is telling me that something isn't being decoded correctly. None of the original entries appear to have this problem, which suggests the encoding has been been changed at some stage.

    Thinking about this logically, I would be expecting those original entries (without the apparent encoding issue) would be OK, and that it would be the new entry (with the "�" that *should* be having the problem. I have no explanation as why you are getting the effect opposite to what I'd expect, but nonetheless, that does appear to be the case.

    So, whats the best way to go from here? Firstly, I'd wait a day or so to see if anyone else picks up on this thread and can offer step-by-step guidance.

    If this isn't forthcoming, firstly you should read this:
    http://www.zen-cart.com/content.php?...8859-1-to-utf8

    Also read whatever else you can find on this subject (UTF8 vs iso-xxxx encodings) to ensure that you will be using the correct encoding for the hungarian language, which hopefully isn't going to cause you problems with the English & German languages. To do this correctly you'll need up update your SQL database tables (probably) as well as the 'defines' for the DB set in your configure.php files (and possibly elsewhere). You may only need to update one or the other. As I say, my experience here is really lacking, which is why I'm hoping someone with more experience will be of better help.

    Anyway, after you've fixed this character set/encoding mismatch/problem, and since you don't have all that many products in your store anyway, rather than try to 'convert' the existing product data to bring everything back to the same/common format, it may be quicker and easier to just delete the products and re-enter them. Again, someone with more experience may be able to offer a better/easier/quicker solution

    Cheers
    Rod

  4. #4
    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
    I'm unable to tell you the best way to proceed, because I've not much experience with foreign language / character set issues.

    HOWEVER, I have discovered the actual problem. Actually, it was you that has discovered it with this latest observation, which has confirmed my earlier suspicion that it it is a character encoding issue.

    The 'Category' is a 'red herring'. It doesn't have anything to do with the problem. The actual cause being related to the *existing products* in this category

    This observation also suggests that looking for the fault in the language files themselves probably isn't going to help. That isn't where the problem is. You can/should revert the files back to the original hungarian.

    Now we know what the problem *isn't*, we can concentrate more on what it *is*.
    At some time or other you've managed to create a mismatch with your character sets. The original entries were made with one type of character encoding, and the new addition has been added/created with another.

    This is evident if you look at the description of your newly added product (hungarian) and you'll see a couple of characters that look like "�". This is telling me that something isn't being decoded correctly. None of the original entries appear to have this problem, which suggests the encoding has been been changed at some stage.

    Thinking about this logically, I would be expecting those original entries (without the apparent encoding issue) would be OK, and that it would be the new entry (with the "�" that *should* be having the problem. I have no explanation as why you are getting the effect opposite to what I'd expect, but nonetheless, that does appear to be the case.

    So, whats the best way to go from here? Firstly, I'd wait a day or so to see if anyone else picks up on this thread and can offer step-by-step guidance.

    If this isn't forthcoming, firstly you should read this:
    http://www.zen-cart.com/content.php?...8859-1-to-utf8

    Also read whatever else you can find on this subject (UTF8 vs iso-xxxx encodings) to ensure that you will be using the correct encoding for the hungarian language, which hopefully isn't going to cause you problems with the English & German languages. To do this correctly you'll need up update your SQL database tables (probably) as well as the 'defines' for the DB set in your configure.php files (and possibly elsewhere). You may only need to update one or the other. As I say, my experience here is really lacking, which is why I'm hoping someone with more experience will be of better help.

    Anyway, after you've fixed this character set/encoding mismatch/problem, and since you don't have all that many products in your store anyway, rather than try to 'convert' the existing product data to bring everything back to the same/common format, it may be quicker and easier to just delete the products and re-enter them. Again, someone with more experience may be able to offer a better/easier/quicker solution

    Cheers
    Rod
    Hi Rod,

    unfortunately i havent got any replies since last week.
    Havent figured out either how to solve the issue.
    I have decided to enable cod payment method in Hungary, it is more popular here (domestic orders) anyway. Paypal express stays for every other language, but hungarian.
    Maybe will be able to solve this in some time!
    Thanks a lot for your support!

    Nandor

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    Is the problem only when the price is greater than 999.99 ?
    .

    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.

  6. #6
    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
    Is the problem only when the price is greater than 999.99 ?

    No, i tried it with many prices If thats what you mean. the currency is in euro and huf. There is as trial 1 euro, 5.49 euro.....

    thanks

    Nandor

  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 Nandor View Post
    No, i tried it with many prices If thats what you mean. the currency is in euro and huf. There is as trial 1 euro, 5.49 euro.....

    thanks

    Nandor



    Me again.

    i just realized that paypal button doesnt appear in hungarian. Can be seen at german,english language.
    Could this be an issue?

    Nandor

 

 

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