ispCP - Board - Support
adding/removing sub-domain -> no apache reload - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: adding/removing sub-domain -> no apache reload (/thread-15285.html)



adding/removing sub-domain -> no apache reload - pmneo - 10-10-2011 10:56 PM

Hallo!

I'm trying the 1.1.0 Beta and if i add or remove a sub-domain, the apache2 config isn't reloaded!

If i add or remove a domain, the config will be reoloaded!

I can't find any hints in log ...

if i do a manualy reload in console the domain is reachable!

Thanks for your help pmneo


RE: adding/removing sub-domain -> no apache reload - joximu - 10-12-2011 07:08 PM

hm, it's a beta...

sorry - since there are no more developpers here... it will take time...

maybe open a ticket.... but I'd rather switch to the 1.0.7 or look at shadowjumpers version

/J


RE: adding/removing sub-domain -> no apache reload - pmneo - 10-12-2011 07:16 PM

hu?

Why are there no developers here?

Thanks for your response!


RE: adding/removing sub-domain -> no apache reload - joximu - 10-12-2011 07:19 PM

why?

hm - the so called leaders/founders have no time but also do nothing to keep good devs onboard...

long story...


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

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


RE: adding/removing sub-domain -> no apache reload - joximu - 10-13-2011 08:35 AM

cool - thx - maybe some of the head is reading here, can fix this and release another beta... :-)

/J


RE: adding/removing sub-domain -> no apache reload - Alex Joe - 01-22-2012 08:03 PM

Thank You pmneo, it fix for me this issue!