[pLog-svn] Permissions in LT 1.2

Oscar Renalias oscar at renalias.net
Sun Nov 5 21:34:08 GMT 2006


> Steps I do:
> 1. Create user "testuser" and add it to blog "Test Blog" (owned by  
> admin
> user)
> 2. "edit user" and check "Allow access to this blog" "user is  
> allowed to
> log in"
> 3. go to BlogUsers->testuser check permission for "add new posts"
> 4. logout
> 5. login as testuser
> 6. go the the only option "new post"
> 7. see the error:
> Fatal error: UserPermission::getPermissionName() [<a
> href='function.getPermissionName'>function.getPermissionName</a>]: The
> script tried to execute a method or access a property of an incomplete
> object. Please ensure that the class definition &quot;Permission&quot;
> of the object you are trying to operate on was loaded _before_
> unserialize() gets called or provide a __autoload() function to  
> load the
> class definition in
> p:\server2go\htdocs\lt\class\dao\userpermission.class.php on line 92

I can't unfortunately reproduce this... I will try to get the trunk  
installed to our development server, maybe we can both test the same  
thing there.


More information about the pLog-svn mailing list