WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Bakery Shop => Topic started by: N1kko on September 06, 2014, 05:42:59 PM

Title: Apostrophe error in address
Post by: N1kko on September 06, 2014, 05:42:59 PM
apostrophe throws error in shipping address. Is there a way around this?
Thanks
Title: Re: Apostrophe error in address
Post by: Gast on September 06, 2014, 10:25:19 PM
Vers 1.70?
if yes, try to change

Code: [Select]
<?php
// Get some default values
require_once('config.php');
?>

with
Code: [Select]
<?php
// Get some default values
require_once(WB_PATH.'/modules/bakery/config.php');
?>

in this files
modify_item.php
modify_general_sett ings.php
save_item.php
save_form.php
view_item.php
view_cart.php
Title: Re: Apostrophe error in address
Post by: N1kko on September 06, 2014, 11:06:08 PM
Thanks jacobi22,

Yes it's V1.70 I have changed in all files but still getting the same error.
Title: Re: Apostrophe error in address
Post by: Gast on September 07, 2014, 10:49:01 AM
Thanks jacobi22,

Yes it's V1.70 I have changed in all files but still getting the same error.

these are the bakery special chars (defined in modules/bakery/config.php)
ÁÀÂÃÄÅáàâãäåÆæÇçČčÐðÉÈÊËéèêëÍÌÎÏíìîïÑñÓÒÔÕÖØóòôõöøŒœÞþÚÙÛÜúùûüŠšßÝŸýÿŽž°
Feel free to add more chars there in utf8

if your "problem char" a part of this, try to deactivate Filter Email addresses in mailto links:  or Filter Email addresses in text: in Admin Tools -> Frontend Output Filter