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 20th January 2012, 16:51
rangerluke rangerluke is offline
Junior Member
 
Join Date: Apr 2011
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default Remote function client_add returns 0

Hello!

I had a problem with the remote-api and the function client_add.
Everytime I called the function, the return value was 0.

In the script /usr/local/ispconfig/interface/lib/classes/remoting.inc.php is a small bug. The lin with
PHP Code:
$insert_id $app->db->insertDB(); 
is coming to late.
The line must be after this one
PHP Code:
$app->db->query($sql); 
Than the returned id is not empty!
Reply With Quote
Sponsored Links
Reply

Bookmarks

Tags
remote client_add

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
error.log is full of notices mod_fcgid 007007 Installation/Configuration 13 8th September 2012 11:29
ISPConfig3 Debian Squeeze Crontab - Log petrichbg Installation/Configuration 5 22nd March 2011 12:25
Need help setting up domainpop with postfix kameelperdza Installation/Configuration 6 15th June 2009 07:49
cyrus-sasl won't install on my ubuntu9.04 kameelperdza Installation/Configuration 1 13th June 2009 10:28
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29


All times are GMT +2. The time now is 06:03.


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