Rashp Posted July 16, 2025 at 08:08 PM Share Posted July 16, 2025 at 08:08 PM Всем здравствуйте, на зарегистрированных покупателях выдает вот такую фигню - Notice: unserialize(): Error at offset 1256821 of 2097152 bytes in in/webroot/system/library/session/file.php там в принципе ничего такого нет public function read($session_id) { $file = DIR_SESSION . '/sess_' . basename($session_id); if (is_file($file)) { $filesize = filesize($file); if ($filesize > 0) { $handle = fopen($file, 'r'); flock($handle, LOCK_SH); $data = fread($handle, $filesize); flock($handle, LOCK_UN); fclose($handle); return unserialize($data); } } return array(); } ругается на return unserialize($data); подскажите пожалуйста как побороть эту хрень, потому что после этого выбрасывает из. админки, а покупатели не могут оформить заказ, похоже слетает корзина 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.