News:

Support the VirtueMart project and become a member

Main Menu

Virtuemart Cart show code on frontend

Started by Funtshirts, June 12, 2016, 15:34:31 PM

Previous topic - Next topic

Funtshirts

Hello All,

Recently i moved to a new host, and because of that i upgraded to PHP7.
But now (at least i think thats the reason) my virtuemart cart shows code on the frontend (added screenshot)

I use the Ajax dropdown cart from CMSmart. I know u should ask them and i did, but the quiker this is fixed the better.

I hope someone can tell me the cause of this and how i can fix it.

My website is www.funtshirts.nl
I use PHP 7.0.7
Joomla 3.5.1
Virtuemart 3.0.16


jenkinhill

They are untranslated language strings,  presumably from your commercial module. Either create overrides for the strings or get a update from the CMSmart.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Funtshirts

Thank you for your quik response.

I translated the necessary parts (new screenshot added), and this worked before. But suddenly it shows like this..

GJC Web Design

why are some surrounded in quotes and others aren't?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

Hi,
replace comment
# must be ;
Remove all unneded spaces.
Quote are mandatory for each string after the = sign.

Here a valid sample:
Quote; Note : All ini files need to be saved as UTF-8
; Common boolean values
; Note: YES, NO, TRUE, FALSE are reserved words in INI format.
; Double quotes in the values have to be formatted as "_QQ_".
MY_KEY="My value"

jjk

The screenshot looks like it's taken on a  MAC.  Perhaps the language file was saved in a word processor specific format? Make sure it is saved in utf-8 format. Suitable editors for editing language files on MAC might be TextWrangler or Sublime Text.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Funtshirts

As simple as it was, GJC Web Design was right.
I swore the quotes were like that since the beginning..guess not and something changed.
If only one qoute is wrong it messes up the whole file.