PrestaBizz Posted December 9, 2012 Share Posted December 9, 2012 (edited) Hi All After I restored the database all formatting in product descriptions has gone (bullets, bold, html ...). What is left is only plain text in one long text-string. Has anybody had this problem and found a solution to it? Edited December 24, 2012 by PrestaBizz (see edit history) Link to comment Share on other sites More sharing options...
PrestaBizz Posted December 24, 2012 Author Share Posted December 24, 2012 No input?? What I did was: 1) Backup in BO. 2) Download backup to PC. 3) Unzip backup using 7-zip. 4) Import backup to database via phpMyAdmin. Help pls!! Link to comment Share on other sites More sharing options...
PrestaBizz Posted December 24, 2012 Author Share Posted December 24, 2012 This is an issue with PS! The solution is: Change line 255 in backup.php in directory classes from: $tmp = "'".pSQL($value)."',"; to $tmp = "'".pSQL($value, true)."',"; Link to comment Share on other sites More sharing options...
antalp Posted March 21, 2013 Share Posted March 21, 2013 Hi Ctrl-Stuff I have the exact same problem. Done the restore and tried the change above but nothing, is there anything else needed to do to generate the change? My store is offline until I can fix this Link to comment Share on other sites More sharing options...
PrestaBizz Posted March 21, 2013 Author Share Posted March 21, 2013 Well, you cant regenerate if the backup was created before the fix. Backups created after the fix has been implemented will restore correctly. Link to comment Share on other sites More sharing options...
antalp Posted March 22, 2013 Share Posted March 22, 2013 Thank you. Discovered that to my cost now. I love Prestashop, shop free, modules $1500, bug fixing $5000 ongoing................. Link to comment Share on other sites More sharing options...
Recommended Posts