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
  #21  
Old 29th September 2007, 15:08
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I am going to work on it next week too... I'll post my results
But it seems that it is not possible to ceate a web just after creating a client as the ispconfig batch process is not made.

I am thinking about creating client first, then send a confirmation email where user have to log to a form that creates his web account. This way ispconfig will have time to create everything...
Reply With Quote
Sponsored Links
  #22  
Old 29th September 2007, 17:05
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,075
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

The ISPConfig remoting framework allows it to create a website directly after you created a client. You should have a look at the examples in the remoting framework on the ISPConfog.org downloads page.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #23  
Old 1st October 2007, 16:15
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I have installed ISPConfig-2.2.14
Quote:
cd /usr/src/
wget http://ovh.dl.sourceforge.net/source...-2.2.14.tar.gz
tar xvzf ISPConfig-2.2.14.tar.gz
cd install_ispconfig/

vi compile_aps/compile
Remove directives:
--disable-libxml --disable-dom --disable-xml ${WITH_ZLIB_DIR} --disable-xmlreader --disable-xmlwriter --disable-simplexml

./setup
Then Remoting as seen in forum:
Quote:
cd /usr/src/
wget http://downloads2.ioncube.com/loader...lin_x86.tar.gz
tar xvzf ioncube_loaders_lin_x86.tar.gz
mkdir /home/admispconfig/ispconfig/web/ioncube
cp ioncube/ioncube_loader_lin_5.2.so /home/admispconfig/ispconfig/web/ioncube/
chown -R admispconfig:admispconfig /home/admispconfig/ispconfig/web/ioncube/

Install remoting addon:
http://www.ispconfig.org/downloads/i...t_beta3_os.pkg

Then I am using php source from example.
I had to rename $soapclient in $soap_client in soap.lib.php as it generates a conflict with builtin php soap...

Client is created but not web, and I have errors like:
Quote:
Error client_add: HTTP Error: no data present after HTTP headers.
[01-Oct-2007 16:09:10] PHP Notice: Undefined variable: encoding_headers in /var/www/web51/web/test/soap.lib.php on line 1589
[01-Oct-2007 16:09:10] PHP Notice: Undefined offset: 1 in /var/www/web51/web/test/soap.lib.php on line 1649
Do you see what could be wrong?
Reply With Quote
  #24  
Old 1st October 2007, 23:51
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I think that the problem is about ISPconfig release 2.2.14
I tried the same autosignup on a server running ISPConfig-2.3.1-dev.tar.gz and everything is fine...

What could be the problem with my last install?
Maybe I should install ISPConfig 2.2.17 (remoting is OK on it?)

Last edited by krakoukas; 2nd October 2007 at 00:05.
Reply With Quote
  #25  
Old 2nd October 2007, 00:00
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,075
Thanks: 826
Thanked 5,396 Times in 4,240 Posts
Default

You are using really old versions. First, you should update to the latest ISPConfig version and the latest remoting framework. The Ioncube loader is not needed anymore for a long time.

The errors you reported above are notices and not errors and they are dispaled beccause you enabled notices to be displayed in your php.ini. They do not mean that something went wrong.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #26  
Old 2nd October 2007, 00:23
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

You are right, but as I patched config.lib.php in order to add webdav support to web accounts, I am not migrating so often...

Just a question: In last stable release 2.2.17, should i modify compile options (vi compile_aps/compile) in order to enable remoting?
I am using Ubuntu 6.06, should I use the perfect Howto or any other installation directives?

Thanks
Reply With Quote
  #27  
Old 2nd October 2007, 04:40
Tommahawk Tommahawk is offline
Member
 
Join Date: May 2007
Posts: 70
Thanks: 0
Thanked 10 Times in 5 Posts
Default

From memory. I had to edit some core files to get it to work. It has to do with the procedure not creating a sys user in the database and therefore not being able to create a website. Test the script by creating a dummy user. You should have a new entries in the mysql database for kunde, sys_user & web. More on the issue....

http://www.howtoforge.com/forums/showthread.php?t=14522

Paypal IPN is almost finished and I will release it soon.
Reply With Quote
  #28  
Old 3rd October 2007, 00:03
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I have upgraded to 2.2.17 today. I couldn't succeed in making remoting work on it yet... I just change compile options, and installed remoting plugin + admin user.
Do I lack something?

Tommahawk, I also need Paypal IPN, and will work on it soon. Maybe we could share our effort on it?
Reply With Quote
  #29  
Old 3rd October 2007, 21:43
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
Default

I have now installed again 2.2.17.
In order to use remoting, I have changed the compile options:
Quote:
Remove directives:
--disable-libxml --disable-dom --disable-xml ${WITH_ZLIB_DIR} --disable-xmlreader --disable-xmlwriter --disable-simplexml
I've added the remoting plugin through ispconfig web interface and added admin user/password with full rights (no IP specified)

I removed the previously created ioncube folder (as it is not needed anymore) in /home/admispconfig/ispconfig/web
Before removing it, I had soap catch "Error no data present after HTTP headers" but my client was created. I don't know for the others because of die quitting the script...

Then I activated php log and when I use autosignup.php I have this error:
Quote:
[03-Oct-2007 21:24:35] PHP Catchable fatal error: Object of class soap_fault could not be converted to string in /home/admispconfig/ispconfig/lib/classes/ispconfig_soap.obj.php on line 2000
I saw this thread talking about this error http://www.howtoforge.com/forums/sho...g_soap.obj.php

But I feel lost...
What should I do? Patch ispconfig_soap.obj.php? Install ispconfig from scratch again? Please give me an advice...

Last edited by krakoukas; 3rd October 2007 at 21:46.
Reply With Quote
  #30  
Old 9th October 2007, 23:58
krakoukas krakoukas is offline
Member
 
Join Date: Sep 2006
Location: Paris
Posts: 64
Thanks: 2
Thanked 3 Times in 2 Posts
 
Default

New installation (2.2.17), still the same problem...
Only Client is created and
if($err = $soap_client->getError()) die("Error client_add: ".$err);
returns: Error client_add: HTTP Error: no data present after HTTP headers.

Can someone help me or should I use development version of ISPconfig to be able to use remoting?
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 12:55.


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