PDA

View Full Version : admin shows as a user instead?



Protollix
08-04-2004, 11:47 AM
This is a really weird problem:

I am working on a plugin and am using the API. When I login as any admin ('admin' or another I created)and try to execute /CMD_API_SHOW_USER?user=xxxxx

results in a "you do not have permission" error.

Here's the kicker. I have another DA box, and the above API call works flawlessly when logged in as 'admin'.

Any ideas what might be going wrong here?

Protollix
08-05-2004, 06:07 AM
anybody?

jmstacey
08-05-2004, 11:28 PM
Is the permission denied message for the control panel or in trying to execute the command on the command line for the script? If on the command line you might want to check into file permissions etc.

Protollix
08-09-2004, 09:45 AM
It's a DA error message. If I try to run the API command through the browser, I get the error meesage. However, if I run this exact same command through the browser on a second server it works fine.

By running the API command through the browser I mean, browsing to:
http://www.domain.com:2222/CMD_API<etc>