![]() |
Strange error. - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: Usage (/forum-34.html) +--- Thread: Strange error. (/thread-7642.html) |
Strange error. - vall - 08-26-2009 11:13 AM Hello to everyone, i just started to use ispCP Omega and it seems that i'm doing something wrong here... i get this strange error everytime i want to switch to a user after i added it ... ==== The user has always the status "Addition in progress" and when i try to restart ispcp_daemon i get "cannot execute binary file" ==== ==== 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 ==== I use the 1.0.2 version. I dont know what is causing it but i get this error "Query was empty" , if someone could point me to the fix i would be very thankfull, regards RE: Strange error. - kilburn - 08-26-2009 03:32 PM Edit: Corrected the destination folder for the daemon binary, which was previously wrong. Quote:The user has always the status "Addition in progress" and when i try to restart ispcp_daemon i get "cannot execute binary file" It looks like that your daemon binary is corrupt for some unknown reason. For now, the best you can do is recompile and install the lastest (trunk) version, which can be done following these steps: Code: apt-get install subversion 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 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); Code: $sql_db_current = records_count( 'domain_id', 'sql_database', 'domain_id', $user_id); Quote:I dont know what is causing it but i get this error "Query was empty" , if someone could point me to the fix i would be very thankfull,Where do you get it? Try searching "query and was and empty"... RE: Strange error. - Helrunar74 - 08-26-2009 06:40 PM (08-26-2009 03:32 PM)kilburn Wrote: [b] This works great. Thank you ![]() RE: Strange error. - vall - 08-26-2009 11:06 PM Thank you for the help, now it seems that all is working great, just going to fine tune the configuration and it should all be ok... |