Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 2nd April 2013, 11:57
jmans jmans is offline
Junior Member
 
Join Date: Apr 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Remoting Classes, bug ?

Hello,

There is a mistake in the class Remoting.
This prevents the "$ client-> dns_zone_get_id ($ session," igigoiejfe.org. ")"
not work!

Here is a patch which I hope to bring good solution.

Code:
cd /tmp
wget http://www.ispconfig.org/downloads/ISPConfig-3-stable.tar.gz
tar xvfz ISPConfig-3-stable.tar.gz

diff -ar -p /tmp/ispconfig3_install/interface/lib/classes/remoting.inc.php /usr/local/ispconfig/interface/lib/classes/remoting.inc.php
*** /tmp/ispconfig3_install/interface/lib/classes/remoting.inc.php      2012-12-04 14:36:35.000000000 +0100
--- /usr/local/ispconfig/interface/lib/classes/remoting.inc.php 2013-04-02 11:40:28.800116179 +0200
*************** class remoting {
*** 2142,2148 ****
              return false;
          }

!         $rec = $app->db->queryOneRecord("SELECT id FROM dns_soa WHERE origin like '".$origin.'%');
          if(isset($rec['id'])) {
              return $app->functions->intval($rec['id']);
          } else {
--- 2142,2148 ----
              return false;
          }

!         $rec = $app->db->queryOneRecord("SELECT id FROM dns_soa WHERE origin like '".$origin."'");
          if(isset($rec['id'])) {
              return $app->functions->intval($rec['id']);
          } else {
Reply With Quote
Sponsored Links
 

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
Server hangs, BUG: Bad page state in process lucani Installation/Configuration 1 6th September 2012 18:50
autosignup remoting framework howto detailed kextra1 Tips/Tricks/Mods 21 1st March 2012 06:59
Keep Remoting User On Upgrade kextra1 Feature Requests 0 29th December 2008 01:07
IspConfig Remoting Framework Installation geoffmerritt Installation/Configuration 1 27th October 2008 08:26
deleting bug in remoting?! please confirm! pchotfix Tips/Tricks/Mods 3 16th June 2008 15:50


All times are GMT +2. The time now is 19:55.


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