interkob2013-01-12 12:20 | After I changed few product names in en_products.php, all website content has gone :O After undo no results too. That shouldn't happen. So you should let the people know, how to get it work again. » Quick.Cart v6.x |
boboo2013-01-12 12:35 | You have changed directly in the database file? www.kimla.de |
interkob2013-01-12 12:44 | If I need to change the same word in many places, I go to database and replace it in bulk. Now I need to find a way how to restore all that. |
boboo2013-01-12 13:04 | As you maybe have seen, the structure of a serialized array is very simple, but not resistant against handmade changes.
s:5:"sName";
s:3091:"<p>Sed imperdiet placerat quam. Pellentesque ut ipsum. Nulla elementum, nisl in pellentesque condimentum, ligula nisi nonummy augue, sit amet ornare tellus libero sed risus. Nam elementum, arcu sit amet fermentum ultrices, tortor est feugiat leo, sit amet aliquet velit massa at massa. Proin molestie eleifend diam. In tempor. Suspendisse mauris enim, semper feugiat, auctor placerat, sodales eu, felis. Sed rutrum, nunc vel aliquam placerat,...
www.kimla.de |
interkob2013-01-12 13:13 | I noticed this. Now I need to play a little. Thanks for advice. |
interkob2013-01-12 13:38 | All is ok with the content, but still doesn't work. I tested with another one. When I use Encoding without BOM, than is ok. But in regular mode it stops working without any mistakes inside. |
boboo2013-01-12 14:06 | Look into the function getData() in /core/libraries/flat-files.php
$aData = unserialize( file_get_contents( $sFileName, null, null, 15 ) );
<?php exit; ?> = 14 chars
www.kimla.de |
interkob2013-01-12 14:13 | I got it work again. Only some data were lost. Thanks. |
boboo2013-01-12 14:15 | In case of BOM you will get a char before this <?php exit... www.kimla.de |