Line 1: |
Line 1: |
− | Welcome to Simone Giustetti's wiki pages.
| + | {{header_en|title=Some VtigerCRM common errors and their solutions| keyword={{Template:keyword_en_vtigercrm}}| description=A selection of common VtigerCRM errors and the respective solutions | link_page=vtigercrm_errori}} |
| | | |
| | | |
− | Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=vtigercrm_errori Italiano]
| + | As a custom module developer for the '''VtigerCRM''' software I incurred in some errors while writing code; my goal here is to describe them as best as possible. I'll provide a brief description for each error: the error message, if available, and the solution to the problem. I'll try to provide even links to the project documentation when needs be. |
− | | + | As a general rule to problem solving I'll suggest to set '''Php''' parameter '''error_reporting''' equal to '''E_ALL''' in order to test code. The '''VtigerCRM''' install program requires production suited parameter values that '''hide useful error messages'''. Parameter settings should be set accordingly to coder needs while development is in progress. |
− | ----
| |
− | | |
− | As a custom module developer for the '''VtigerCrm''' software I incurred in some errors while writing code; my goal here is to describe them as best as possible. I'll provide a brief description for each error: the error message, if available, and the solution to the problem. I'll try to provide even links to the project documentation when needs be. | |
− | As a general rule to problem solving I'll suggest to set '''Php''' parameter '''error_reporting''' equal to '''E_ALL''' in order to test code. The '''VtigerCrm''' install program requires production suited parameter values that '''hide useful error messages'''. Parameter settings should be set accordingly to coder needs while development is in progress. | |
| | | |
| | | |
| == Error "ListView results in a blank screen" == | | == Error "ListView results in a blank screen" == |
− | The issue arises after a module is created recurring to the '''Vtlib''' API, while inserting a new record into the data aware form. Data are saved, but at save completion '''VtigerCrm''' returns a blank screen instead of the usual detail view. The issue is related to the new custom module and does not affect the standard software behavior. | + | The issue arises after a module is created recurring to the '''Vtlib''' API, while inserting a new record into the data aware form. Data are saved, but at save completion '''VtigerCRM''' returns a blank screen instead of the usual detail view. The issue is related to the new custom module and does not affect the standard software behavior. |
| | | |
| : ''Tentative bug diagnosis:'' One out of the '''*.php''' files the module is made of, language and localization files included, ends with a blank line instead of the standard '''"?>" closing tag'''. | | : ''Tentative bug diagnosis:'' One out of the '''*.php''' files the module is made of, language and localization files included, ends with a blank line instead of the standard '''"?>" closing tag'''. |
Line 30: |
Line 26: |
| :::* A '''debugged''' password reset script can be found here: [http://www.giustetti.net/resource/script/vtiger521/ResetPassword.phpfile.gz Updated ResetPassword.phpfile.gz] | | :::* A '''debugged''' password reset script can be found here: [http://www.giustetti.net/resource/script/vtiger521/ResetPassword.phpfile.gz Updated ResetPassword.phpfile.gz] |
| :::* Decompress the archived script: '''gunzip''' ResetPassword.phpfile.gz | | :::* Decompress the archived script: '''gunzip''' ResetPassword.phpfile.gz |
− | :::* Copy the resulting file in '''VtigerCrm''' root directory. | + | :::* Copy the resulting file in '''VtigerCRM''' root directory. |
| :::* Rename file in '''ResetPassword.php''' | | :::* Rename file in '''ResetPassword.php''' |
| :::* Open file '''ResetPassword.php''' with a text editor of choice and update parameter '''$configuredAppKey'''. Set its value equal to the one of parameter '''$application_unique_key''' which can be found in the main configuration file: '''config.inc.php'''. | | :::* Open file '''ResetPassword.php''' with a text editor of choice and update parameter '''$configuredAppKey'''. Set its value equal to the one of parameter '''$application_unique_key''' which can be found in the main configuration file: '''config.inc.php'''. |
Line 74: |
Line 70: |
| | | |
| | | |
− | ----
| + | {{footer_en | link_page=vtigercrm_errori}} |
− | | |
− | Languages: '''English''' - [http://www.giustetti.net/wiki/index.php?title=vtigercrm_errori Italiano]
| |