Greek Geek Goddess Posted June 12, 2012 Share Posted June 12, 2012 Under Employees > Contacts you have an option to edit the pre-defined message. I edited it and now everywhere a space is rm shows up. Example: Dear Customer,rnrnRegards,rnExploration Place Supposed to be: Dear Customer, Regards, Exploration Place Any suggestions? I'd be up for editing the file directly in dreamweaver if you know which file has this information. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 12, 2012 Share Posted June 12, 2012 Hi Greek Geek Goddess, What version of PrestaShop are you using? There was a bug reported for this issue which has since been fixed. -Mike Link to comment Share on other sites More sharing options...
Greek Geek Goddess Posted June 13, 2012 Author Share Posted June 13, 2012 Version 1.4.7.0 Link to comment Share on other sites More sharing options...
berta recchia Posted June 13, 2012 Share Posted June 13, 2012 Same here. Running 1.4.7.0. Can the bug be fixed without updating to a newer version? Running a VERY custom theme here ! Every version update costs us $1k ! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 14, 2012 Share Posted June 14, 2012 Hi Greek Geek Goddess and berta recchia, In line 1705 of your classes/AdminTab.php, please replace what you currently have there with the following: <textarea rows="'.(int)($field['rows']).'" cols="'.(int)($field['cols']).'" name="'.$key.'_'.$language['id_lang'].'">'.str_replace('\r\n', "\n", $val).'</textarea> Please let me know if that works any better for you. -Mike Link to comment Share on other sites More sharing options...
Greek Geek Goddess Posted June 15, 2012 Author Share Posted June 15, 2012 That's the exact code that is there. I replaced it anyway and nothing happened. I tried playing with that line of code, but couldn't make it work. Still stumped Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 15, 2012 Share Posted June 15, 2012 Can you please attach your classes/AdminTab.php file here? I've got a developer willing to look into this a little further for you. -Mike Link to comment Share on other sites More sharing options...
Greek Geek Goddess Posted June 19, 2012 Author Share Posted June 19, 2012 Sorry for the delayed response - couldn't figure out how to attach the file. Thanks for looking into this for me! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 19, 2012 Share Posted June 19, 2012 Sorry for the delayed response - couldn't figure out how to attach the file. Thanks for looking into this for me! I will pass this along to him as soon as he figures out how to change his tire . -Mike 1 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 19, 2012 Share Posted June 19, 2012 Hi Greek Geek Goddess, He took a look at this for you, but the file looks fine. Can you please check what encoding you are using in your database via phpMyAdmin? -Mike Link to comment Share on other sites More sharing options...
Greek Geek Goddess Posted June 19, 2012 Author Share Posted June 19, 2012 MySQL charset: UTF-8 Unicode (utf8) Please tell him Thank You btw. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 19, 2012 Share Posted June 19, 2012 Hi Greek Geek Goddess, Our developer would like to look into this further for you. I will PM you with details on where to send your Back Office login credentials. -Mike 1 Link to comment Share on other sites More sharing options...
Greek Geek Goddess Posted June 20, 2012 Author Share Posted June 20, 2012 Thanks to a genius developer the problem has been solved! In config/defines.inc.php in Line 104, can you replace get_magic_quotes_gps() to false: if (!defined('_PS_MAGIC_QUOTES_ GPC_')) define('_PS_MAGIC_QUOTES_GPC_', false); You guys are awesome!!! Thanks so much Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 20, 2012 Share Posted June 20, 2012 Great, I'm glad we were able to help you resolve this! I'll go ahead and mark this thread as solved for you, but berta, please let us know if this works for you as well! Happy selling! -Mike Link to comment Share on other sites More sharing options...
Recommended Posts