Warning: include_once(social.png): failed to open stream: No such file or directory in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 35

Warning: include_once(): Failed opening 'social.png' for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 35

Warning: include_once(social0.png): failed to open stream: No such file or directory in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 39

Warning: include_once(): Failed opening 'social0.png' for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 39

Warning: include_once(social1.png): failed to open stream: No such file or directory in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 43

Warning: include_once(): Failed opening 'social1.png' for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 43

Warning: include_once(social2.png): failed to open stream: No such file or directory in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 47

Warning: include_once(): Failed opening 'social2.png' for inclusion (include_path='.:/opt/alt/php70/usr/share/pear') in /home/symfonyl/public_html/wp-content/themes/sodelicious2_green/functions.php on line 47
symfony gurus | SymfonyLab
Apr 27
Digg
Stumbleupon
Technorati
Delicious

Symfony and serialization

Interesting problem with data unserialization in symfony. So if you have stored serialized value in database and want to unserialize it (lets say it’s $obj->getText() value), you need to make sure you use special chars decode like here: $value = htmlspecialchars_decode($obj->getText()); $data = unserialize($value);$value = htmlspecialchars_decode($obj->getText()); $data = unserialize($value); Without actual htmlspecialchars_decode command PHP compiler […]

Author: symfonian