Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Checkout Success Parse Error, on the Japanese side...

    My cart is localized for English and Japanese...

    We have been having some problems with the last stage of our PayPal checkout process, so we decided to buy some products ourselves and try and resolve them.

    One new problem that cropped up, that none of our customers mentioned, so we don’t really know if it happening every time or just the one time we tried, was we got the following error, after placing an order on the Japanese side:

    Parse error: parse error, unexpected ')' in /home/globalpe/public_html/store/includes/languages/japanese/checkout_success.php on line 23

    Here are the two sections of PHP from both the J and E sides on line 23:

    Japanese:
    define('FOOTER_DOWNLOAD', '?'%s?'???????????????????????????');

    English:
    define('FOOTER_DOWNLOAD', 'You can also download your products at a later time at \'%s\'');

    As I do not know about PHP at all, could someone give me their considered opinion on this little quirk?

    Thanks in advance...

  2. #2
    Join Date
    Mar 2005
    Posts
    561
    Plugin Contributions
    4

    Default Re: Checkout Success Parse Error, on the Japanese side...

    First step, install the Japanese language fonts so you can post what that line says instead of a load of question marks. Either that or if you do see a load of question marks the encoding of that file is not right.

    I wouldnt worry about Paypal for Japan anyway, its next to useless.
    The only people that use it are the foreigners living in Japan (a few hundred thousand), which wouldnt need to check out with a Japanese language anyway. For your average Japanese person who cant read English its a non starter, plus very very very few people know what Paypal is in Japan anyway or would trust it.

  3. #3
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Re: Checkout Success Parse Error, on the Japanese side...

    Whoops... Didn¡Çt notice that the Japanese had turned into question marks. Have set my browser to Japanese so hopefully they should show correctly this time....

    Here are the two lines again...

    Japanese
    define('FOOTER_DOWNLOAD', '?'%s?'¤³¤Á¤é¤«¤é¡¢¸å¤Ç¾¦Éʤò¥À¥¦¥ó¥í¡¼¥É¤¹¤ë¤³¤È¤â¤Ç¤*¤Þ¤¹¡£');

    English

    define('FOOTER_DOWNLOAD', 'You can also download your products at a later time at ?'%s?'');

    Thanks for any ideas on this...
    Last edited by Peace Freak; 14 Aug 2006 at 07:34 AM.

  4. #4
    Join Date
    Apr 2006
    Posts
    359
    Plugin Contributions
    0

    Default Re: Checkout Success Parse Error, on the Japanese side...

    Cannot get it to show up correctly so here is a graphic of it!

    define('FOOTER_DOWNLOAD', '?'%s?'???????????????????????????');
    Attached Images Attached Images  

  5. #5
    Join Date
    Mar 2005
    Posts
    561
    Plugin Contributions
    4

    Default Re: Checkout Success Parse Error, on the Japanese side...

    Looks to be corrupt a little?
    Try downloading the file and trying again.

 

 

Similar Threads

  1. Replies: 6
    Last Post: 11 Jan 2013, 12:51 PM
  2. Error Checkout Success
    By Renz in forum General Questions
    Replies: 0
    Last Post: 25 Aug 2010, 04:23 AM
  3. Checkout Success - Server Error 500
    By mizliz in forum General Questions
    Replies: 1
    Last Post: 6 Jul 2010, 02:42 AM
  4. Checkout Parse Error
    By godspeed27 in forum Managing Customers and Orders
    Replies: 2
    Last Post: 3 Jul 2006, 04:26 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