Installing vtiger on Dreamhost and Ace-host.net

March 17, 2007 by gregg Leave a reply »

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
Advertisement:

3 Responses

  1. dan says:

    dude it would be great if you can elabourate more on the dreamhost installation. Like explaining the complete steps from a noob point of view.

    also what version and was it source?

  2. gregg says:

    Thanks. Its been a couple years since on DH – a lot has changed in Vtiger and PHP since match 2007 – at the the time it was 5.03rcX running on I think php 5.1. Where exactly is the install failing?

    As a side note, this vtiger code is exactly where my sys admin career took a turn for the serious – that and frustrations with DH – eventually led to my managing my own servers/VPS and now as a sys admin full time developing more code and sys admin skills. Don’t miss the TV too much, learning and tinkering with code is more exciting…

  3. LnddMiles says:

    Pretty cool post. I just stumbled upon your blog and wanted to say
    that I have really liked reading your blog posts. Anyway
    I’ll be subscribing to your blog and I hope you post again soon!

Leave a Reply


Mochabomb is Digg proof thanks to caching by WP Super Cache