Page 1 of 1

VTiger

PostPosted: Sat Apr 25, 2009 3:58 am
by Trying
Hi Guys

What is the VTiger URL?

PostPosted: Sat Apr 25, 2009 5:51 am
by Trying
I found the answer but cannot log into VTiger. When I synchronize user I get the following message: Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'vtiger'@'192.168.0.201' (using password: YES) in /var/www/vicidial/vtiger_user.php on line 95
Could not connect: 192.168.0.201|AFFTest|vtiger|vtuser

Also, when I go the http://192.168.0.201/vtigetcrm/index.php I get "File not found".

What am I doing wrong?

I am using ViciBox Server.

Thanks!

PostPosted: Sat Apr 25, 2009 8:20 am
by mflorell
You have to install Vtiger yourself, it is not included yet with the ViciBox distro.

It is rather easy to install and you can read the instructions on how to do it in the VTIGER.txt doc:

mysql
GRANT ALL on vtigercrm504.* TO vtiger@'%' IDENTIFIED BY 'vtuser';
GRANT ALL on vtigercrm504.* TO vtiger@localhost IDENTIFIED BY 'vtuser';
create database vtigercrm504;
quit

cd /usr/local/apache2/htdocs/
wget http://voxel.dl.sourceforge.net/sourcef ... 0.4.tar.gz
gunzip vtigercrm-5.0.4.tar.gz
tar xvf vtigercrm-5.0.4.tar
chmod -R 0777 vtigercrm
cd vtigercrm
ls -l
* in browser go to the following URL: http://ip-address/vtigetcrm/index.php
* enter contact info and click the START button at the bottom of the screen
* in system configuration set the database host to: <ip-address>
* database user/pass: vtiger/vtuser
* database name: vtigercrm504
* change default admin(vtadmin) and standarduser(vtuser) passwords
* click to install vtiger, then follow the on-screen instructions
# patch vtiger to fix issue with user synchronization and add click-to-dial:
cp /usr/src/astguiclient/trunk/extras/Vtiger504_vicidial_005.patch ./
patch -p1 < ./Vtiger504_vicidial_005.patch

PostPosted: Sat Apr 25, 2009 8:25 am
by Trying
Thank you very much Matt!

PostPosted: Sat Apr 25, 2009 9:07 am
by Trying
Sorry about all the newbie questions. Now I get cd: /usr/local/apache2/htdocs/: No such file or directory

PostPosted: Sat Apr 25, 2009 9:44 am
by mflorell
Sorry, didn't change it to fit ViciBox's default web directory. You need to change it to the PATHweb value that is in your /etc/astguiclient.conf file.

PostPosted: Sun Apr 26, 2009 5:23 am
by Trying
Hi

I am just not able to patch Vtiger.

cp /usr/src/astguiclient/extras/Vtiger504_vicidial_005.patch ./ does not work. I get the following message: "cp: cannot stat `/usr/src/astguiclient/trunk/extras/Vtiger504_vicidial_005.patch': No such file or directory"

I checked and there is actually no "trunk" directory under astguiclient, so the path should be /usr/src/astguiclient/extras.

Ok, that worked, but when I run the patch by using "patch -p1 < ./Vtiger504_vicidial_005.patch" I get:

root@Vici1:~# patch -p1 < ./Vtiger504_vicidial_005.patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- ./Smarty/templates/DetailViewFields.tpl 2009-01-26 11:01:37.000000000 -0500
|+++ ./Smarty/templates/DetailViewFields.tpl 2009-01-26 15:03:13.000000000 -0500

What am I missing?

PostPosted: Sun Apr 26, 2009 5:25 am
by Trying
Typo in the previous message. The directory /usr/src/astguiclient/trunk/extras/ does not exist.

PostPosted: Sun Apr 26, 2009 8:39 am
by mflorell
Were you in the installed vtigercrm web directory when you tried to run the patch?

PostPosted: Sun Apr 26, 2009 8:45 am
by Trying
I tried to run it from both root and usr/src/astguiclient/extras

PostPosted: Sun Apr 26, 2009 4:36 pm
by williamconley
I don't think "root" or "extras" are the vTiger web directory. Just guessing.

PostPosted: Mon Apr 27, 2009 2:34 am
by Trying
And I think you are making an extremely good guess.