Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th October 2010, 12:01
hopoo hopoo is offline
Junior Member
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default remote function soap-client-add.php error

Hi all..

I installed ispconfig 3.0.3 version on Ubuntu 10.10 Server.
I am having problem in remote function.
when i execute soap-client-add.php in example directory,
a data record of a client is inserted with empty value.
soap-mailuser-add.php is executed well

This is error.log of apache
-------------------------------------
Undefined index: company_name in /usr/local/ispconfig/interface/lib/classes/remoting_lib.inc.php on line 551
Undefined index: contact_name in /usr/local/ispconfig/interface/lib/classes/remoting_lib.inc.php on line 551
....
-------------------------------------

Please let me know the problem.

Thanks.

Last edited by hopoo; 25th October 2010 at 12:20.
Reply With Quote
Sponsored Links
  #2  
Old 25th October 2010, 12:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

You are using the wrong php error reporting level. Please change the level in php.ini to:

error_reporting = E_ALL & ~E_NOTICE

and restart apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 25th October 2010, 14:36
hopoo hopoo is offline
Junior Member
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

The above apache log was showed because I had changed the loglevel
in [system>server config>server tab]

After I also changed php.ini to error_reporting = E_ALL & ~E_NOTICE
I have same result that a data record of a client is inserted with empty value..

I think, is this maybe a bug of new version 3.0.3.?

Thank Till~~~
Reply With Quote
  #4  
Old 25th October 2010, 14:49
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
Default

And you are sure that you have set the variebles company_name and contact_name with valid values in your remoting script?
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 25th October 2010, 15:02
hopoo hopoo is offline
Junior Member
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
Default

I used ./src/ispconfig3_install/remoting_client/examples/soap-client-add.php.
I set the variable $username/$password in soap_config.php.

I changed only two variable (username/password) in soap-client-add.php
'username' =>'hopoo'
'password' =>'1234567',
and I didn't touch any other variable.

Last edited by hopoo; 25th October 2010 at 15:07.
Reply With Quote
  #6  
Old 26th October 2010, 11:50
hopoo hopoo is offline
Junior Member
 
Join Date: Aug 2010
Posts: 8
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Hi~ all~

I figured out why empty value was inserted in the program
./src/ispconfig3_install/remoting_client/examples/soap-client-add.php.

/usr/local/ispconfig/interface/lib/classes/remoting.inc.php
line 1931 : $params=array_merge($params,$template);
modify : if(is_array($template)) $params=array_merge($params,$template);

because I didn't make any client_template, $template had null value.

Last edited by hopoo; 26th October 2010 at 11:53.
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
Need help setting up domainpop with postfix kameelperdza Installation/Configuration 6 15th June 2009 08:49
Fresh Install on Debian cksrealm Installation/Configuration 12 22nd February 2006 17:14
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 19:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50
Install stop at uuwish, UUDeview SeaWolf Installation/Configuration 6 5th October 2005 00:53


All times are GMT +2. The time now is 05:47.


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