|
Subdomains for domain-aliases
|
| Author |
Message |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
Thank you for the response...when I added this I get the following
ALSMOUNT/
MOUNT POINT/123456
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? LIMIT 1' at line 1
What I added is
$sub_mnt_pt = $als_mnt.$sub_mnt_pt;
$sub_mnt_temp = str_replace('//','/',$sub_mnt_pt);
$sub_mnt_pt = $sub_mnt_temp;
I guess the strange thing it actually says Addition in progress, but nothing is happening I am unable to delete it or force it to finish adding.
This post was last modified: 02-21-2008 03:09 AM by owhosting.
|
|
| 02-20-2008 11:49 PM |
|
 |
zpin
Junior Member

Posts: 64
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
true, I forgot something in my last post. With the updated fix it works, though, I just tested it.
$sub_mnt_pt = str_replace( '//', '/', $sub_mnt_pt );
This is equivalent to what you did. Are you able to create normal subdomains?
|
|
| 02-21-2008 03:28 AM |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
I am trying to create subdomains on an alias account with this patch.
Even with your version i still get
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '? LIMIT 1' at line 1
This post was last modified: 02-21-2008 03:44 AM by owhosting.
|
|
| 02-21-2008 03:39 AM |
|
 |
zpin
Junior Member

Posts: 64
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
Thats odd... Are you using RC3 (rev 987)?
/e: and you are using the patch from post #7?
This post was last modified: 02-21-2008 06:00 AM by zpin.
|
|
| 02-21-2008 05:59 AM |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
Yes
with the last version of patch included in this post
|
|
| 02-21-2008 06:01 AM |
|
 |
zpin
Junior Member

Posts: 64
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
Ok, then we need to find out which query is causing this... Does anyone know how to output more information about such an error?
|
|
| 02-21-2008 06:15 AM |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
I would hope someone does, seems no one wants to touch this one tho
|
|
| 02-21-2008 06:47 AM |
|
 |
zpin
Junior Member

Posts: 64
Group: Registered
Joined: Sep 2007
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
I guess there should be an option for this somewhere... But as long as we don't know that you can add an "echo $query;" in the exec_query and execute_query functions in /var/www/ispcp/gui/include/sql.php. Probably you also have to add a "die();" before the system_message calls, because this redirects to a new page, afair...
|
|
| 02-21-2008 06:54 PM |
|
 |
owhosting
Junior Member

Posts: 32
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
OK Ill give this a try once I wake up a little more and get back to you...thanks!
|
|
| 02-21-2008 09:09 PM |
|
 |
popsikle
Posts: 3
Group: Registered
Joined: Feb 2008
Status:
Offline
Reputation: 0
|
RE: Subdomains for domain-aliases
"SELECT created_by FROM admin WHERE admin_id = ? LIMIT 1; " is the sql its erroring out on.
|
|
| 02-29-2008 06:36 PM |
|
 |
|
|