 |
vtiger The Honest Open Source CRM
|
| Previous topic :: Next topic |
| Author |
Message |
brett.hooker
Joined: 11 Oct 2005
Posts: 68
|
| Posted: Thu May 31, 2007 4:21 pm Post subject: Error creating new user |
|
|
Fresh install (no upgrade or sample data).
Create a new user, choosing this user to be an admin, and click save.
Error:
Parse error: syntax error, unexpected ';' in /home/vt503/public_html/crm/user_privileges/user_privileges_4.php on line 13
In reviewing this php file, the following exists:
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'=>'Australian Dollar','currency_code'=>'AUD','currency_symbol'=>'$','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'=>'','address_street'=>'','address_city'=>'','address_state'=>'','address_postalcode'=>'','address_country'=>'','record_id'=>'','record_module'=>'','id'=>'4');
?>
I don't know PHP well enough yet, but is:
Code:
$profileGlobalPermission=;
$profileTabsPermission=;
valid syntax?
[/code] |
|
| Back to top |
|
crouchingtiger
Joined: 06 Oct 2004
Posts: 428
|
| Posted: Thu May 31, 2007 8:31 pm Post subject: Re: Error creating new user |
|
|
Hi brett,
We have tested the admin user creation here in our setup and is working fine.
It will be good if you can send us the steps to reproduce the issue. Also, do the following and send us the log file:
1. Edit the log4php.properties file present under the vtigerCRM Home directory and change line 19 from
log4php.rootLogger=FATAL,A1
to
log4php.rootLogger=DEBUG,A1
Now create a admin user and send us the vtigercrm.log file present under the logs directory
Thanks & Regards,
Don |
|
| Back to top |
|
john95051
Joined: 24 May 2007
Posts: 2
|
| Posted: Sat Jun 02, 2007 6:00 am Post subject: Re: Error creating new user |
|
|
I am having same problem after three installations.
The good thing is I can set the incoming email and works great. Bad news is the outgoing still having problem.
Just a heads up. |
|
| Back to top |
|
brett.hooker
Joined: 11 Oct 2005
Posts: 68
|
| Posted: Mon Jun 04, 2007 3:35 am Post subject: Re: Error creating new user |
|
|
I was using PHP 4.4.6 on this LiquidWeb hosted server. I believe it's quite common for cPanel to be using 4.4.2 or 4.4.6 by default.
I recompiled apache with PHP 5.1.6 and the "create user" error has gone away. |
|
| Back to top |
|
tweakerxp
Joined: 03 Dec 2006
Posts: 22
|
| Posted: Sun Jun 10, 2007 4:20 am Post subject: Re: Error creating new user |
|
|
| Great-I'm getting this now too. After the 5.0.3 "upgrade" hosed my 5.0.2 install, now I realize I can't use vTiger at all. My host gives me PHP 4.4.x and 5.2.x, that's all. Time to find another solution I guess. |
|
| Back to top |
|
| |
|