On 4 jun, 08:22, jeff_m <[EMAIL PROTECTED]> wrote:
> I'm running into an issue with getting acm admin cpanel to make the
> first session read on line 33
>
> <?php
> if($this->controller->Session->read('ACM.AutoLoad')){ ?>
>
> which causes
>
> Fatal error: Call to a member function read() on a
> non-object in
> C:\Apache2\htdocs\cake\app\plugins\acm\views
> \layouts\cpanel.thtml on line 33
>
> I'm using cakephp 1.2 (5146 2007-05-21) and the latest version of acm.
> The session access appears to work correctly from the controller, but
> does not appear to be initialized in the views.
>
> I've read the thread regarding session initialization in the
> controller
>
> http://groups.google.com/group/cake-php/browse_thread/thread/f19fe8d0...
>
> But now I can't seem to get past the view's session->read.
>
> What am I missing?
The latest version of acm is from May 5, 2006, and it's 1.1 only. You
cannot access the controller from the view in 1.2 - hence the error
message.
The fastest solution for you would be to put a (parallel) 1.1 install
in place so you can use the plugin to administer your acl/user
objects.
hth,
AD
PS. The ACL admin project is more up to date and probably easier to
edit should you need to. It's also 1.1 only though and only for ACL,
no user stuff.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---