Told you it is painful to serialize entities :) Guess why? :P
Anyway, this is a doctrine related question, and not an issue of
Zend_Session at all :)

Marco Pivetta

http://twitter.com/Ocramius

http://marco-pivetta.com



On 11 March 2012 17:18, mbneto [via Zend Framework Community] <
ml-node+s634137n4464133...@n4.nabble.com> wrote:

> Hi,
>
> I am using ZF1 + Doctrine 2 (via Bisna).  Everything is fine so far except
> when I try to use Zend_Auth to authenticate.  The first time it works but
> If I try to reload it I get the error below.
>
> Zend_Session::start() -
> /usr/local/zend/share/ZendFramework/library/Zend/Loader.php(Line:146):
> Error #2 include_once(): Failed opening
> 'MyApp/Entity/Proxy/__CG__/MyApp/Entity/LogViewSummary.php' for inclusion
> (include_path='/Users/mbneto/Sites/myapp/application/../library:/Users/mbneto/Sites/myapp/library:.:/usr/local/zend/share/ZendFramework/library:/usr/local/zend/share/pear')
>
> Array<br />
> #0
> /usr/local/zend/share/ZendFramework/library/Zend/Session/Namespace.php(143):
>
> Zend_Session::start(true)#1
> /usr/local/zend/share/ZendFramework/library/Zend/Auth/Storage/Session.php(87):
>
> Zend_Session_Namespace->__construct('Zend_Auth')#2
> /usr/local/zend/share/ZendFramework/library/Zend/Auth.php(91):
> Zend_Auth_Storage_Session->__construct()#3
> /usr/local/zend/share/ZendFramework/library/Zend/Auth.php(141):
> Zend_Auth->getStorage()#4
> /usr/local/zend/share/ZendFramework/library/Zend/Auth.php(123):
> Zend_Auth->hasIdentity()#5
> /Users/mbneto/Sites/myapp/library/MyApp/User/Auth/Service.php(128):
> Zend_Auth->authenticate(Object(MyApp\User\Auth\Adapter))#6
> /Users/mbneto/Sites/myapp/application/controllers/IndexController.php(237):
>
> MyApp\User\Auth\Service->login(Array)#7
> /usr/local/zend/share/ZendFramework/library/Zend/Controller/Action.php(516):
>
> IndexController->auAction()#8
> /usr/local/zend/share/ZendFramework/library/Zend/Controller/Dispatcher/Standard.php(295):
>
> Zend_Controller_Action->dispatch('auAction')#9
> /usr/local/zend/share/ZendFramework/library/Zend/Controller/Front.php(954):
>
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
>
> Object(Zend_Controller_Response_Http))#10
> /usr/local/zend/share/ZendFramework/library/Zend/Application/Bootstrap/Bootstrap.php(97):
>
> Zend_Controller_Front->dispatch()#11
> /usr/local/zend/share/ZendFramework/library/Zend/Application.php(366):
> Zend_Application_Bootstrap_Bootstrap->run()#12
> /Users/mbneto/Sites/myapp/public/index.php(26): Zend_Application->run()#13
> {main}
> It is trying to
> load 'MyApp/Entity/Proxy/__CG__/MyApp/Entity/LogViewSummary.php'  but it
> should really
> load 'MyApp/Entity/Proxy/__CG__MyApp/EntityLogViewSummary.php' for me it
> is
> like somewhere down the path the loader is getting confused and trying to
> use other approach to load the generated proxy entities...
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://zend-framework-community.634137.n4.nabble.com/Problems-with-autoloader-after-using-Zend-Auth-authenticate-Zend-Session-tp4464133p4464133.html
>  To unsubscribe from Zend Framework Community, click 
> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634137&code=b2NyYW1pdXNAZ21haWwuY29tfDYzNDEzN3wxNzE0OTI1MTk4>
> .
> NAML<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Problems-with-autoloader-after-using-Zend-Auth-authenticate-Zend-Session-tp4464133p4464230.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to