Current time: 05-02-2024, 01:03 PM Hello There, Guest! (LoginRegister)


Post Reply 
Table 'ispcp.domain_id' doesn't exist
Author Message
haj Offline


Posts: 2
Joined: Aug 2009
Reputation: 0
Post: #1
Table 'ispcp.domain_id' doesn't exist
I am having a little problem with ispCP..

I'm running on Debian Lenny, and installed ispCP 1.0.2 using the installation-guide and has tried installing twice.. because I thought I might have messed up during the first install.

After I have been using ispCP a bit, set up a test-reseller and a test-user, it starts to give me this error when trying to switch to the reseller from the admin-login.

Warning: Missing argument 4 for records_count(), called in /var/www/ispcp/gui/include/reseller-functions.php on line 529 and defined in /var/www/ispcp/gui/include/admin-functions.php on line 1005

Notice: Undefined variable: value in /var/www/ispcp/gui/include/admin-functions.php on line 1010

Table 'ispcp.domain_id' doesn't exist

I have tried searching for this error on google and didn't find anything usefull... Any hints on what is wrong?
08-27-2009 08:04 PM
Find all posts by this user Quote this message in a reply
WuChEn Offline
Junior Member
*

Posts: 192
Joined: Feb 2009
Reputation: 2
Post: #2
RE: Table 'ispcp.domain_id' doesn't exist
Open File:

/var/www/ispcp/gui/include/reseller-functions.php

and change line 529

$sql_db_current = records_count( 'sql_database', 'domain_id', $user_id);

to

$sql_db_current = records_count('sqld_id', 'sql_database', 'domain_id', $user_id);

greatz WuChEn
08-27-2009 08:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
haj Offline


Posts: 2
Joined: Aug 2009
Reputation: 0
Post: #3
RE: Table 'ispcp.domain_id' doesn't exist
Nice.. thank you Smile
08-27-2009 08:41 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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