Hi,
I recently enable cache on my website.
/config/settings.yml
all:
cache: on
/apps/frontend/config/cache.yml
default:
enabled: off
I activate cache for some module and I did nothing for other one. So I
assume that if I don't have cache.yml file for a module, cache isn't
enabled. (Even if I have a cache.yml with all: enabled: off, I still
have the problem).
In template registrationSuccess.php, I have :
<?php include_partial('customer/customerForm',array('form'=>$form,
'passwords'=>true))?>
Where $form is an instance of CustomerForm.
I got this error when I go on customer/registration :
You cannot serialize or unserialize PDO instances
Full stack trace is available here : http://pastebin.com/mc8ce397
The only solution is to disable cache...
But I don't understand why symfony try to put this partial in cache as
I don't define any cache for this module.
Thanks in advance for your help
J.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---