Forums / Built-in Shipping and Payment Modules / Checkout Success Parse Error, on the Japanese side...

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

Locked

Views: 1,322

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Aug 2006, 4:16 AM
#1
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

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...

14 Aug 2006, 5:10 AM
#2
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

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.

14 Aug 2006, 6:29 AM
#3
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

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...

14 Aug 2006, 6:52 AM
#4
peace_freak avatar

peace_freak

Zen Follower

Join Date:
Apr 2006
Posts:
354
Plugin Contributions:
0

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?'???????????????????????????');

16 Aug 2006, 2:57 PM
#5
reesy avatar

reesy

Totally Zenned

Join Date:
Mar 2005
Posts:
535
Plugin Contributions:
3

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

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