<![CDATA[ ManagerLogin snippet produces parse error on logout - My Forums]]> https://forums.modx.com/thread/?thread=43797 <![CDATA[Re: ManagerLogin snippet produces parse error on logout]]> https://forums.modx.com/thread/43797/managerlogin-snippet-produces-parse-error-on-logout#dis-post-252302 motsmart Jan 14, 2008, 06:14 PM https://forums.modx.com/thread/43797/managerlogin-snippet-produces-parse-error-on-logout#dis-post-252302 <![CDATA[ManagerLogin snippet produces parse error on logout]]> https://forums.modx.com/thread/43797/managerlogin-snippet-produces-parse-error-on-logout#dis-post-252301 I’ve just installed the ManagerLogin snippet and, whilst it functions correctly in that it lets me login and logout of the manager from the frontend, when I click the logout link, I receive the following error message instead of being directed to site start
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource: 
« PHP Parse Error » 
  
PHP error debug 
  Error:  session_destroy(): Session object destruction failed   
  Error type/ Nr.:  Warning - 2   
  File:  D:\Domains\domain.com\wwwroot\manager\includes\document.parser.class.inc.php(769) : eval()'d code   
  Line:  145   ... (note this has also said 157 on previous attempts)
  
Parser timing 
  MySQL:  0.0068 s (4 Requests) 
  PHP:  0.0865 s   
  Total:  0.0934 s   

I notice that this snippet was written and last updated in 2005, and as I am using 0.9.6.1, wonder if that could be the problem?

Can anyone shed any light on this for me please?

Thanks

Anni]]>
annii Jan 14, 2008, 05:36 PM https://forums.modx.com/thread/43797/managerlogin-snippet-produces-parse-error-on-logout#dis-post-252301