VTiger Blog – News, Common Errors & Helpful Tips

vTiger Profile/Permissions does not save the “Modules To Be Shown” properly?

August 7, 2013
vTiger Saving Profile Permissions
Article
You might come across an issue related to saving “Profile Privileges” for each module. It’s a known issue, however it’s not a vTiger bug – it’s a server limitation. If you are a server admin and have access to php.ini, you should check the value of “max_input_vars” and increase it to 1500-2000. By default it’s set to 1000 which is not enough to save vTiger Profile Permissions. If you are not the server admin or are you using shared hosting, you should contact your vTiger hosting provider and ask them to do the same. Hope that helps!

Mail could not be sent to the admin user. Please check the admin emailid/Server settings

August 7, 2013
Mail could not be sent to the admin user. Please check the admin emailid/Server settings
Article
There are a lot of things that can go wrong when setting up the vTiger Outgoing Email Server – it can be as simple as mistype or as complected as firewall blocking the connection or missing PHP extension. Hopefully the steps below will point you to the right direction while troubleshooting the error you are getting. If you are using GMail as your Outgoing Server – follow the guide “Setting up vTiger Outgoing Email Server With GMail“ Make sure that the username/password and the Server Name is correct. Check your email settings or contact your email provider to verify the email server. Verify that your email server does not require SSL connection or any specific port – if it does, add the ssl:// tag or the port using the “GMail as an Outgoing Email Server in vTiger” example. If you are using ssl:// tag – make sure SSL PHP Extension

Setting up vTiger Outgoing Email Server With GMail

August 7, 2013
Setup GMail Outgoing Server in vTiger
Article
Setting up vTiger Outgoing Email Server is easy – if you know how to the details required. Most of the Outgoing Email servers do not require SSL connection or any specific port, however GMail does. In order to setup GMail as an Outgoing Email Server for vTiger – you have to specify the PORT and that it’s authenticating using secure certificate. Here’s the syntax: Server Name: ssl://smtp.gmail.com:465 Username: Your@email.com Password: Your Email Password Requires Authentication: Yes From Email: Your@email.com Note, that it does work the same for GMail and Google Apps Accounts. If you are getting a message “Mail could not be sent to the admin user. Please check the admin emailid/Server settings” – use the troubleshooting steps in this article.  

Activate or Deactivate Comments Section/Block in VTigerCRM

August 6, 2013
Article
Some people find the comments section in vTiger rather annoying, because if you are not using it – it just takes up your valuable screen space. By Default there is no way to disable or enable the comment section on any module. In order to remove or add the comment block you will have to use a custom script which will either activate or deactivate the “ModComments” section.  Let’s say if you would want to remove comments section from Leads views, you would: Download Deactivate Comments for Leads Extract the zip file Place “Leads – Deactivate Comments.php” in your vTiger directory Execute the script – which is to open the file in your browser. If your vTiger URL is ‘http://www.vtiger.com/myvtiger’ then you should open ‘http://www.vtiger.com/myvtiger/Leads – Deactivate Comments.php’ and that will remove the comments section for Leads.   List of scripts to Activate/Deactivate Comments in vTiger: Activate Comments for Contacts Deactivate Comments for

How to set default value for vTiger field?

July 26, 2013
Article
vTiger 5.4 introduced an option to select the default value for most of the fields. To do so, do: Mouse over the “gear” icon on the right upper corner Click “CRM Settings” Under “Studio” section, hit “Module Manager” Click on the wrench(far right side) next to the module you want to add custom field. Click “Layout Editor” Find the field you want to set default value for, click on “Note with a Pen” next to the field. Select the Default value, hit save. Now every time you create a record, it will default to the value selected. If you are on vTiger 5.3 or lower you will not be able to set default values using this method.

Invoice/Quote/Sales Order Default to Service instead of Product.

July 18, 2013
Article
By default when you start Invoice, Quote or Sales Order the item defaults to products. This is not convenient for businesses who are oriented towards services, however there’s a quick tip how to change the first line item to services. We strongly recommend to backup vTiger files and database before doing any changes to code/database. Navigate to “vtigercrm/Smarty/templates/Inventory/ProductDetails.tpl” Go to line 172, the line should be: <img id=”searchIcon1″ title=”Products” src=”{‘products.gif‘|@vtiger_imageurl:$THEME}” style=”cursor: pointer;” align=”absmiddle” onclick=”productPickList(this,’{$MODULE}’,1)” /> Change it to: <img id=”searchIcon1″ title=”Services” src=”{‘services.gif‘|@vtiger_imageurl:$THEME}” style=”cursor: pointer;” align=”absmiddle” onclick=”servicePickList(this,’{$MODULE}’,1)” /> Save files and you are set.

