vtiger Forum Index vtiger
The Honest Open Source CRM
 

Installation from source - config.in.php DB connect line
Click here to go to the original topic

 
       vtiger Forum Index -> Installation 5.x
Previous topic :: Next topic  
Author Message
asknow



Joined: 21 Apr 2008
Posts: 8

Posted: Mon Apr 21, 2008 12:29 pm    Post subject: Installation from source - config.in.php DB connect line  

Hi,

I ran into (and solved) two problems with my installation, and I thought you guys might be interested in my thoughts about them.

I am currently installing vtiger from source and an running into some problems.

Pre
- IIS (on Win server 2003), PHP 5.2.4 and MySQL are already installed and running several web apps succesfully (including MySQL connections to our MySQL DB server).
- I already setup and empty MySQL DB with corresponding user and sufficient rights on the DB server.
- php.ini was configured to match the installation prerequisites.
- IIS has full permissions (since it's a testing environment) on the vtiger installation dir.

Problem
Initially, I ran into two problems:
1) Can't write to config.inc.php, even though IIS has full permissions on that dir (recursively). Workaround was copy-pasting the config.in.php content from the installation screen, paste into config.inc.php manually, and continue the installation. Not gracefully, but it worked.
2) Couldn't connect to database server. Reviewing the error, I learned that the install.php was looking for servername3306 instead of servername:3306.

Solution
Seems like problem numer two is caused by a missing concatenation of the : between server name and portnumber in the config.in.php generated by the install script as an alternative for the auto-generated config.inc.php.

Inserting .":" in line 48 solved the problem:
Code: $dbconfig['db_hostname'] = $dbconfig['db_server'].":".$dbconfig['db_port'];
Is this a bug in the installation.php manual config?

After these problems I did run into some others which I didn't solve yet. I'll post these in another topic.
Best regards,

Remko
Back to top  
asknow



Joined: 21 Apr 2008
Posts: 8

Posted: Mon Apr 21, 2008 1:00 pm    Post subject: Installation from source - config.in.php DB connect line  

After having solved these issues, I'm still experiencing some. See: http://forums.vtiger.com/viewtopic.php?p=64483#64483

Thanks in advance for any help! Best regards,

Remko
Back to top  
 
       vtiger Forum Index -> Installation 5.x
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group