You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Granting access permission to the default tenant to admin during installing process of pluf, is not successful and is encountered with a problem with following message and stack:
PHP include path: /home/hadi/git/Pluf/src:/home/hadi/Public/HP-home/workspace/DigiDoci/digidoci_server/sdp-test/www/../src:.:/usr/share/php5:/usr/share/php5/PEAR:
Granting access permission to the default tenant to admin during installing process of pluf, is not successful and is encountered with a problem with following message and stack:
PHP include path: /home/hadi/git/Pluf/src:/home/hadi/Public/HP-home/workspace/DigiDoci/digidoci_server/sdp-test/www/../src:.:/usr/share/php5:/usr/share/php5/PEAR:
Install all the apps
Pluf is installed successfully.
Tenant is installed successfully.
Setting is installed successfully.
Config is installed successfully.
Spa is installed successfully.
Message is installed successfully.
User is installed successfully.
Group is installed successfully.
Role is installed successfully.
CMS is installed successfully.
Bank is installed successfully.
SDP is installed successfully.
User and groups
User is created
Login:admin
Password:admin
Default tenant
Default tenant is created
PlufErrorHandlerException::__set_state(array(
Call Stack #TimeMemoryFunctionLocation 10.0033236600{main}( ).../index.php:0 22.9704250888include( \'/home/hadi/Public/HP-home/workspace/DigiDoci/digidoci_server/sdp-test/www/index.install.php\' ).../index.php:7 342.90912643456Pluf_RowPermission::add( ???, ???, ???, ??? ).../index.install.php:46 442.91022667064Pluf_RowPermission::remove( ???, ???, ??? ).../RowPermission.php:134 542.91032669528Pluf_Model->getList( ??? ).../RowPermission.php:189 642.91042673352Pluf_Tenant::current( ).../Model.php:613 742.91042673984PlufErrorHandler( ???, ???, ???, ???, ??? ).../Model.php:324 ', ))'message' => 'Undefined index: _PX_request',
'string' => '',
'code' => 8,
'file' => '/home/hadi/git/Pluf/src/Pluf/Tenant.php',
'line' => 324,
'trace' =>
array (
0 =>
array (
'file' => '/home/hadi/git/Pluf/src/Pluf/Tenant.php',
'line' => 324,
'function' => 'PlufErrorHandler',
'args' =>
array (
0 => 8,
1 => 'Undefined index: _PX_request',
2 => '/home/hadi/git/Pluf/src/Pluf/Tenant.php',
3 => 324,
4 =>
array (
),
),
),
1 =>
array (
'file' => '/home/hadi/git/Pluf/src/Pluf/Model.php',
'line' => 613,
'function' => 'current',
'class' => 'Pluf_Tenant',
'type' => '::',
'args' =>
array (
),
),
2 =>
array (
'file' => '/home/hadi/git/Pluf/src/Pluf/RowPermission.php',
'line' => 189,
'function' => 'getList',
'class' => 'Pluf_Model',
'type' => '->',
'args' =>
array (
0 =>
array (
'filter' => 'owner_id='1' AND owner_class='Pluf_User' AND permission='1'',
),
),
),
3 =>
array (
'file' => '/home/hadi/git/Pluf/src/Pluf/RowPermission.php',
'line' => 134,
'function' => 'remove',
'class' => 'Pluf_RowPermission',
'type' => '::',
'args' =>
array (
0 =>
Pluf_User::__set_state(array(
'session_key' => '_PX_Pluf_User_auth',
'_cache_perms' => NULL,
'tenant_field' =>
array (
'type' => 'Pluf_DB_Field_Foreignkey',
'model' => 'Pluf_Tenant',
'blank' => false,
'relate_name' => 'tenant',
'editable' => false,
'readable' => false,
),
'_model' => 'Pluf_User',
'_con' =>
Pluf_DB_MySQL::__set_state(array(
'con_id' =>
mysqli::__set_state(array(
'affected_rows' => NULL,
'client_info' => NULL,
'client_version' => NULL,
'connect_errno' => NULL,
'connect_error' => NULL,
'errno' => NULL,
'error' => NULL,
'error_list' => NULL,
'field_count' => NULL,
'host_info' => NULL,
'info' => NULL,
'insert_id' => NULL,
'server_info' => NULL,
'server_version' => NULL,
'stat' => NULL,
'sqlstate' => NULL,
'protocol_version' => NULL,
'thread_id' => NULL,
'warning_count' => NULL,
)),
'pfx' => '',
'debug' => true,
'lastquery' => 'SELECT permissions.
id
ASid
, permissions.version
ASversion
, permissions.name
ASname
, permissions.code_name
AScode_name
, permissions.description
ASdescription
, permissions.application
ASapplication
FROM permissionsWHERE (code_name='owner' AND application='Pluf') ',
'engine' => 'MySQL',
'type_cast' =>
array (
'Pluf_DB_Field_Boolean' =>
array (
0 => 'Pluf_DB_BooleanFromDb',
1 => 'Pluf_DB_BooleanToDb',
),
'Pluf_DB_Field_Date' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Datetime' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Email' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_File' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Float' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Foreignkey' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Integer' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Password' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_PasswordToDb',
),
'Pluf_DB_Field_Sequence' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Slug' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_SlugToDb',
),
'Pluf_DB_Field_Text' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Varchar' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Serialized' =>
array (
0 => 'Pluf_DB_SerializedFromDb',
1 => 'Pluf_DB_SerializedToDb',
),
'Pluf_DB_Field_Compressed' =>
array (
0 => 'Pluf_DB_CompressedFromDb',
1 => 'Pluf_DB_CompressedToDb',
),
'Pluf_DB_Field_Point' =>
array (
0 => 'Pluf_DB_PointFromDb',
1 => 'Pluf_DB_PointToDb',
),
),
)),
'_a' =>
array (
'multitenant' => false,
'table' => 'users',
'model' => 'Pluf_User',
'cols' =>
array (
'id' =>
array (
'type' => 'Pluf_DB_Field_Sequence',
'blank' => true,
'editable' => false,
'readable' => true,
),
'version' =>
array (
'type' => 'Pluf_DB_Field_Integer',
'blank' => true,
'editable' => false,
'readable' => false,
),
'login' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'unique' => true,
'size' => 50,
'verbose' => 'login',
'editable' => false,
'readable' => true,
),
'first_name' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 100,
'verbose' => 'first name',
'editable' => true,
'readable' => true,
),
'last_name' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'size' => 100,
'verbose' => 'last name',
'editable' => true,
'readable' => true,
),
'email' =>
array (
'type' => 'Pluf_DB_Field_Email',
'blank' => false,
'verbose' => 'email',
'editable' => false,
'readable' => true,
),
'password' =>
array (
'type' => 'Pluf_DB_Field_Password',
'blank' => false,
'verbose' => 'password',
'size' => 150,
'help_text' => 'Format: [algo]:[salt]:[hash]',
'secure' => true,
'editable' => false,
'readable' => false,
),
'groups' =>
array (
'type' => 'Pluf_DB_Field_Manytomany',
'blank' => true,
'model' => 'Pluf_Group',
'relate_name' => 'users',
),
'permissions' =>
array (
'type' => 'Pluf_DB_Field_Manytomany',
'blank' => true,
'model' => 'Pluf_Permission',
),
'administrator' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => false,
'blank' => true,
'verbose' => 'administrator',
'editable' => false,
),
'staff' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => false,
'blank' => true,
'verbose' => 'staff',
'editable' => false,
),
'active' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => true,
'blank' => true,
'verbose' => 'active',
'editable' => false,
),
'language' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'default' => 'fa',
'size' => 5,
'verbose' => 'language',
'help_text' => 'Prefered language of the user for the interface. Use the 2 or 5 letter code like "fr", "en", "fr_QC" or "en_US".',
),
'timezone' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'default' => 'Asia/Tehran',
'size' => 45,
'verbose' => 'time zone',
'help_text' => 'Time zone of the user to display the time in local time.',
),
'date_joined' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'verbose' => 'date joined',
'editable' => false,
),
'last_login' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'verbose' => 'last login',
'editable' => false,
),
),
'idx' =>
array (
'login_idx' =>
array (
'col' => 'login',
'type' => 'unique',
),
),
'views' =>
array (
'all' =>
array (
'select' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.password
ASpassword
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
',),
'secure' =>
array (
'select' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
',),
'user_permission' =>
array (
'select' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
','join' => 'LEFT JOIN rowpermissions ON users.id=rowpermissions.owner_id',
),
'user_group' =>
array (
'join' => 'LEFT JOIN pluf_group_pluf_user_assoc ON users.id=pluf_user_id',
),
),
'verbose' => 'user',
),
'_data' =>
array (
'id' => 1,
'version' => '',
'login' => 'admin',
'first_name' => '',
'last_name' => 'admin',
'email' => '[email protected]',
'password' => 'sha1:jET)1:92be59262889ee3702137610e94311dc60f16229',
'groups' => '',
'permissions' => '',
'administrator' => true,
'staff' => true,
'active' => true,
'language' => 'fa',
'timezone' => 'Asia/Tehran',
'date_joined' => '2017-01-30 22:16:57',
'last_login' => '2017-01-30 22:16:57',
),
'_cache' =>
array (
'getSelect' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.password
ASpassword
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
','getSecureSelect' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
',),
'_fk' =>
array (
),
'_m' =>
array (
'list' =>
array (
'get_groups_list' => 'Pluf_Group',
'get_permissions_list' => 'Pluf_Permission',
'get_pluf_message_list' =>
array (
0 => 'Pluf_Message',
1 => 'user',
),
'get_user_list' =>
array (
0 => 'SDP_Link',
1 => 'user',
),
'get_sdp_profile_list' =>
array (
0 => 'SDP_Profile',
1 => 'user',
),
),
'many' =>
array (
'Pluf_Group' => 'manytomany',
'Pluf_Permission' => 'manytomany',
),
'get' =>
array (
),
'extra' =>
array (
),
),
)),
1 =>
Pluf_Tenant::__set_state(array(
'settingData' =>
array (
),
'settingChanged' => false,
'configData' =>
array (
),
'configChanged' => false,
'_cache_perms' => NULL,
'tenant_field' =>
array (
'type' => 'Pluf_DB_Field_Foreignkey',
'model' => 'Pluf_Tenant',
'blank' => false,
'relate_name' => 'tenant',
'editable' => false,
'readable' => false,
),
'_model' => 'Pluf_Tenant',
'_con' =>
Pluf_DB_MySQL::__set_state(array(
'con_id' =>
mysqli::__set_state(array(
'affected_rows' => NULL,
'client_info' => NULL,
'client_version' => NULL,
'connect_errno' => NULL,
'connect_error' => NULL,
'errno' => NULL,
'error' => NULL,
'error_list' => NULL,
'field_count' => NULL,
'host_info' => NULL,
'info' => NULL,
'insert_id' => NULL,
'server_info' => NULL,
'server_version' => NULL,
'stat' => NULL,
'sqlstate' => NULL,
'protocol_version' => NULL,
'thread_id' => NULL,
'warning_count' => NULL,
)),
'pfx' => '',
'debug' => true,
'lastquery' => 'SELECT permissions.
id
ASid
, permissions.version
ASversion
, permissions.name
ASname
, permissions.code_name
AScode_name
, permissions.description
ASdescription
, permissions.application
ASapplication
FROM permissionsWHERE (code_name='owner' AND application='Pluf') ',
'engine' => 'MySQL',
'type_cast' =>
array (
'Pluf_DB_Field_Boolean' =>
array (
0 => 'Pluf_DB_BooleanFromDb',
1 => 'Pluf_DB_BooleanToDb',
),
'Pluf_DB_Field_Date' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Datetime' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Email' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_File' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Float' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Foreignkey' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Integer' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Password' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_PasswordToDb',
),
'Pluf_DB_Field_Sequence' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Slug' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_SlugToDb',
),
'Pluf_DB_Field_Text' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Varchar' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Serialized' =>
array (
0 => 'Pluf_DB_SerializedFromDb',
1 => 'Pluf_DB_SerializedToDb',
),
'Pluf_DB_Field_Compressed' =>
array (
0 => 'Pluf_DB_CompressedFromDb',
1 => 'Pluf_DB_CompressedToDb',
),
'Pluf_DB_Field_Point' =>
array (
0 => 'Pluf_DB_PointFromDb',
1 => 'Pluf_DB_PointToDb',
),
),
)),
'_a' =>
array (
'multitenant' => false,
'table' => 'pluf_tenant',
'model' => 'Pluf_Tenant',
'cols' =>
array (
'id' =>
array (
'type' => 'Pluf_DB_Field_Sequence',
'blank' => true,
'editable' => false,
),
'level' =>
array (
'type' => 'Pluf_DB_Field_Integer',
'blank' => true,
'editable' => false,
),
'title' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 100,
),
'description' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 250,
'editable' => true,
),
'domain' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'unique' => true,
'size' => 63,
'editable' => true,
),
'subdomain' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'unique' => true,
'size' => 63,
'editable' => true,
),
'validate' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => false,
'blank' => true,
'editable' => false,
),
'creation_dtime' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'editable' => false,
),
'modif_dtime' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'editable' => false,
),
),
'idx' =>
array (
),
'views' =>
array (
'user_model_permission' =>
array (
'join' => 'LEFT JOIN rowpermissions ON Pluf_Tenant.id=rowpermissions.model_id',
'select' => 'pluf_tenant.
id
ASid
, pluf_tenant.level
ASlevel
, pluf_tenant.title
AStitle
, pluf_tenant.description
ASdescription
, pluf_tenant.domain
ASdomain
, pluf_tenant.subdomain
ASsubdomain
, pluf_tenant.validate
ASvalidate
, pluf_tenant.creation_dtime
AScreation_dtime
, pluf_tenant.modif_dtime
ASmodif_dtime
, permission','props' =>
array (
'permission' => 'permission',
),
),
),
),
'_data' =>
array (
'id' => 1,
'level' => '',
'title' => 'Default Tenant',
'description' => 'Auto generated tenant',
'domain' => 'sellonclouds.com',
'subdomain' => 'main',
'validate' => false,
'creation_dtime' => '2017-01-30 22:16:57',
'modif_dtime' => '2017-01-30 22:16:57',
),
'_cache' =>
array (
'getSelect' => 'pluf_tenant.
id
ASid
, pluf_tenant.level
ASlevel
, pluf_tenant.title
AStitle
, pluf_tenant.description
ASdescription
, pluf_tenant.domain
ASdomain
, pluf_tenant.subdomain
ASsubdomain
, pluf_tenant.validate
ASvalidate
, pluf_tenant.creation_dtime
AScreation_dtime
, pluf_tenant.modif_dtime
ASmodif_dtime
',),
'_fk' =>
array (
),
'_m' =>
array (
'list' =>
array (
'get_tenant_list' =>
array (
0 => 'CMS_Content',
1 => 'tenant',
),
),
'many' =>
array (
),
'get' =>
array (
),
'extra' =>
array (
),
),
)),
2 =>
Pluf_Permission::__set_state(array(
'_cache_to_string' => NULL,
'tenant_field' =>
array (
'type' => 'Pluf_DB_Field_Foreignkey',
'model' => 'Pluf_Tenant',
'blank' => false,
'relate_name' => 'tenant',
'editable' => false,
'readable' => false,
),
'_model' => 'Pluf_Permission',
'_con' =>
Pluf_DB_MySQL::__set_state(array(
'con_id' =>
mysqli::__set_state(array(
'affected_rows' => NULL,
'client_info' => NULL,
'client_version' => NULL,
'connect_errno' => NULL,
'connect_error' => NULL,
'errno' => NULL,
'error' => NULL,
'error_list' => NULL,
'field_count' => NULL,
'host_info' => NULL,
'info' => NULL,
'insert_id' => NULL,
'server_info' => NULL,
'server_version' => NULL,
'stat' => NULL,
'sqlstate' => NULL,
'protocol_version' => NULL,
'thread_id' => NULL,
'warning_count' => NULL,
)),
'pfx' => '',
'debug' => true,
'lastquery' => 'SELECT permissions.
id
ASid
, permissions.version
ASversion
, permissions.name
ASname
, permissions.code_name
AScode_name
, permissions.description
ASdescription
, permissions.application
ASapplication
FROM permissionsWHERE (code_name='owner' AND application='Pluf') ',
'engine' => 'MySQL',
'type_cast' =>
array (
'Pluf_DB_Field_Boolean' =>
array (
0 => 'Pluf_DB_BooleanFromDb',
1 => 'Pluf_DB_BooleanToDb',
),
'Pluf_DB_Field_Date' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Datetime' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Email' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_File' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Float' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Foreignkey' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Integer' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Password' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_PasswordToDb',
),
'Pluf_DB_Field_Sequence' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Slug' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_SlugToDb',
),
'Pluf_DB_Field_Text' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Varchar' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Serialized' =>
array (
0 => 'Pluf_DB_SerializedFromDb',
1 => 'Pluf_DB_SerializedToDb',
),
'Pluf_DB_Field_Compressed' =>
array (
0 => 'Pluf_DB_CompressedFromDb',
1 => 'Pluf_DB_CompressedToDb',
),
'Pluf_DB_Field_Point' =>
array (
0 => 'Pluf_DB_PointFromDb',
1 => 'Pluf_DB_PointToDb',
),
),
)),
'_a' =>
array (
'multitenant' => false,
'table' => 'permissions',
'model' => 'Pluf_Permission',
'cols' =>
array (
'id' =>
array (
'type' => 'Pluf_DB_Field_Sequence',
'blank' => true,
'editable' => false,
'readable' => true,
),
'version' =>
array (
'type' => 'Pluf_DB_Field_Integer',
'blank' => true,
'editable' => false,
'readable' => false,
),
'name' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'size' => 50,
'verbose' => 'name',
'editable' => true,
'readable' => true,
),
'code_name' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'size' => 100,
'verbose' => 'code name',
'help_text' => 'The code name must be unique for each application. Standard permissions to manage a model in the interface are "Model_Name-create", "Model_Name-update", "Model_Name-list" and "Model_Name-delete".',
'editable' => true,
'readable' => true,
),
'description' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 250,
'verbose' => 'description',
'editable' => true,
'readable' => true,
),
'application' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'size' => 150,
'blank' => false,
'verbose' => 'application',
'help_text' => 'The application using this permission, for example "YourApp", "CMS" or "SView".',
'editable' => true,
'readable' => true,
),
),
'idx' =>
array (
'code_name_idx' =>
array (
'type' => 'normal',
'col' => 'code_name',
),
'application_idx' =>
array (
'type' => 'normal',
'col' => 'application',
),
'perme_idx' =>
array (
'col' => 'application, code_name',
'type' => 'unique',
'index_type' => '',
'index_option' => '',
'algorithm_option' => '',
'lock_option' => '',
),
),
'views' =>
array (
'join_group' =>
array (
'join' => 'LEFT JOIN pluf_group_pluf_permission_assoc ON permissions.id=pluf_permission_id',
),
'join_row_permission' =>
array (
'join' => 'LEFT JOIN rowpermissions ON permissions.id=rowpermissions.permission',
),
),
'verbose' => 'permission',
),
'_data' =>
array (
'id' => 1,
'version' => 2,
'name' => 'ownership',
'code_name' => 'owner',
'description' => 'Permission given to software owners.',
'application' => 'Pluf',
),
'_cache' =>
array (
'getSelect' => 'permissions.
id
ASid
, permissions.version
ASversion
, permissions.name
ASname
, permissions.code_name
AScode_name
, permissions.description
ASdescription
, permissions.application
ASapplication
',),
'_fk' =>
array (
),
'_m' =>
array (
'list' =>
array (
'get_pluf_rowpermission_list' =>
array (
0 => 'Pluf_RowPermission',
1 => 'permission',
),
'get_pluf_user_list' => 'Pluf_User',
'get_pluf_group_list' => 'Pluf_Group',
),
'many' =>
array (
'Pluf_User' => 'manytomany',
'Pluf_Group' => 'manytomany',
),
'get' =>
array (
),
'extra' =>
array (
),
),
)),
),
),
4 =>
array (
'file' => '/home/hadi/Public/HP-home/workspace/DigiDoci/digidoci_server/sdp-test/www/index.install.php',
'line' => 46,
'function' => 'add',
'class' => 'Pluf_RowPermission',
'type' => '::',
'args' =>
array (
0 =>
Pluf_User::__set_state(array(
'session_key' => '_PX_Pluf_User_auth',
'_cache_perms' => NULL,
'tenant_field' =>
array (
'type' => 'Pluf_DB_Field_Foreignkey',
'model' => 'Pluf_Tenant',
'blank' => false,
'relate_name' => 'tenant',
'editable' => false,
'readable' => false,
),
'_model' => 'Pluf_User',
'_con' =>
Pluf_DB_MySQL::__set_state(array(
'con_id' =>
mysqli::__set_state(array(
'affected_rows' => NULL,
'client_info' => NULL,
'client_version' => NULL,
'connect_errno' => NULL,
'connect_error' => NULL,
'errno' => NULL,
'error' => NULL,
'error_list' => NULL,
'field_count' => NULL,
'host_info' => NULL,
'info' => NULL,
'insert_id' => NULL,
'server_info' => NULL,
'server_version' => NULL,
'stat' => NULL,
'sqlstate' => NULL,
'protocol_version' => NULL,
'thread_id' => NULL,
'warning_count' => NULL,
)),
'pfx' => '',
'debug' => true,
'lastquery' => 'SELECT permissions.
id
ASid
, permissions.version
ASversion
, permissions.name
ASname
, permissions.code_name
AScode_name
, permissions.description
ASdescription
, permissions.application
ASapplication
FROM permissionsWHERE (code_name='owner' AND application='Pluf') ',
'engine' => 'MySQL',
'type_cast' =>
array (
'Pluf_DB_Field_Boolean' =>
array (
0 => 'Pluf_DB_BooleanFromDb',
1 => 'Pluf_DB_BooleanToDb',
),
'Pluf_DB_Field_Date' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Datetime' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Email' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_File' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Float' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Foreignkey' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Integer' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Password' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_PasswordToDb',
),
'Pluf_DB_Field_Sequence' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Slug' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_SlugToDb',
),
'Pluf_DB_Field_Text' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Varchar' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Serialized' =>
array (
0 => 'Pluf_DB_SerializedFromDb',
1 => 'Pluf_DB_SerializedToDb',
),
'Pluf_DB_Field_Compressed' =>
array (
0 => 'Pluf_DB_CompressedFromDb',
1 => 'Pluf_DB_CompressedToDb',
),
'Pluf_DB_Field_Point' =>
array (
0 => 'Pluf_DB_PointFromDb',
1 => 'Pluf_DB_PointToDb',
),
),
)),
'_a' =>
array (
'multitenant' => false,
'table' => 'users',
'model' => 'Pluf_User',
'cols' =>
array (
'id' =>
array (
'type' => 'Pluf_DB_Field_Sequence',
'blank' => true,
'editable' => false,
'readable' => true,
),
'version' =>
array (
'type' => 'Pluf_DB_Field_Integer',
'blank' => true,
'editable' => false,
'readable' => false,
),
'login' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'unique' => true,
'size' => 50,
'verbose' => 'login',
'editable' => false,
'readable' => true,
),
'first_name' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 100,
'verbose' => 'first name',
'editable' => true,
'readable' => true,
),
'last_name' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'size' => 100,
'verbose' => 'last name',
'editable' => true,
'readable' => true,
),
'email' =>
array (
'type' => 'Pluf_DB_Field_Email',
'blank' => false,
'verbose' => 'email',
'editable' => false,
'readable' => true,
),
'password' =>
array (
'type' => 'Pluf_DB_Field_Password',
'blank' => false,
'verbose' => 'password',
'size' => 150,
'help_text' => 'Format: [algo]:[salt]:[hash]',
'secure' => true,
'editable' => false,
'readable' => false,
),
'groups' =>
array (
'type' => 'Pluf_DB_Field_Manytomany',
'blank' => true,
'model' => 'Pluf_Group',
'relate_name' => 'users',
),
'permissions' =>
array (
'type' => 'Pluf_DB_Field_Manytomany',
'blank' => true,
'model' => 'Pluf_Permission',
),
'administrator' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => false,
'blank' => true,
'verbose' => 'administrator',
'editable' => false,
),
'staff' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => false,
'blank' => true,
'verbose' => 'staff',
'editable' => false,
),
'active' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => true,
'blank' => true,
'verbose' => 'active',
'editable' => false,
),
'language' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'default' => 'fa',
'size' => 5,
'verbose' => 'language',
'help_text' => 'Prefered language of the user for the interface. Use the 2 or 5 letter code like "fr", "en", "fr_QC" or "en_US".',
),
'timezone' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'default' => 'Asia/Tehran',
'size' => 45,
'verbose' => 'time zone',
'help_text' => 'Time zone of the user to display the time in local time.',
),
'date_joined' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'verbose' => 'date joined',
'editable' => false,
),
'last_login' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'verbose' => 'last login',
'editable' => false,
),
),
'idx' =>
array (
'login_idx' =>
array (
'col' => 'login',
'type' => 'unique',
),
),
'views' =>
array (
'all' =>
array (
'select' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.password
ASpassword
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
',),
'secure' =>
array (
'select' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
',),
'user_permission' =>
array (
'select' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
','join' => 'LEFT JOIN rowpermissions ON users.id=rowpermissions.owner_id',
),
'user_group' =>
array (
'join' => 'LEFT JOIN pluf_group_pluf_user_assoc ON users.id=pluf_user_id',
),
),
'verbose' => 'user',
),
'_data' =>
array (
'id' => 1,
'version' => '',
'login' => 'admin',
'first_name' => '',
'last_name' => 'admin',
'email' => '[email protected]',
'password' => 'sha1:jET)1:92be59262889ee3702137610e94311dc60f16229',
'groups' => '',
'permissions' => '',
'administrator' => true,
'staff' => true,
'active' => true,
'language' => 'fa',
'timezone' => 'Asia/Tehran',
'date_joined' => '2017-01-30 22:16:57',
'last_login' => '2017-01-30 22:16:57',
),
'_cache' =>
array (
'getSelect' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.password
ASpassword
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
','getSecureSelect' => 'users.
id
ASid
, users.version
ASversion
, users.login
ASlogin
, users.first_name
ASfirst_name
, users.last_name
ASlast_name
, users.email
ASemail
, users.administrator
ASadministrator
, users.staff
ASstaff
, users.active
ASactive
, users.language
ASlanguage
, users.timezone
AStimezone
, users.date_joined
ASdate_joined
, users.last_login
ASlast_login
',),
'_fk' =>
array (
),
'_m' =>
array (
'list' =>
array (
'get_groups_list' => 'Pluf_Group',
'get_permissions_list' => 'Pluf_Permission',
'get_pluf_message_list' =>
array (
0 => 'Pluf_Message',
1 => 'user',
),
'get_user_list' =>
array (
0 => 'SDP_Link',
1 => 'user',
),
'get_sdp_profile_list' =>
array (
0 => 'SDP_Profile',
1 => 'user',
),
),
'many' =>
array (
'Pluf_Group' => 'manytomany',
'Pluf_Permission' => 'manytomany',
),
'get' =>
array (
),
'extra' =>
array (
),
),
)),
1 =>
Pluf_Tenant::__set_state(array(
'settingData' =>
array (
),
'settingChanged' => false,
'configData' =>
array (
),
'configChanged' => false,
'_cache_perms' => NULL,
'tenant_field' =>
array (
'type' => 'Pluf_DB_Field_Foreignkey',
'model' => 'Pluf_Tenant',
'blank' => false,
'relate_name' => 'tenant',
'editable' => false,
'readable' => false,
),
'_model' => 'Pluf_Tenant',
'_con' =>
Pluf_DB_MySQL::__set_state(array(
'con_id' =>
mysqli::__set_state(array(
'affected_rows' => NULL,
'client_info' => NULL,
'client_version' => NULL,
'connect_errno' => NULL,
'connect_error' => NULL,
'errno' => NULL,
'error' => NULL,
'error_list' => NULL,
'field_count' => NULL,
'host_info' => NULL,
'info' => NULL,
'insert_id' => NULL,
'server_info' => NULL,
'server_version' => NULL,
'stat' => NULL,
'sqlstate' => NULL,
'protocol_version' => NULL,
'thread_id' => NULL,
'warning_count' => NULL,
)),
'pfx' => '',
'debug' => true,
'lastquery' => 'SELECT permissions.
id
ASid
, permissions.version
ASversion
, permissions.name
ASname
, permissions.code_name
AScode_name
, permissions.description
ASdescription
, permissions.application
ASapplication
FROM permissionsWHERE (code_name='owner' AND application='Pluf') ',
'engine' => 'MySQL',
'type_cast' =>
array (
'Pluf_DB_Field_Boolean' =>
array (
0 => 'Pluf_DB_BooleanFromDb',
1 => 'Pluf_DB_BooleanToDb',
),
'Pluf_DB_Field_Date' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Datetime' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Email' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_File' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Float' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Foreignkey' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Integer' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Password' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_PasswordToDb',
),
'Pluf_DB_Field_Sequence' =>
array (
0 => 'Pluf_DB_IntegerFromDb',
1 => 'Pluf_DB_IntegerToDb',
),
'Pluf_DB_Field_Slug' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_SlugToDb',
),
'Pluf_DB_Field_Text' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Varchar' =>
array (
0 => 'Pluf_DB_IdentityFromDb',
1 => 'Pluf_DB_IdentityToDb',
),
'Pluf_DB_Field_Serialized' =>
array (
0 => 'Pluf_DB_SerializedFromDb',
1 => 'Pluf_DB_SerializedToDb',
),
'Pluf_DB_Field_Compressed' =>
array (
0 => 'Pluf_DB_CompressedFromDb',
1 => 'Pluf_DB_CompressedToDb',
),
'Pluf_DB_Field_Point' =>
array (
0 => 'Pluf_DB_PointFromDb',
1 => 'Pluf_DB_PointToDb',
),
),
)),
'_a' =>
array (
'multitenant' => false,
'table' => 'pluf_tenant',
'model' => 'Pluf_Tenant',
'cols' =>
array (
'id' =>
array (
'type' => 'Pluf_DB_Field_Sequence',
'blank' => true,
'editable' => false,
),
'level' =>
array (
'type' => 'Pluf_DB_Field_Integer',
'blank' => true,
'editable' => false,
),
'title' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 100,
),
'description' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'size' => 250,
'editable' => true,
),
'domain' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => true,
'unique' => true,
'size' => 63,
'editable' => true,
),
'subdomain' =>
array (
'type' => 'Pluf_DB_Field_Varchar',
'blank' => false,
'unique' => true,
'size' => 63,
'editable' => true,
),
'validate' =>
array (
'type' => 'Pluf_DB_Field_Boolean',
'default' => false,
'blank' => true,
'editable' => false,
),
'creation_dtime' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'editable' => false,
),
'modif_dtime' =>
array (
'type' => 'Pluf_DB_Field_Datetime',
'blank' => true,
'editable' => false,
),
),
'idx' =>
array (
),
'views' =>
array (
'user_model_permission' =>
array (
'join' => 'LEFT JOIN rowpermissions ON Pluf_Tenant.id=rowpermissions.model_id',
'select' => 'pluf_tenant.
id
ASid
, pluf_tenant.level
ASlevel
, pluf_tenant.title
AStitle
, pluf_tenant.description
ASdescription
, pluf_tenant.domain
ASdomain
, pluf_tenant.subdomain
ASsubdomain
, pluf_tenant.validate
ASvalidate
, pluf_tenant.creation_dtime
AScreation_dtime
, pluf_tenant.modif_dtime
ASmodif_dtime
, permission','props' =>
array (
'permission' => 'permission',
),
),
),
),
'_data' =>
array (
'id' => 1,
'level' => '',
'title' => 'Default Tenant',
'description' => 'Auto generated tenant',
'domain' => 'sellonclouds.com',
'subdomain' => 'main',
'validate' => false,
'creation_dtime' => '2017-01-30 22:16:57',
'modif_dtime' => '2017-01-30 22:16:57',
),
'_cache' =>
array (
'getSelect' => 'pluf_tenant.
id
ASid
, pluf_tenant.level
ASlevel
, pluf_tenant.title
AStitle
, pluf_tenant.description
ASdescription
, pluf_tenant.domain
ASdomain
, pluf_tenant.subdomain
ASsubdomain
, pluf_tenant.validate
ASvalidate
, pluf_tenant.creation_dtime
AScreation_dtime
, pluf_tenant.modif_dtime
ASmodif_dtime
',),
'_fk' =>
array (
),
'_m' =>
array (
'list' =>
array (
'get_tenant_list' =>
array (
0 => 'CMS_Content',
1 => 'tenant',
),
),
'many' =>
array (
),
'get' =>
array (
),
'extra' =>
array (
),
),
)),
2 => 'Pluf.owner',
),
),
5 =>
array (
'file' => '/home/hadi/Public/HP-home/workspace/DigiDoci/digidoci_server/sdp-test/www/index.php',
'line' => 7,
'args' =>
array (
0 => '/home/hadi/Public/HP-home/workspace/DigiDoci/digidoci_server/sdp-test/www/index.install.php',
),
'function' => 'include',
),
),
'previous' => NULL,
'xdebug_message' => '<th align='left' bgcolor='#f57900' colspan="5"><span style='background-color: #cc0000; color: #fce94f; font-size: x-large;'>( ! ) PlufErrorHandlerException: Undefined index: _PX_request in /home/hadi/git/Pluf/src/Pluf/Tenant.php on line 324
The text was updated successfully, but these errors were encountered: