Current time: 12-23-2024, 04:56 PM Hello There, Guest! (LoginRegister)


Post Reply 
Subdomains for domain-aliases
Author Message
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #71
RE: Subdomains for domain-aliases
you're welcome, good to hear that it works Smile

I use mercurial to manage the patches, it always adds virtual paths "a/" and "b/" which you have to strip using "-p1"
09-30-2008 01:33 AM
Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #72
RE: Subdomains for domain-aliases
Could anyone give me a step-by-step instruction for applying this enhancement on an already installed ispcp? My Operating System is Debian.
I've tried to use instructions from previous posts but it doesn't seem to work.
I would be glad.

Thanks in advance.
10-08-2008 04:29 AM
Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #73
RE: Subdomains for domain-aliases
I have never done it on an already installed ispcp, but it should work like this:

Assuming you have extracted the zip in /tmp:
Code:
cd /var/www/ispcp
patch -p1 < /tmp/alssub.patch
mysql -u root -p ispcp < /tmp/subdomain_alias.sql
Or use phpMyAdmin to import the .sql file.
10-08-2008 07:02 PM
Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #74
RE: Subdomains for domain-aliases
(10-08-2008 07:02 PM)zpin Wrote:  I have never done it on an already installed ispcp, but it should work like this:

Assuming you have extracted the zip in /tmp:
Code:
cd /var/www/ispcp
patch -p1 < /tmp/alssub.patch
mysql -u root -p ispcp < /tmp/subdomain_alias.sql
Or use phpMyAdmin to import the .sql file.

I've received following messages:

can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/engine/Makefile b/engine/Makefile
|--- a/engine/Makefile
|+++ b/engine/Makefile
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
patching file engine/ispcp-alssub-mngr
10-09-2008 06:29 AM
Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #75
RE: Subdomains for domain-aliases
that's ok, this happens when you patch a running ispcp.
10-09-2008 07:25 AM
Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #76
RE: Subdomains for domain-aliases
(10-09-2008 07:25 AM)zpin Wrote:  that's ok, this happens when you patch a running ispcp.

Alright, I've done everything, but I can't find any option to add subdomains for my active domains. I've even rebooted my server. What should I check or do?

Thanks for your help so far.
10-09-2008 07:41 AM
Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #77
RE: Subdomains for domain-aliases
Well, in the usual place for adding subdomains you should now have the possibility to select an alias domain to which you wish to asign it.
10-09-2008 05:55 PM
Find all posts by this user Quote this message in a reply
Cdmar Offline
Junior Member
*

Posts: 20
Joined: Sep 2008
Reputation: 0
Post: #78
RE: Subdomains for domain-aliases
(10-09-2008 05:55 PM)zpin Wrote:  Well, in the usual place for adding subdomains you should now have the possibility to select an alias domain to which you wish to asign it.

Unfortunatelly, there's nothing like that there.
10-10-2008 01:51 AM
Find all posts by this user Quote this message in a reply
zpin Offline
Junior Member
*****
Dev Team

Posts: 160
Joined: Sep 2007
Reputation: 1
Post: #79
RE: Subdomains for domain-aliases
Check if you have
Code:
<option value="{ALS_ID}" {ALS_SELECTED}>.{ALS_NAME}</option>
on line 75 in /var/www/ispcp/gui/themes/omega_original/client/subdomain_add.tpl

If not the patch didn't apply correctly...
10-10-2008 08:29 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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