News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Extra back slashes \ in product not found message.

Started by jenkinhill, October 14, 2007, 21:36:28 PM

Previous topic - Next topic

jenkinhill

In some places there are stray backslashes appearing before ' - such as Customer\'s note in Customer's order information.

The problem is in english.php where the variable is shown as Cusomer\\\'s note. Is this just in my install or do the extra slashes appear in others?

Database Version: 4.1.20
PHP Version: 4.4.2
Web Server: Apache
VirtueMart 1.1: Ver. 998 13 October
Joomla! Version: Joomla! 1.0.13 Stable [ Sunglow ]
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

aravot

Joomla 1.0.13
VirtueMart 1.1 r1018

There are extra back slashes in product not found message.

QuoteError: Sorry, but the Product you\'ve requested wasn\'t found!

English is not my first, second or even third language but I think the correct grammar should be

QuoteSorry, the product you've requested was not found!

However I could be wrong.
[url=http://www.virtuemart-extensions.com/]Product Comparison for VirtueMart[/url]
[url=http://www.virtuemart-extensions.com/]Pre-order[/url]
[url=http://www.virtuemart-extensions.com/]Badges[/url]
[url=http://www.virtuemart-extensions.com/]Advance Review for VirtueMart[/url]
[url=http://www.virtuemart-extensions.com/]Auto Update Price for VirtueMart[/url]
[url=http://www.virtuemart-extensions.com/]Single Page Checkout for VirtueMart[/url]
[url=http://www.virtuemart-extensions.com/]reCaptcha for VirtueMart[/url]

jenkinhill

#2
Yes, there are extra backslashes for all variables where an apostrophe needs to be escaped in english.php

Quotevar $_PHPSHOP_DOWNLOADS_INFO = 'Please enter the Download-ID you\\\'ve got in the e-mail and click \\\'Start Download\\\'.';
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

Quick Reply

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:
7x3:
Shortcuts: ALT+S post or ALT+P preview