Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Tips/Tricks/Mods

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #31  
Old 10th October 2007, 11:12
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Please make sure that the server wehere you run the client part has curl compiled into PHP.

And have a look at this thread:

http://www.howtoforge.com/forums/sho...t+HTTP+headers
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #32  
Old 10th October 2007, 16:56
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

It should have curl compiled in as my client php script runs on my server (Version: 2.3.1) and already uses self remoting on it.
I am just changing the server URL to reach my new 2.2.17 server...

And the thread you mentionned shows the same problem as mine, but no real solutions...

Don't you think it could be a problem with ispconfig_soap.obj.php ?
Reply With Quote
  #33  
Old 10th October 2007, 17:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

Quote:
Don't you think it could be a problem with ispconfig_soap.obj.php ?
I dont think so. This file contains the nusoap library which is widely used and not modified for ISPconfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #34  
Old 10th October 2007, 17:44
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

But there is a problem... Could it be in the soap lib included with remoting test package?
In order to use it, I had to rename "soapclient" into "soap_client" because of a conflict with included php soap lib?
Reply With Quote
  #35  
Old 10th October 2007, 17:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,777
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

You can try to use the soap library that comes with your PHP instead of the soap library that is used in the examples. You can use any soap library with the ISPConfig server. Or you disable the soap extension in your php installation.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #36  
Old 10th October 2007, 22:05
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

Still not running
I even tried the latest dev release 2.3.3. And the same problem appears.
Quote:
HTTP Error: no data present after HTTP headers
So I tried to use Soap lib that comes with PHP:
I have this error during soapclient creation:

Quote:
[10-Oct-2007 21:33:16] PHP Warning: SoapClient::__construct(https://www.myserver.com:81/remote/index.php) [<a href='function.--construct'>function.--construct</a>]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
in /var/www/web51/web/test/essai.php on line 4
[10-Oct-2007 21:33:16] PHP Warning: SoapClient::__construct() [<a href='function.--construct'>function.--construct</a>]: I/O warning : failed to load external entity &quot;https://www.myserver.com:81/remote/index.php&quot; in /var/www/web51/web/test/essai.php on line 4
[10-Oct-2007 21:33:16] PHP Fatal error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.myserver.com:81/remote/index.php' in /var/www/web51/web/test/essai.php on line 4
[10-Oct-2007 21:33:16] PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://www.myserver.com:81/remote/index.php' in /var/www/web51/web/test/essai.php:4
Stack trace:
#0 /var/www/web51/web/test/essai.php(4): SoapClient->__construct('https://www.mys...')
#1 {main}
thrown in /var/www/web51/web/test/essai.php on line 4
I don't understand what is happening...
May be I could ask you to make the installation for me (on ubuntu 6.06)?
If you have time to do it, I could pay for your offer "ISPConfig Remote Installation Support"...
Reply With Quote
  #37  
Old 11th October 2007, 06:15
grandpagenocide grandpagenocide is offline
Senior Member
 
Join Date: Jun 2007
Location: Brooklyn, NY
Posts: 308
Thanks: 13
Thanked 43 Times in 29 Posts
Send a message via AIM to grandpagenocide Send a message via MSN to grandpagenocide
Default

krakoukas--
Im having the exact same problem, It is creating the client just fine but not the web or ftp. Please let me know if you find the answer to this issue. And im talking to a couple people who are trying to help me get it running so if i get any posative results ill post it
Reply With Quote
  #38  
Old 11th October 2007, 06:18
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
Default

I have added the edited ispconfig_kunde.lib.php file to the ISPConfig Auto-Signup Script @ http://www.5s7.com/scripts.php

/home/admispconfig/ispconfig/lib/classes/ispconfig_kunde.lib.php

No warrenties. Use at your own risk.

The remoting issue goes something like this: when adding a new kunde, remoting does not create a sys_user which causes adding a website to fail. To check you need to setup a default install run my autosignup script and see if you can get use remoting to create db entries in kunde, sys_user and isp_isp_web without using the edited ispconfig_kunde.lib.php all three database entries and relative nodes need to be statisfied for a customer to signup and immediately register/login and upload their site. Paypal/ecommerce verfication will return true and the script will set things up.

Last edited by Tommahawk; 11th October 2007 at 06:43.
Reply With Quote
The Following User Says Thank You to Tommahawk For This Useful Post:
grandpagenocide (11th October 2007)
  #39  
Old 11th October 2007, 14:09
grandpagenocide grandpagenocide is offline
Senior Member
 
Join Date: Jun 2007
Location: Brooklyn, NY
Posts: 308
Thanks: 13
Thanked 43 Times in 29 Posts
Send a message via AIM to grandpagenocide Send a message via MSN to grandpagenocide
Default

Tommahawk, Thanks alot it works perfect
Reply With Quote
  #40  
Old 13th October 2007, 19:55
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
 
Default

No luck for me (even with your patched ispconfig_kunde.lib.php) ;(
Maybe it's because of my downgrade from 2.3.3 dev to 2.2.17
Or beacuse of too many dirty ispconfig install/remove?

Next monday, I will try to make a clean install following: http://www.howtoforge.com/perfect_setup_ubuntu_6.06 on a newly installed system

Tommahawk, I would like to ask you how do you manage soapclient calls?
From "soap.lib.php" or builtin PHP soap?

As I don't know how to remove builtin PHP soap, I renamed from the client script and "soap.lib.php" "soapclient" into "soap_client". Could you or anybody explains me waht is the best way to use soap?

Many thanks, I hope that my fresh install will work...

PS: grandpagenocide did you used the patched kunde lib?
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
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
admispconfig invalid user johann Installation/Configuration 4 15th January 2009 18:51
Anything I can do against illegal login-requests? schmidtedv Installation/Configuration 17 7th November 2008 09:25
Can't get fail2ban to work. boast Server Operation 2 26th June 2007 00:55
log files cruz Technical 3 15th May 2007 14:35


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


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