Admin login error

Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Sat, 2004-09-18 14:05

I suspect this might be a bug that needs looking at, but I solved the users problem easily enough...

Quote:
""
Error (ERROR_PERMISSION_DENIED) : user id: 4 doesn't have permission:
core.addDataItem for item id: 186
a.. in modules/core/classes/helpers/GalleryUserHelper_simple.class at line
64
b.. in modules/core/ItemAdd.inc at line 117
c.. in modules/core/ItemAdmin.inc at line 141
d.. in modules/core/classes/GalleryView.class at line 247
""

He hadn't logged out of admin previously and logging in / entering Admin was throwing up the above message.

Logging out and back in sorted it.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2004-09-18 17:15

I'm not sure I follow. He tried to log in again as admin, even though he was already logged in as admin? The stack trace above is in the "ItemAdd" logic so it would appear that he was trying to add an item at the time, but if he was logged in as admin then he should have had permissions to do everything at that point.

 
Malachim
Malachim's picture

Joined: 2004-09-18
Posts: 11
Posted: Mon, 2004-09-20 14:02

Not sure to honest.

As far as I can recall, when he clicked 'login' it throw out that error, but gave the option in the menu to logout

Going out, and coming back in again cleared the message.

I suspected some cookie issue, but as we both had the same error message that seems unlikely.