I have a 1and1 managed server (I am now regretting not getting a root Linux server but that's besides the point). I recently wanted to install SugarCRM on it and ran into a few problems which I though I would share.
The first problem was getting the database settings right. Due to the way 1and1 set up their servers the hostname for the mysql server is listed as 'localhost:/tmp/mysql5.sock#. This doesn't work when placed into the Sugar interface during the install. You have to manually edit the install.php and index.php files in the Sugar root directory and place the following line of code after the <?php and 'if(!defined('sugarEntry'))define('sugarEntry', true);' line.
ini_set ( 'mysqli.default_socket' , '/tmp/mysql5.sock' );
This will help you get past the database settings page but then after that you are likely to get a bunch of chmod() errors. This is not technically due to the way 1and1 manages their file system and you can get around it by performing this change to the Sugar code...
Change line 196 of the file /include/utils/sugar_file_utils.php to the following: return true; //chmod($filename, $mode);
All of this is stuff I picked up from these forums in one place (and language) or another but I couldn't find the info listed in one place so I am placing it on here. Hope some people find it useful. I am sure it also applies to other hosts other than 1and1 as well.


LinkBack URL
About LinkBacks



Reply With Quote


Bookmarks