Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Bugs > Topic : Plesk and "ERROR IN SHIFTING TO USER LEVEL" bug



Threaded Mode | Print  

 Plesk and "ERROR IN SHIFTING TO USER LEVEL" bug (4 Replies, Read 31916 times)
globvill
Group: NOC
Post Group: Newbie
Posts: 11
Status:
At one of our Plesk installations I had the problem that the admin user always got the error "ERROR IN SHIFTING TO USER LEVEL" when trying to open Softaculous. After a lot of debugging and code inspection I finally found the error: the domain with the lowest domain_id in the database (in my case this was id 1) was not of a hosting domain but of type forwarding. As the following ones are all of type hosting my workaround was simply to delete the domain and create it again so that it got a new domain_id. Maybe it would be a good advise to fix the SQL query in the responsible script.

IP: --   

Plesk and "ERROR IN SHIFTING TO USER LEVEL" bug
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5732
Status:
Hi,

Sir this error normally occurs when there are no users or there is no domain assigned to the user.
Adding a user with a domain should resolve the error.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

Plesk and "ERROR IN SHIFTING TO USER LEVEL" bug
globvill
Group: NOC
Post Group: Newbie
Posts: 11
Status:
Quote From : Brijesh June 9, 2012, 12:05 pm
this error normally occurs when there are no users or there is no domain assigned to the user.
Adding a user with a domain should resolve the error.


to the admin user? Well in my case the admin indeed owns only a forwarding domain, but this is not the problem. Even is the admin does not have any domains, Softaculous works with the domains which belong to resellers.

Try this: create a forwarding domain at Plesk and call Softaculous as admin. You will see the list of all domains in a select box where you can choose the one you would like to manage. Select the forwarding domain and you'll get the error "ERROR IN SHIFTING TO USER LEVEL", and now to try to get back to the select box (the easiest way is to restart you browser to clear the cookie).

As your list is sorted by domain_id this error suddenly occurs when calling Softaculous if your domain with the lowest domain_id is a forwarding domain since this one is preselected.

A good advice would be to change the SQL statement so that Softaculous only lists hosting domains (and to order them by domain name alphabetically).

IP: --   

Plesk and "ERROR IN SHIFTING TO USER LEVEL" bug
AdamNpowell
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hello
Brijesh is correct you just need to add a client domain and user, simple that error will disappear like magic.
IP: --   

Plesk and "ERROR IN SHIFTING TO USER LEVEL" bug
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5732
Status:
Hi Adam,

Sorry for the delay in response.

Yes if there are domains existing under the user's account you should not see this error.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is November 10, 2024, 5:52 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.027