|
htaccess problem VHCS Script
|
| Author |
Message |
bkxxl
Junior Member

Posts: 15
Joined: Dec 2007
Reputation: 0
|
htaccess problem VHCS Script
hi at all,
when i run vhcs2-htuser-mngr, the script will send me the following Error Message:
Code:
DEBUG: push_el() sub_name: doSQL(), msg: ERROR: Incorrect SQL Query -> 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 'and
t1.user_id != 0
and
t1.dmn_id = t2.domain_id' at line 22
DEBUG: pop_el() sub_name: doSQL(), msg: ERROR: Incorrect SQL Query -> 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 'and
t1.user_id != 0
and
t1.dmn_id = t2.domain_id' at line 22
OS: Debian Etch
PHP Version: 5.2.0-8+etch7
MySQL Client API: 5.0.32
I have checked the ISPCP Omega htaccess file, but there are the same QRY lines.
Maybe someone has the same error and can help me to fix it.
|
|
| 12-07-2007 05:53 AM |
|
bkxxl
Junior Member

Posts: 15
Joined: Dec 2007
Reputation: 0
|
RE: htaccess problem VHCS Script
Code:
Use of uninitialized value in concatenation (.) or string at ./vhcs2-htuser-mngr line 764.
Information at this line:
Code:
$sql = <<SQL_QUERY;
select
t1.dmn_id,
t2.domain_name,
t1.user_id,
t1.auth_type,
t1.auth_name,
t1.path,
t1.status,
t2.domain_uid,
t2.domain_gid
from
htaccess as t1,
domain as t2
where
t1.id = $main::htuser_task_id
and
t1.user_id != 0
and
t1.dmn_id = t2.domain_id
I have checked the Lines at ISPCP Script and there were the same entries.
Same Error Like: http://isp-control.net/forum/ispcp-htuse...-1731.html
and there were no solve, too.
|
|
| 12-07-2007 03:15 PM |
|
bkxxl
Junior Member

Posts: 15
Joined: Dec 2007
Reputation: 0
|
RE: htaccess problem VHCS Script
ok, but why does i ever geht this message "Wird angelegt, bitte warten..." when i try to add, change or delete some htaccess user, group or area?
|
|
| 12-07-2007 11:43 PM |
|
bkxxl
Junior Member

Posts: 15
Joined: Dec 2007
Reputation: 0
|
RE: htaccess problem VHCS Script
When i run the script with the htaccess user ID as first parameter, it shows me the following error:
./vhcs2-htuser-mngr 17
Quote:Use of uninitialized value in concatenation (.) or string at ./vhcs2-htuser-mngr line 1050.
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Ending...
Use of uninitialized value in concatenation (.) or string at ./vhcs2-htuser-mngr line 1129.
Line 1050:
Quote:$sql = "select uname, upass, dmn_id, status, id from htaccess_users where dmn_id = '".@$htaccess_data[0]."' and status != 'ok' ";
(This post was last modified: 12-15-2007 12:33 AM by bkxxl.)
|
|
| 12-14-2007 11:43 PM |
|
bkxxl
Junior Member

Posts: 15
Joined: Dec 2007
Reputation: 0
|
RE: htaccess problem VHCS Script
I have tested dmn_id and htaccess id.
(This post was last modified: 12-15-2007 01:29 AM by bkxxl.)
|
|
| 12-15-2007 01:18 AM |
|