Current time: 11-26-2024, 11:39 AM Hello There, Guest! (LoginRegister)


Post Reply 
Strange error.
Author Message
Helrunar74 Offline
Junior Member
*

Posts: 17
Joined: Dec 2007
Reputation: 0
Post: #3
RE: Strange error.
(08-26-2009 03:32 PM)kilburn Wrote:  [b]
Quote: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

Replace line 529 in file /var/www/ispcp/gui/include/reseller-functions.php from
Code:
$sql_db_current = records_count( 'sql_database', 'domain_id', $user_id);
to
Code:
$sql_db_current = records_count( 'domain_id', 'sql_database', 'domain_id', $user_id);

This works great. Thank you Shy
08-26-2009 06:40 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Strange error. - vall - 08-26-2009, 11:13 AM
RE: Strange error. - kilburn - 08-26-2009, 03:32 PM
RE: Strange error. - Helrunar74 - 08-26-2009 06:40 PM
RE: Strange error. - vall - 08-26-2009, 11:06 PM

Forum Jump:


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