1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

error loading Custom View Settings

Discussion in 'Plesk 11.x for Linux' started by BruceLeeX, Jun 28, 2012.

  1. BruceLeeX

    BruceLeeX New Pleskian

    16
    60%
    Joined:
    Nov 27, 2010
    Messages:
    15
    Likes Received:
    0
    PHP Catchable Fatal Error: Argument 1 passed to CommonPanel_Controller_Helper_Subscription::getPermissions() must implement interface Plan_Interface, null given, called in /usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlanHostingPermissions.php on line 45 and defined
    Line: 167
    File: /usr/local/psa/admin/plib/CommonPanel/Controller/Helper/Subscription.php
    Stack Trace:
    #0 Smb_Exception_Syntax::handleError(4096, Argument 1 passed to CommonPanel_Controller_Helper_Subscription::getPermissions() must implement interface Plan_Interface, null given, called in /usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlanHostingPermissions.php on line 45 and defined, /usr/local/psa/admin/plib/CommonPanel/Controller/Helper/Subscription.php, 167, Array ()) called at [/usr/local/psa/admin/plib/CommonPanel/Controller/Helper/Subscription.php:167]
    #1 CommonPanel_Controller_Helper_Subscription::getPermissions() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlanHostingPermissions.php:45]
    #2 AdminPanel_Form_Final_ServicePlan_AdminPlanHostingPermissions->_getPermissions() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Form/Abstract/ServicePlan/Permissions.php:57]
    #3 AdminPanel_Form_Abstract_ServicePlan_Permissions->init() called at [/usr/local/psa/admin/plib/Zend/Form.php:240]
    #4 KICKED BY ME; post too long plus userdata
    #5 KICKED BY ME; post too long plus userdata
    #6 KICKED BY ME; post too long plus userdata
    #7 KICKED BY ME; post too long plus userdata
    #8 AdminPanel_Form_Abstract_ServicePlan->init() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Form/Final/ServicePlan/AdminPlan.php:49]
    #9 AdminPanel_Form_Final_ServicePlan_AdminPlan->init() called at [/usr/local/psa/admin/plib/Zend/Form.php:240]
    #10 Zend_Form->__construct(Array ()) called at [/usr/local/psa/admin/plib/CommonPanel/Form.php:60]
    #11 CommonPanel_Form->__construct() called at [/usr/local/psa/admin/panel/application/controllers/ServerController.php:124]
    #12 ServerController->adminPlanAction() called at [/usr/local/psa/admin/plib/Zend/Controller/Action.php:513]
    #13 Zend_Controller_Action->dispatch(adminPlanAction) called at [/usr/local/psa/admin/plib/Zend/Controller/Dispatcher/Standard.php:295]
    #14 Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http Object ([] => Array ([0] => _GET,[1] => _POST),[] => /admin/server/admin-plan,[] => /admin,[] => ,[] => /server/admin-plan,[] => Array ([controller] => server,[action] => admin-plan,[module] => default),[] => ,[] => Array (),[] => 1,[] => default,[] => module,[] => server,[] => controller,[] => admin-plan,[] => action), Zend_Controller_Response_Http Object ([] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => 200,[] => ,[] => ,[headersSentThrowsException] => 1)) called at [/usr/local/psa/admin/plib/Zend/Controller/Front.php:954]
    #15 Zend_Controller_Front->dispatch() called at [/usr/local/psa/admin/panel/application/library/AdminPanel/Application/Web.php:20]
    #16 AdminPanel_Application_Web->run() called at [/usr/local/psa/admin/panel/application/public/index.php:15]
     
  2. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Was it an upgrade or new plesk installation?
     
  3. BruceLeeX

    BruceLeeX New Pleskian

    16
    60%
    Joined:
    Nov 27, 2010
    Messages:
    15
    Likes Received:
    0
    upgrade from 10.4.4
     
  4. PavelV

    PavelV Plesk for Windows Staff Member

    28
     
    Joined:
    Nov 15, 2010
    Messages:
    251
    Likes Received:
    15
    One of upgrade actions was not performed properly. Admin plan initialized in script upgrade_admin_simple_plan_permissions_1013.php called during upgrade.

    Please check autoinstaller3.log file for additional information on why this script has been failed.

    In order to fix your instance you execute this script again:
    /usr/local/psa/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php
     
  5. PavelV

    PavelV Plesk for Windows Staff Member

    28
     
    Joined:
    Nov 15, 2010
    Messages:
    251
    Likes Received:
    15
    Can you please check /tmp/plesk_11.0.9_installation.log as well
     
  6. BruceLeeX

    BruceLeeX New Pleskian

    16
    60%
    Joined:
    Nov 27, 2010
    Messages:
    15
    Likes Received:
    0
    autoinstaller3.log

    mknod: `/var/www/vhosts/chroot/dev/null': File exists

    ===> Cumulative upgrade has been started
    Subdomains DNS zones were upgraded.
    PHP Fatal error: Call to a member function properties() on a non-object in /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php on line 27

    **** Product post-install started.

    run command
    i guess you missed bin under /usr/local/psa/bin/sw-engine-pleskrun
    /usr/local/psa/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php
    samer error:
    PHP Fatal error: Call to a member function properties() on a non-object in /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php on line 27

    Fatal error: Call to a member function properties() on a non-object in /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php on line 27

    /tmp/plesk_11.0.9_installation.log
    ===> Perform upgrade from 1013
    Trying to Upgrade mode of DNS zones for subdomains... done
    Trying to Upgrade permissions for Admin Simple Plan...
    WARNING!
    Some problems are found during fail\nnCannot upgrade permissions for Admin Simple Plan. Please run /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php manually.(see log file: /tmp/plesk_11.0.9_installation.log)

    Continue...
     
  7. PavelV

    PavelV Plesk for Windows Staff Member

    28
     
    Joined:
    Nov 15, 2010
    Messages:
    251
    Likes Received:
    15
    Such error appeared if there is no row for admin plan in database.

    I can suggest to create it by launching
    /usr/local/psa/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/create_default_simple_template.php

    It will be nice to understand what is the reason of this problem. If this is possible, please send credentials to your server in private message. Or if you have support ticket for that problem, you can send to me ticket id, I can check it.
     
  8. BruceLeeX

    BruceLeeX New Pleskian

    16
    60%
    Joined:
    Nov 27, 2010
    Messages:
    15
    Likes Received:
    0
    run the commands:
    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/create_default_simple_template.php
    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/scripts/upgrade_admin_simple_plan_permissions_1013.php
    and now its working. thanks a lot.

    currently its just a testing machine for me. if you need access please let me know.
     
  9. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    Since you said its just a test, then PM the root logins and will look at it for you.
     
  10. BruceLeeX

    BruceLeeX New Pleskian

    16
    60%
    Joined:
    Nov 27, 2010
    Messages:
    15
    Likes Received:
    0
    thanks. but its fixed. I just mentioned it if access is needed
     
  11. MemoonaM

    MemoonaM Guest

    0
     
    Thanks for all of you for providing the solution of this problem and helping all of us.
     
  12. PavelV

    PavelV Plesk for Windows Staff Member

    28
     
    Joined:
    Nov 15, 2010
    Messages:
    251
    Likes Received:
    15
    BruceLeeX, it still will be very nice if you provide access to your server for analysis of root cause of this problem. Please send credentials to me in private message.
     
Loading...