[Vtigercrm-developers] User privileges error

Manilal K M manilal at ejyothi.com
Sun Jul 26 22:12:58 PDT 2009


I missed one fact:
1. The user is not created in the database and hence I can't edit it.

Quoting ding jianting <dfar2008 at gmail.com>:

> First backup user_privileges_215.php file .
> Then delete user_privileges_215.php and edit the user with userid 215.
>
> On Fri, Jul 24, 2009 at 2:10 PM, Manilal K M <manilal at ejyothi.com> wrote:
>
>> Hello all,
>>   I tried to post this to vtiger forums, but it's not responding,
>> hence posting this to mailing list as it is very much critical for me.
>>
>> I have upgraded our production CRM(vtiger-5.0.4) to vtiger-5.1.0. I am
>> using LDAP authentication and authentication is working fine. But when
>> I created a new user I got the following error message:
>>
>> [code]
>> Parse error: syntax error, unexpected ';' in
>> /home/www/html/vrm/user_privileges/user_privileges_215.php on line 13
>> [/code]
>>
>> Here is the contents of the above file:
>>
>>
>> [code]
>> <?php
>> //This is the access privilege file
>> $is_admin=false;
>> $current_user_roles='';
>> $current_user_parent_role_seq='';
>> $current_user_profiles=array();
>> $profileGlobalPermission=;
>> $profileTabsPermission=;
>> $profileActionPermission=array();
>> $current_user_groups=array();
>> $subordinate_roles=array();
>> $parent_roles=array();
>> $subordinate_roles_users=array();
>>
>> $user_info=array('user_name'=>'','is_admin'=>'','user_password'=>'','confirm_password'=>'','first_name'=>'','last_name'=>'','roleid'=>'','email1'=>'','status'=>'','activity_view'=>'','lead_view'=>'','currency_id'=>'','currency_name'=>'USA,
>>
>> Dollars','currency_code'=>'USD','currency_symbol'=>'&#36;','conv_rate'=>'1.000','hour_format'=>'','end_hour'=>'','start_hour'=>'','title'=>'','phone_work'=>'','department'=>'','phone_mobile'=>'','reports_to_id'=>'','phone_other'=>'','email2'=>'','phone_fax'=>'','yahoo_id'=>'','phone_home'=>'','imagename'=>'','date_format'=>'','signature'=>'','description'=>'','reminder_interval'=>'','internal_mailer'=>'','address_street'=>'','address_city'=>'','address_state'=>'','address_postalcode'=>'','address_country'=>'','asterisk_extension'=>'','use_asterisk'=>'1','accesskey'=>'','record_id'=>'','record_module'=>'','id'=>'215');
>> ?>
>> [/code]
>>
>> It seems the user is not being added to the database. I have also
>> tried to use the SQL authentication, but no luck so far. Can somebody
>> provide some hints?
>>
>> regards
>>
>> --
>> Manilal K M
>> eJyothi Services
>> http://www.ejyothi.com
>>
>> _______________________________________________
>> Reach hundreds of potential candidates - http://jobs.vtiger.com
>>
>

-- 
Manilal K M
eJyothi Services
http://www.ejyothi.com




More information about the vtigercrm-developers mailing list