Zen Cart Logo
Forums / Upgrading to 1.5.x / buttons gone shop/admin and column in admin in one language

buttons gone shop/admin and column in admin in one language

Views: 1,245

Results 1 to 8 of 8
26 Dec 2014, 1:33 AM
#1
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

buttons gone shop/admin and column in admin in one language

Was 1.5.1
Testing 1.5.3 on localhost
Used zc_install
Languages: English, Dutch, French and German

Weird thing now is that the buttons in the shop appear to be missing in Dutch. If you know where to click they work.
In the admin section:

  • many in the admin and all in the shop have only the line above the button text
  • in payment module: the whole module description column is missing

I guess it must be a symbol/typo in one of the Dutch language php files.

This picture has the better buttons, only deformed .
Attachment 14812

26 Dec 2014, 1:58 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: buttons gone shop/admin and column in admin in one language

To me looks like the image itself is a problem and that it is zc version independent. Would double check the upload of the image files and if able verify that the image files being uploaded are unaltered.

Could also be related to css not being transferred over (position of images), but the quality (or lack of in this case), is more photo dependent.

26 Dec 2014, 2:47 AM
#3
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: buttons gone shop/admin and column in admin in one language

mc12345678:

Would double check the upload of the image files and if able verify that the image files being uploaded are unaltered.

Buttons are fixed! Thanks mc12345678 for putting me in the right direction.

When I went to the folder: \includes\templates\template_default\buttons\dutch they all looked like they had been in a car crash.
I downloaded the Dutch language pack again and so there they were the same.

I took the button GIF's from the live shop which were OK.

Not solved yet:

in payment module: the whole module description column is missing.

26 Dec 2014, 4:25 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: buttons gone shop/admin and column in admin in one language

There's aa FAQ I think it is on white pages or partial white pages. Check your error logs in the logs directory after trying to access the payment modules. They should be loaded in pairs (language file and module file. If either is missing (or duplicates of the payment module code (renaming old file to still have an extension of .php) will cause things to error out.

26 Dec 2014, 4:29 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: buttons gone shop/admin and column in admin in one language

mc12345678:

There's aa FAQ I think it is on white pages or partial white pages. Check your error logs in the logs directory after trying to access the payment modules. They should be loaded in pairs (language file and module file. If either is missing (or duplicates of the payment module code (renaming old file to still have an extension of .php) will cause things to error out.
http://www.zen-cart.com/content.php?124-blank-page

26 Dec 2014, 5:07 AM
#6
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: buttons gone shop/admin and column in admin in one language

Looking at logs because of a problem with Edit orders v4.1.4 (post in the relevant topic),
I stumbled upon a log with paypal errors :blink:

[26-Dec-2014 04:17:52 Europe/Berlin] PHP Parse error:  syntax error, unexpected 'MODULE_PAYMENT_PAYPAL_PURCHASE' (T_STRING) in C:\xampp\htdocs\shop\includes\languages\dutch\modules\payment\paypal.php on line 60

Problem:

define('MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_TITLE', 'Alle items in uw winkelwagen (bekijk de details in de webshop en op uw  
define('MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_ITEMNUM', STORE_NAME . ' Bestelling');  

Fix:

define('MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_TITLE', 'Alle items in uw winkelwagen (bekijk de details in de webshop en op uw winkelbon).');
define('MODULE_PAYMENT_PAYPAL_PURCHASE_DESCRIPTION_ITEMNUM', STORE_NAME . ' Bestelling'); 

Result: the description column is back.

So both problems originated from the language pack.

Thanks everyone.

26 Dec 2014, 8:06 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: buttons gone shop/admin and column in admin in one language

Call me lazy if you wish, but I would think that these issues (and perhaps others) are addressed in the forum for that plugin if it exists. Saying lazy because I haven't gone to figure out if such a forum exists or what other errors might exist in it. Ideally the errors would be fixed by someone uploading a corrected version, but glad it works for you now. :)

And thank you Dr. Byte for filling in the gap that I left.

26 Dec 2014, 2:26 PM
#8
philibel avatar

philibel

Zen Follower

Join Date:
Mar 2008
Location:
Belgium
Posts:
120
Plugin Contributions:
3

Re: buttons gone shop/admin and column in admin in one language

Yes, afterwards seen it should have been there. My mistake. :oops:

I wrongly presumed a display (css or so) error. I also didn't check the error logs right-away, so I learn from that mistake.
The procedures from the link by DrByte I am getting a blank page (**or blank part of a page**) would have been the solution. Too much "it has to be ready yesterday" is a big part of the problem.

I contacted the contributor of the Dutch language pack so it will be in order soon.

Hopefully someone who updated and get a similar problem (with this or any other language) can benefit from this topic.

DrByte and mc12345678, thanks for patience and help.