Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th August 2006, 16:58
mxc mxc is offline
Member
 
Join Date: May 2006
Location: South Africa
Posts: 91
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via Skype™ to mxc
Default Remote access --Error: no transport found

Hi all,

I am testing out the remoting framework. I get the error

Error: no transport found, or selected transport is not yet supported!

When I do

$server_url = "https://".$this->server_ip.":81";
$this->soap_client = new soap_client($server_url.'/remote/index.php');
$parameters = array('user' => $userid,
'pass' => $passwd);
$this->session_id =$this->soap_client->call('login',$parameters);


I have recompiled ispconfig with php including --with-curl and removed all the disable xml options. What am I missing?


thanks
Reply With Quote
Sponsored Links
  #2  
Old 10th August 2006, 17:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Did you define $userid and $passwd?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 10th August 2006, 20:16
mxc mxc is offline
Member
 
Join Date: May 2006
Location: South Africa
Posts: 91
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via Skype™ to mxc
Default

yes --- they are passed in as parameters to the class constructor.
Reply With Quote
  #4  
Old 11th August 2006, 17:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Which PHP version do you use? PHP 5.1 comes with its own SOAP extension that is not compatible with the one from the remoting framework, so you'd have to disable PHP's SOAP extension in your php.ini.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 11th August 2006, 19:38
mxc mxc is offline
Member
 
Join Date: May 2006
Location: South Africa
Posts: 91
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via Skype™ to mxc
Default

I am using 5.1.4. I did get an error about the class soapclient being redefined but I assumed it was a typo and change the class name to soap_client. Will the remoting framework work with 5.1.4?
Reply With Quote
  #6  
Old 12th August 2006, 11:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,972
Thanks: 825
Thanked 5,367 Times in 4,214 Posts
Default

Quote:
Originally Posted by mxc
I am using 5.1.4. I did get an error about the class soapclient being redefined but I assumed it was a typo and change the class name to soap_client. Will the remoting framework work with 5.1.4?
I've not tested it with 5.1.4, but I geuess it will work.

You can either use the soap libarary that we provide, then you will have to remove the soap extension in your php.ini and undo the renaming of the class. Or you use the soap extension that comes wth the latest PHP versions and do not use the soap library that we provide together with the remoting examples.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #7  
Old 12th August 2006, 22:44
mxc mxc is offline
Member
 
Join Date: May 2006
Location: South Africa
Posts: 91
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via Skype™ to mxc
Default

I have run debian in vmware player with php4 and i still get the same error.

Could it be the security certificate not being valid?
Reply With Quote
  #8  
Old 12th August 2006, 23:18
mxc mxc is offline
Member
 
Join Date: May 2006
Location: South Africa
Posts: 91
Thanks: 1
Thanked 2 Times in 2 Posts
Send a message via Skype™ to mxc
 
Default

found the problem. I had forgot to change the name of the soapclient constructor to soap_client when I renamed the class.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help on /etc/rc0.d/K20dnsctl -> ../init.d/dnsctl zimele General 13 23rd August 2006 16:06
configuring IPTABLES firewall adityavpratap HOWTO-Related Questions 9 27th May 2006 21:42
Having Problems with KWiFiManager sbovisjb1 Installation/Configuration 7 17th April 2006 22:53
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
ISPC install stops str2etboy Installation/Configuration 19 28th January 2006 07:18


All times are GMT +2. The time now is 10:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.