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


Post Reply 
Query was empty problem
Author Message
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #1
Query was empty problem
Hello, i have the same problem described in http://isp-control.net/ispcp/ticket/1865 , where should i look for corrupted data? any suggestion to how to fix it ?
08-22-2009 12:30 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: Query was empty problem
search the forum.
Did you update from an older release?
add the table subdomainaliases (or similar) manually.

/J
08-22-2009 06:50 AM
Visit this user's website Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #3
RE: Query was empty problem
(08-22-2009 06:50 AM)joximu Wrote:  search the forum.
Did you update from an older release?
add the table subdomainaliases (or similar) manually.

/J

Hello,

Thanks for response, i have the table subdomain_alias already there !(was not missing) i have two installations, i did a quick comparison, the tables are all the same (i have some diffrences due to hacks and test i tried on the "other" server, which is running fine)

Yes, i upgraded a while ago to 1.0.0 stable , would it be ok if i upgrade now on a not so well running installation ? i'm trying to hunt it down, i reached
generate_reseller_user_props call in /var/www/ispcp/gui/reseller/index.php ...

edit: the problem is when generate_user_traffic is called for one of the reseller accts (who actually has clients) , commenting that piece out makes things run but with many notices ...


EDIT !!!: i fixed it, table domain_traffic was marked as crashed , repaired by running "repair table domain_traffic ;" from mysql client ; there must be a way to check all tables somehow , myisamchk *.MYI is an option ( i did not try it) ; and one could defenetly list all tables, copy names, create check table statements and check them all ... just in case someone else finds a similar problem ...
is it possible/desired to implement something that can catch and meaningfully report such issue ? if yes, how would it look like/be ? exception handling or something else ?
(This post was last modified: 08-24-2009 06:20 AM by uwe.)
08-24-2009 05:32 AM
Find all posts by this user Quote this message in a reply
William1 Offline


Posts: 1
Joined: Aug 2009
Reputation: 0
Post: #4
Hi,
Dear I'm also facing this trouble. And i wanted a good salutation of this program..!
08-26-2009 08:09 PM
Find all posts by this user Quote this message in a reply
uwe Offline
Junior Member
*

Posts: 68
Joined: Feb 2008
Reputation: 0
Post: #5
RE: Query was empty problem
i'll suggest to get a list of all table names, then using vi, sed or excel sheet create statements like:

check table <table1_name>;
check table <table2_name>;
check table <table3_name>;
check table <table4_name>;
...

and run it in mysql , and take a look at the output ... just in case the reason for the error is that a table is currupted ... maybe its a missing table !

good luck
09-01-2009 11:31 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #6
RE: Query was empty problem
phpMyAdmin is easier...

/J
09-01-2009 11:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
GlendonSheldon Offline
Banned

Posts: 7
Joined: Jun 2010
Post: #7
RE: Query was empty problem
Everybody's comments are right.
__________________________________________________
Cadillac shocks and struts
Chevrolet shocks and struts
Shock absorber
(This post was last modified: 08-25-2010 05:32 PM by GlendonSheldon.)
08-23-2010 11:42 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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