Add “Last Modified By” Field

July 18, 2013
Article
By default the “Last Modified By” field is hidden in vTiger, however all the functionality and the actual field is there. In order to unhide it you will have modify the database. We strongly recommend to backup vTiger files and database before doing any changes to code/database. You will need to run the query below: UPDATE vtiger_field SET presence=’0′, displaytype=’1′ WHERE fieldlabel=’Last Modified By’ AND columnname=’modifiedby’ AND tablename=’vtiger_crmentity’; Note, this query will enable Last Modified By field for ALL the modules, if you wan’t to enable it for just one module you will have to add “AND tabid=’Tab ID goes here’”; You will have to lookup tabid for the specific module in vtiger_tab.

Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 893, 1919, 1991

July 18, 2013
Article
The errors below most likely are caused by the PHP5.3, you might get something like below if you upgrade to PHP5.3 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 893 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 1919 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb.inc.php on line 1991 Two things you can try: Add ini_set(‘display_errors’,0); error_reporting(0); to index.php in vtigercrm root directory. This will suppress the errors. Go to the lines 893, 1919, 1991 and replace “=&” with “=” (removed &). It should fix the errors. Note, only do #2 if #1 does not work.

Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 70, 71, 72

July 18, 2013
Article
The errors below most likely are caused by the PHP5.3, you might get something like below if you upgrade to PHP5.3 Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 70 Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 71 Deprecated: Function session_unregister() is deprecated in /modules/Users/Authenticate.php on line 72 In order to fix it, you will need to replace lines 70,71,72 from: session_unregister(‘login_password’); session_unregister(‘login_error’); session_unregister(‘login_user_name’); To: unset($_SESSION[‘login_password’]); unset($_SESSION[‘login_error’]); unset($_SESSION[‘login_user_name’]);

Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb-xmlschema.inc.php on line 373, 385

July 18, 2013
Article
The errors below most likely are caused by the PHP5.3, you might get something like below if you upgrade to PHP5.3 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb-xmlschema.inc.php on line 373 Deprecated: Assigning the return value of new by reference is deprecated in /adodb/adodb-xmlschema.inc.php on line 385 Add ini_set(‘display_errors’,0); error_reporting(0); to index.php in vtigercrm root directory. This will suppress the errors. Go to the lines 373, 385 and replace “=&” with “=” (removed &). It should fix the errors.

Module name is missing. Please check the module name

July 18, 2013
Article
You have installed vTiger 5.x and once you login you get a message “Module name is missing. Please check the module name.” If it’s a fresh install, most likely the $root_directory variable in config.inc.php is not set properly. In order to set it, do: Go to folder vtigercrm/ Open config.inc.php file Find $root_directory variable and make sure, your vTiger CRM path is correct. Once verified, try again, if it still doesn’t work do: Add “/” at the end of the path, for example: /home/content/98/html/demo/ Try again, if it still doesn’t work try: Add “/” at the beginning of the path (if it does not exist)

vTiger Open Source 6.0 Beta Released

July 14, 2013
Article
Finally vTigerCRM 6 Beta have been released. It’s not fully functional yet, there are some modules missing as well as some new modules that did not exist in vTigerCRM 5.4 such as Google Calendar & Contact Sync. Since it’s just Beta version, you can not upgrade from 5.4 yet and it’s only for testing and bug reporting purposes. The RC/Stable is scheduled to be released September or October, however the schedule might change. Vtiger 6.0 Beta: Installation Files | Installation Manual | Developer Manual

vTiger 5.4.0 Security Patch Released

March 26, 2013
Article
vTiger team has released a security patch which will help prevent the Local File Inclusion, Local File Deletion, SQL Injection, PHP Code Injection, Cross site scripting, Arbitrary File Upload, Authentication Bypass vulnerabilities(SOAP API’s). You can download the patch from SourceForge or Office vTiger Link. Make sure you always backup  your files and the database.  To apply the security patch, simply overwrite the files in /vtigercrm/ directory. Feel free to contact us if you need help apply the patch.