Archive for the ‘Dreamhost’ Category

Installing vtiger on Dreamhost and Ace-host.net

March 17th, 2007

Dreamhost: Had to try a couple times – here is what worked:

  1. my .htaccess file:

    # use custom php.ini, but not fcgi
    Options +ExecCGI
    AddHandler php5-cgi .php
    Action php5-cgi /cgi-bin/php5.cgi
    
  2. If the install failed with “table creation failed”, then wipe out all tables in db, remove vtiger dir and start over with fresh copy of vtiger dir code. I have a codebase directory where I keep copies of code for deployment.

Ace-host.net: Ace-host.net is running PHP 5.2.x – starting with PHP 5.2, an object cannot be converted to a string anymore – the result though is many scripts that used to work are now broken.

  1. Import the database from a fresh install that was mysqldump’d – import and then config the config.inc.php file

  2. Follow the advice here at the vtiger forum – here are the contents of the entry:

    To fix the DateTime I did this which worked:

    1. In /modules/Calendar/Date.php

      • change class DateTime to class com_vtiger_DateTime

      • Then search and replace new DateTime with new com_vtiger_DateTime, about a dozen places in Date.php
    2. In /modules/Calendar/Appointment.php –same search and replace, two occurrences.
    3. In /include/utils/RecurringType.php — search and replace several times
  3. set up .htaccess to your liking
  • del.icio.us
  • Digg
  • Slashdot
  • Technorati
  • MisterWong
  • Reddit

Mochabomb is Digg proof thanks to caching by WP Super Cache