Vgr: v5.0.4 Installation

From Kb_JMY(晉明夷)

Jump to: navigation, search

VtigerCRM v5.0.4 Installation


  • Assumes:
  1. version: "vtigercrm-5.0.4-validation-testbuild-2.tar.gz"
  2. installation directory: "public_html/vgr2"
  3. accessed by: http://vgr2.mysite.org


Contents

Preparation

Check "php.ini" Settings

  • Ref:
  1. forums.vtiger.com: Installation of v5.0.4_testBuild2 -> Fatal error, pls. help!
  2. GreenHost support ticket#119497, 2007/11/26 22:42 -- 主題: Installation of VtigerCRM v5.0.4_testBuild2 -> Fatal error, pls.help!
  • check "php.ini" and make sure that:
  • max_execution_time = 600
  • memory_limit = 32M
-> otherwise you'll find the below Fatal Error in the "database Generation" step
****************************************
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 7864320 bytes) 
in public_html/vgr2/modules/Contacts/contactSeedData.php on line 16404
******************************************* 


Change the file and folder permissions

  • change below files' permissions from "664" -> "777":
  • config.inc.php
  • parent_tabdat.php
  • tabdata.php
  • install.php


  • change below folders' permissions from "775" -> "777":
  • cache/
  • storage/
  • install/
  • user_privileges/
  • Smarty/cache/
  • Smarty/templates_c/
  • modules/Emails/templates/
  • modules/Webmails/tmp/
  • test/wordtemplatedownload/
  • test/product/
  • test/user/
  • test/contact/
  • test/logo/
  • logs/

Installation

  • Ref:


Correcting Chinese Display Problem

  • Ref:
  1. forums.vtiger.com: Chinese support in v5.0.3 but not v5.0.4_TestBuild2 ?
  2. GreenHost support ticket#119497, 2007/11/26 22:42 -- 主題: Installation of VtigerCRM v5.0.4_testBuild2 -> Fatal error, pls.help!


  • make sure that UTF8 support is enabled in database level.


  • Locate the file: public_html/vgr2/include/utils/utils.php
-> then goto line#871 (where the function: "to_html()" is here)
  • Change "global $log;"
to "global $log,$default_charset;" //line no : 871
  • and change "$string = htmlentities($string, ENT_QUOTES);"
to "$string = htmlentities($string, ENT_QUOTES,$default_charset);" //line no : 879
  • That's it!
  • The following has NOT been verified if this actually needed to do so:
  • Change the collation of vtiger's database from "latin1_swedish_ci" to "utf8_general_ci"
-> see LifeType Installation