I try to add new contact into vtiger crm. But There is an Error message when creating a contact. {"success":false,"error":{"code":"Record you are trying to access is not found","message":"Record you are trying to access is not found","title":null}} .So please help me to resolve this error.
Error message when creating a contact in vtiger CRM
1.6k Views Asked by Sivabanu At
3
There are 3 best solutions below
0
On
Enable log_sql in config.inc.php file, after that try to create new contact again. Then check the adodb_logsql table for MySQL errors.
$dbconfig['log_sql'] = true;
0
On
Check if your sql_mode conform to vtiger requirements namely "sql_mode = empty"
/usr/sbin/mysqld --verbose --help | grep -A 1 "Default options"
Result is: /etc/my.cnf /etc/mysql/my.cnf ~/.my.cnf
If neeeded, add the following configuration file:
nano /etc/mysql/conf/mysql_vtiger.cnf
[mysqld]
sql_mode = empty
Restart mysql service
sudo service mysql restart
First Enable comments in config.inc.php Like as below
first give file permission from below DIR :
Enable log4php debugging flag in config.performance.php
Instead of
Open log4php.properties file and put below line
Instead of
Then after creating a contact in vtiger CRM and check error logs in \logs\vtigercrm.log or \logs\vtigercrm.log.1 files, It should have been a field twice or you need to Do SQL MODE = ''.