
9th August 2006, 17:58
|
|
Member
|
|
Join Date: May 2006
Location: South Africa
Posts: 85
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
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
|

10th August 2006, 18:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
Did you define $userid and $passwd?
|

10th August 2006, 21:16
|
|
Member
|
|
Join Date: May 2006
Location: South Africa
Posts: 85
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
yes --- they are passed in as parameters to the class constructor.
|

11th August 2006, 18:18
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
|
|
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.
|

11th August 2006, 20:38
|
|
Member
|
|
Join Date: May 2006
Location: South Africa
Posts: 85
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
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?
|

12th August 2006, 12:58
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 Posts
|
|
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.
|

12th August 2006, 23:44
|
|
Member
|
|
Join Date: May 2006
Location: South Africa
Posts: 85
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
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?
|

13th August 2006, 00:18
|
|
Member
|
|
Join Date: May 2006
Location: South Africa
Posts: 85
Thanks: 1
Thanked 2 Times in 2 Posts
|
|
found the problem. I had forgot to change the name of the soapclient constructor to soap_client when I renamed the class.
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 00:54.
|
Recent comments
16 hours 21 min ago
21 hours 37 min ago
21 hours 48 min ago
21 hours 56 min ago
22 hours 58 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 3 hours ago
1 day 3 hours ago
1 day 5 hours ago