The short answer is, yes, the proxies are a fundamental part of
Doctrine 2's architecture.

The long answer is here:
http://www.doctrine-project.org/docs/orm/2.0/en/reference/configuration.html?highlight=proxy#proxy-objects


On May 11, 9:33 am, renegare <[email protected]> wrote:
> Hi,
>
> I was deploying a symfony2 based project to my staging server and kept
> getting an error stating something like:
> "Class [My Child Class Name] not found in ../[kernel]/cache/
> [environment]/doctrine/orm/Proxies/[YourBundle]Entities[My Parent
> Class Name]Proxy.php"
>
> Luckily I was able to locate a solution 
> here:http://www.mattfitz.info/library/article/324
>
> I'm cluseless as to why the issue never occurred when I was developing
> locally.I have a hunch however that the system had write permissions
> locally but not on the staging server.
>
> If thats the case then, the error message should not be as the above,
> but rather:
> "Cannot create Doctrine Proxy dir in cache folder" ... or something
> along them lines.
>
> My second point is ... Do I really need these extra files created?
> Can someone point me in the right direction so I can understand
> clearly why I need this?
>
> Thanks
>
> M.

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en

Reply via email to