Search the Community
Showing results for tags 'unserialize'.
-
Cordial Saludo, espero que alguien pueda ayudarme. He realizado la actualización de prestashop usando el módulo de "Actualización con un Click" de prestashop, desde la versión 1.4 hasta la 1.7, arreglando todo tipo de errores posibles en cuanto a bases de datos, ya que al parecer no transforma bien los esquemas de las tablas y sino es por otros errores. Hoy quiero pedirles ayuda, para terminar mi labor de actualización, si alguien conoce como solucionar este error cuando intento ingresar a algunas opciones de configuración (ejemplo: "http://mitienda.com/adminsen/index.php/configure/shop/seo-urls/" ) : Warning: unserialize() expects parameter 1 to be string, array given Symfony\Component\Debug\Exception\ ContextErrorException in vendor\symfony\symfony\src\Symfony\Component\Security\Core\Authentication\Token\AbstractToken.php (line 155) /** * {@inheritdoc} */ public function unserialize($serialized) { list($this->user, $this->authenticated, $this->roles, $this->attributes) = unserialize($serialized); } /** * Returns the token attributes. * Parece un error de módulos o de permisos en ellos, he intentado corregirlo colocando los modulos como inactivos, el algunas ocasiones o para algunas opciones funciona en otras no. Si alguien sabe como solucionarlo le agradezco el aporte.
-
Hi i use 1.7.3 prestashop version and my php version is 7.1 by changing one word in translations in admin panel i lost it and got http error 500, i tried to active debugging and it shows this error : ContextErrorException in ClassCollectionLoader.php line 76: Notice: unserialize(): Error at offset 142 of 22712 bytes IS ANY ONE KNOW HOW TO SOLVE IT?
-
- error 500 server
- error 500
-
(and 4 more)
Tagged with:
-
Hi prestashopers. I write a module in which I save information in a complex form - serialized. The display of such information is illegible and unedited, which is why I want to display the input form. I just wanted to insert a value: public function renderForm() { $ unserializedArray = unserialize (AdParameters :: getParametersValue (Tools :: getValue ('id_ad_parameters'))); $ Result = ''; foreach ($ unserializedArray as $ key => $ row) { foreach ($ row as $ element) { $ Result. = '['. $ Element. ']'; } if (isset ($ unserializedArray [$ key + 1])) $ MyValue. = "\ R \ n"; } $ helper-> fields_value ['parameters_value'] = $ MyValue; ................ Form return parent::renderForm(); } AdParameters :: getParametersValue() is function quering DB When I list MyValue everythink is ok but in my list is not ok. However, it does not change the value. I need to replace it in the table and when editing in the form. Can anyone help me with this? Please. if you need a broader explanation, let me know, I'll send them.
-
- helperlist
- backoffice
- (and 10 more)
-
Hello, I have enabled debug in defines.inc.php and in header I have errors like : Error: Please check your configuration Notice: unserialize() [function.unserialize]: Error at offset 8191 of 8192 bytes in /home/elect873/public_html/classes/cache/CacheFs.php on line 40 ok Strict Standards: Declaration of Dispatcher::loadRoutes() should be compatible with that of DispatcherCore::loadRoutes() in /home/elect873/public_html/override/classes/Dispatcher.php on line 16 Warning: Cannot modify header information - headers already sent by (output started at /home/elect873/public_html/override/classes/Dispatcher.php:16) in /home/elect873/public_html/classes/Tools.php on line 141 Fatal error: Cannot redeclare pSQL() (previously declared in /home/elect873/public_html/config/alias.php:59) in /home/elect873/public_html/classes/Db.php on line 320 In log folder I have this file: 20140708_exception.log In this file I have: *ERROR* 2014/07/08 - 10:07:15: Table 'elect873_149.ps_prestafraud_carts' doesn't exist<br /><br /><pre> SELECT `id_cart` FROM ps_prestafraud_carts WHERE id_cart = 12582 LIMIT 1</pre> at line 613 in file classes/db/Db.php *ERROR* 2014/07/08 - 10:22:15: Table 'elect873_149.ps_prestafraud_carts' doesn't exist<br /><br /><pre> SELECT `id_cart` FROM ps_prestafraud_carts WHERE id_cart = 12583 LIMIT 1</pre> at line 613 in file classes/db/Db.php *ERROR* 2014/07/08 - 10:37:24: Table 'elect873_149.ps_prestafraud_carts' doesn't exist<br /><br /><pre> SELECT `id_cart` FROM ps_prestafraud_carts WHERE id_cart = 12584 LIMIT 1</pre> at line 613 in file classes/db/Db.php it also appears when I try to send a test email in Advanced Parameters > Email Anyone have idea how I can fix this? Thank you. PS version is 1.5.6.2
- 2 replies
-
- error
- unserialize
-
(and 1 more)
Tagged with: