vtiger Forum Index vtiger
The Honest Open Source CRM
 

Joomla+ Vtiger: Connection to vtiger failed -- Solution
Click here to go to the original topic
Goto page 1, 2  Next
 
       vtiger Forum Index -> 3rd-Party Extensions
Previous topic :: Next topic  
Author Message
alatak.net



Joined: 12 Jul 2007
Posts: 25

Posted: Thu Jul 12, 2007 9:06 am    Post subject: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

Hi
I am testing Joomla 1.0.12 and Vtiger 5.0.3, got the following error:
Connection to vtiger failed

I dis an installation of Vtiger with only the sources since I already had apache/mysql/PHP.
The library soap client is already in my php.

The problem of the connection failed was a redeclaration of the class soapclient.

In the file vtiger/include/nusoap/nusoap.php
around line 4970:
I put this around the class
Code:

if (!class_exists ('soapclient' )) {
class soapclient {
...
}
}


Looks like it works now.
Back to top  
hashname



Joined: 07 Jun 2007
Posts: 16
Location: Hengelo, Nederland

Posted: Fri Jul 27, 2007 4:49 pm    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

Sorry, but it is wrong nusoap file..
Have to wait a bit(?) longer or have to use J! 1.0.11 until new version of extension.
Back to top  
alatak.net



Joined: 12 Jul 2007
Posts: 25

Posted: Tue Aug 14, 2007 1:17 pm    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

Hi,

Which version shall I use for:
- Joomla
- vTiger
- the Joomla/vTiger files

Thank you
Back to top  
alatak.net



Joined: 12 Jul 2007
Posts: 25

Posted: Wed Aug 15, 2007 3:43 pm    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

Hi,

I have installed the vTiger 5.0.3, and Joomla 1.0.12, and everthing is working now.

The nusoap files are the one included in the package. I didn't change anything.
Back to top  
hashname



Joined: 07 Jun 2007
Posts: 16
Location: Hengelo, Nederland

Posted: Wed Aug 15, 2007 9:18 pm    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

alatak.net wrote: Hi,

I have installed the vTiger 5.0.3, and Joomla 1.0.12, and everthing is working now.

The nusoap files are the one included in the package. I didn't change anything.

Hi Alatak.net,

Wich php version do you use? php4?

greetings,

Bjarne
Back to top  
hashname



Joined: 07 Jun 2007
Posts: 16
Location: Hengelo, Nederland

Posted: Wed Aug 15, 2007 9:21 pm    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

The nusoap file for the LAMP/WAMP package differs from the version that's included in the Linux distro.

Wich version did you use?
Back to top  
alatak.net



Joined: 12 Jul 2007
Posts: 25

Posted: Thu Aug 16, 2007 6:56 am    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

Hi,

I am testing on my MAC
with PHP 5.1.6
with the entropy.ch Release 2

And I am using the linux distribution. of vTiger
Back to top  
hashname



Joined: 07 Jun 2007
Posts: 16
Location: Hengelo, Nederland

Posted: Thu Aug 16, 2007 8:23 am    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

alatak.net wrote: Hi,

I am testing on my MAC
with PHP 5.1.6
with the entropy.ch Release 2

And I am using the linux distribution. of vTiger

ok thanks for your info. I tested it with vtiger 5.0.3, Joomla 1.0.13, Apache2, php5.2.1 on centos using the lamp/wamp package from vtiger.com
I had to use the nusoap.php file from the vtiger linuxdistro and found also the phpclass redeclares error.. fixed that and now everything works fine. Without modifying nusoap it did't work for me.
Back to top  
alatak.net



Joined: 12 Jul 2007
Posts: 25

Posted: Thu Aug 16, 2007 9:42 am    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

Hi,

1. My previous installation with vtiger 5.0.3/Joomla 1.0.12 and PHP 5.1.6. You are right I forgot to say that I had a redeclaration problem too . My solution was: In the file
vtiger directory/include/nusoap/nusoap.php
around line 4970, I put this around the class
Code:
if (!class_exists ('soapclient' )) {
 class soapclient {
  ...
 }
}

and the connection between vTiger and Joomla worked.

2. Since I know that the final installation will be PHP 5.2, I have just installed it on my local computer PHP 5.2.2.
I have done the folowing pacth:
vtigerCRM-5.0.3-PHP5.2-Patch1

And now I have the error: (again)

Connection to vtiger failed


Any ideas??

So can you please tell me which files of the nusoap are you using???
which version ???
Thanks,
Back to top  
hashname



Joined: 07 Jun 2007
Posts: 16
Location: Hengelo, Nederland

Posted: Thu Aug 16, 2007 10:12 am    Post subject: Re: Joomla+ Vtiger: Connection to vtiger failed -- Solution  

I posted an modified nusoap file a couple of weeks ago to the bugtracker here: http://forge.vtiger.com/tracker/index.php?func=detail&aid=103&group_id=12&atid=133

this works for me.
Back to top  
 
       vtiger Forum Index -> 3rd-Party Extensions Goto page 1, 2  Next
Page 1 of 2


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