Current time: 12-22-2024, 10:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
adding/removing sub-domain -> no apache reload
Author Message
pmneo Offline


Posts: 3
Joined: Oct 2011
Reputation: 0
Post: #5
RE: adding/removing sub-domain -> no apache reload
Oh, that's a shame Sad

So ... I am a dev too and I found the bug!

It was in /var/www/ispcp/engine/ispcp-sub-mngr in line 1317:
Code:
    # Update subdomain status or remove entry on delete
    $rs = doSQL($sql); #here is the bug, cause doSQL returns an array now
    return -1 if ($rs != 0);

fixed snip:

Code:
    # Update subdomain status or remove entry on delete
    ($rs) = doSQL($sql); #here is the bug fixed
    return -1 if ($rs != 0);

Greez pmneo
(This post was last modified: 10-12-2011 11:40 PM by pmneo.)
10-12-2011 11:40 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: adding/removing sub-domain -> no apache reload - pmneo - 10-12-2011 11:40 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)